Skip to content

ci: consolidate workflows and parallelize CI pipeline#29

Merged
miguelgila merged 2 commits intomainfrom
speed-up-CI
Mar 4, 2026
Merged

ci: consolidate workflows and parallelize CI pipeline#29
miguelgila merged 2 commits intomainfrom
speed-up-CI

Conversation

@miguelgila
Copy link
Owner

@miguelgila miguelgila commented Mar 3, 2026

Summary

  • Merge test.yml, build.yml, and integration.yml into a single ci.yml workflow with 8 jobs
  • fmt, clippy, audit, cargo-test, coverage, build-musl, playground-release all run in parallel
  • kind-integration downloads pre-built musl artifacts instead of compiling twice
  • Replace sleep 30 stability buffer with a functional Reaper pod readiness probe
  • Upgrade actions to v4, use Swatinem/rust-cache@v2 for simpler caching
  • Pass --skip-build to setup/agent scripts in CI when binaries are pre-built

Test plan

  • Verify fmt, clippy, audit, cargo-test, build-musl all start in parallel
  • Verify kind-integration starts only after build-musl completes
  • Verify kind-integration does NOT run musl compilation (no messense/rust-musl-cross in logs)
  • Verify all K8s integration tests pass
  • Verify local ./scripts/run-integration-tests.sh still works (no CI env var = full build)

🤖 Generated with Claude Code

Merge test.yml, build.yml, and integration.yml into a single ci.yml
workflow. Jobs run in parallel (fmt, clippy, audit, cargo-test, coverage,
build-musl, playground-release) with kind-integration waiting only on
build-musl artifacts. This eliminates redundant builds, shares musl
binaries via artifacts, and replaces the 30s sleep with a functional
readiness probe.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Mar 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.83%. Comparing base (cac7fef) to head (c862339).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #29   +/-   ##
=======================================
  Coverage   86.83%   86.83%           
=======================================
  Files           6        6           
  Lines         319      319           
=======================================
  Hits          277      277           
  Misses         42       42           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The repo rulesets require "Build and Cache" and "kind-integration" but
the consolidated workflow used "Build musl binaries" and "Kind
Integration Tests", causing PR checks to stay pending.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@miguelgila miguelgila merged commit fa2f4a3 into main Mar 4, 2026
8 checks passed
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.

1 participant