ci: remove TS CI / Success aggregate gate job#12466
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe ChangesCI Workflow Cleanup
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR Summary by QodoCI: remove TS CI success aggregate gate job Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1. Missing TS CI gate
|
| node_major: ${{ matrix.node_major }} | ||
| platform: ${{ matrix.platform }} | ||
|
|
||
| # Single aggregate gate — the only TS CI context branch protection needs |
There was a problem hiding this comment.
1. Missing ts ci gate 🐞 Bug ☼ Reliability
The PR deletes the success aggregate job, so the TS CI / Success check context no longer exists and any branch protection rule that still requires it will keep PRs unmergeable. Without an always-running, static-named gate, requiring individual TS CI job/matrix contexts is also brittle when jobs can skip or the test matrix changes shape across refs.
Agent Prompt
### Issue description
This PR removes the `success` aggregate gate job from `.github/workflows/ci.yml`. If branch protection still requires the `TS CI / Success` status context, PRs will remain blocked because that context will never be reported.
Additionally, this repo already documents (in Rust CI) that requiring individual job/matrix contexts is brittle when jobs skip or the matrix changes shape; TS CI still has skip/matrix-shape variability, so a stable always-running gate (or a carefully chosen stable required-check strategy) is needed.
### Issue Context
- TS CI now only defines `compile-and-lint`, `test-smoke`, and `test` jobs, with `compile-and-lint` conditionally skipped and `test` using ref-dependent excludes.
- Rust CI keeps a `success` gate explicitly to avoid branch-protection brittleness when jobs skip/matrix contexts may not appear.
### Fix Focus Areas
- .github/workflows/ci.yml[8-86]
- .github/workflows/pacquet-ci.yml[403-410]
### Suggested fix options
Pick one:
1) **Re-introduce a TS aggregate gate** (recommended if you want a single required context): add an always-running job (static name) that `needs` the TS jobs and fails when any needed job failed/cancelled.
2) **If intentionally removing the gate**, ensure branch protection is updated to require only check contexts that are guaranteed to be reported in all relevant scenarios (avoid relying on contexts that can be skipped or vary with matrix shape/ref).
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Removes the
successaggregate gate job from the TS CI workflow, along with its comment block and the now-stale "KEEP IN SYNC with thesuccessjob" note oncompile-and-lint.Warning
If
TS CI / Successis currently a required status check in branch protection, removing it will block merges (GitHub waits indefinitely for a context that never reports). Branch protection needs to be updated to require the actual jobs (e.g.TS CI / Compile & Lint,TS CI / Test / *) or drop the requirement.Written by an agent (Claude Code, claude-opus-4-8).
Summary by CodeRabbit