zeroclaw/.github/workflows/scripts
jordanthejet 5dfa722738 ci: consolidate CI/CD pipeline — 6 Rust jobs → 2, unified cache, frequency optimization
Consolidate redundant Rust compilation jobs to cut PR cycle time from 2+ hours
to ~30 minutes by reducing parallel cold compilations and upgrading runners.

CI Run (ci-run.yml):
- Merge lint + workspace-check + package-check → quality-gate (25min, 8vcpu)
- Merge test + build → test-and-build (30min, 8vcpu)
- Unify cache keys: prefix-key=zeroclaw-ci-v1, shared-key=runner.os-rust
- Update ci-required gate, lint-feedback deps to reference new job names

Security Audit (sec-audit.yml):
- Merge audit + deny + security-regressions → rust-security (25min, 8vcpu)
- Merge sbom + unsafe-debt → compliance (lightweight runner)
- Add fast-path: non-Rust PRs skip Rust compilation entirely

Frequency optimization (off PR path):
- sec-codeql.yml: push-to-main + weekly only (was PR + push)
- ci-reproducible-build.yml: push-to-main + weekly only (was PR + push)
- ci-change-audit.yml: push-to-main only (was PR + push)

Runner upgrades:
- All Rust compilation jobs: 2vcpu → blacksmith-8vcpu-ubuntu-2404
- ci-supply-chain-provenance, test-fuzz: upgraded to 8vcpu
- test-e2e: upgraded to 8vcpu, fixed env indentation bug

Feature matrix (feature-matrix.yml):
- Non-default lanes (whatsapp-web, browser-native, nightly-all-features)
  skip on compile profile, run on nightly only
- resolve-profile + summary jobs use ubuntu-latest (no Rust compilation)

Docs/scripts:
- lint_feedback.js: update job name references for quality-gate
- required-check-mapping.md: document new consolidated job names
- ci-map.md: update trigger map, triage guide, maintenance rules
- self-hosted-runner-remediation.md: update job name reference

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 15:51:07 -05:00
..
ci_human_review_guard.js chore: promote dev snapshot to main (resolve #1978/#1970) 2026-02-26 21:09:33 -05:00
ci_license_file_owner_guard.js chore(release): promote dev to main for v0.1.5 (#1325) 2026-02-21 21:14:34 -05:00
lint_feedback.js ci: consolidate CI/CD pipeline — 6 Rust jobs → 2, unified cache, frequency optimization 2026-03-05 15:51:07 -05:00
pr_auto_response_contributor_tier.js fix(workflow): align first-interaction input keys (#821) 2026-02-18 22:24:51 +08:00
pr_auto_response_labeled_routes.js chore(ci): externalize workflow scripts and relocate main flow doc (#722) 2026-02-17 19:48:37 -05:00
pr_check_status_nudge.js chore(ci): externalize workflow scripts and relocate main flow doc (#722) 2026-02-17 19:48:37 -05:00
pr_intake_checks.js chore: remove Linear and Hetzner integrations (replay #2809) 2026-03-05 02:17:32 -05:00
pr_labeler.js feat(providers): add Novita AI as OpenAI-compatible provider (#1496) 2026-02-23 07:58:49 -05:00
test_benchmarks_pr_comment.js chore(ci): externalize workflow scripts and relocate main flow doc (#722) 2026-02-17 19:48:37 -05:00