Skip to content

Conversation

@jserv
Copy link
Contributor

@jserv jserv commented Nov 7, 2025

This improves GitHub Actions workflows:

  • Add reliable-download.sh wrapper with automatic retry logic and atomic file operations for all network downloads
  • Add concurrency control to prevent duplicate workflow runs
  • Improve error handling in test loops with explicit failure messages
  • Replace inconsistent wget/curl calls with centralized wrapper
  • Increase network timeout values (30s connect, 60s read)
  • Download wrapper prefers curl, falls back to wget
  • Implements atomic downloads with PID-based temp files
  • Adds command existence validation before execution
  • Includes trap handlers for cleanup on cancellation

Summary by cubic

Improves CI reliability and consistency by adding a robust download wrapper and enforcing workflow concurrency. Reduces flaky network steps, duplicate runs, and noisy failures across jobs.

  • New Features

    • Added .ci/fetch.sh with automatic retries, 30s connect and 60s read timeouts, and atomic writes.
    • Prefers curl and falls back to wget; validates command availability and cleans partial files via traps.
    • Clear logging and quiet mode for predictable output.
  • Refactors

    • Replaced all ad-hoc wget/curl calls with the wrapper.
    • Added concurrency groups with cancel-in-progress to prevent duplicate runs; deployments avoid cancellation.
    • Consolidated build/test variants into loops with explicit failure messages.
    • Added caching for LLVM/toolchain and build artifacts to cut network requests.
    • Standardized runners to ubuntu-24.04 and set job timeouts across workflows.
    • Disabled JIT in emcc builds to stabilize wasm jobs.

Written for commit d85d0ed. Summary will update automatically on new commits.

cubic-dev-ai[bot]

This comment was marked as resolved.

@jserv jserv force-pushed the refine-cicd branch 6 times, most recently from f02b65c to 0dbf8d2 Compare November 7, 2025 22:26
This improves GitHub Actions workflows:
- Add fetch.sh wrapper with automatic retry logic and atomic file ops
  for all network downloads
- Standardize Ubuntu versions to 24.04 across all workflows
- Add concurrency control to prevent duplicate workflow runs
- Improve error handling in test loops with explicit failure messages
- Enhance LLVM cache strategy with versioning and restore-keys
- Replace inconsistent wget/curl calls with centralized wrapper
- Increase network timeout values (30s connect, 60s read)
@jserv jserv merged commit 966e5c1 into master Nov 7, 2025
20 of 24 checks passed
@jserv jserv deleted the refine-cicd branch November 7, 2025 23:34
@jserv jserv added this to the release-2025.2 milestone Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants