Repository navigation
ci: drop trunk gating and the merge-train snippet (back to per-PR CI) - #551
Conversation
The merge train is cloud-only now. Reverts this repo's rollout commits (5ad7773 ef5ecfc a3944f0 edefd7c): job-level trunk gates, trunk-guard.yml, and the @agent-relay/merge-train-snippet block in AGENTS.md (plus its lock entry). CI runs on every pull request and on pushes to main again. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
💤 Files with no reviewable changes (5)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe pull request removes branch and repository conditions from several workflow jobs. It also removes the trunk-guard workflow and the related merge-train instructions from ChangesPull request workflow gating
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The restored per-PR checks have no identified blocker. Fork PRs will run CI and Contract checks, while provider evals remain restricted to same-repository PRs. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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. A rabbit checks the workflow gate Comment |
|
|
||
| jobs: | ||
| evals: | ||
| if: (github.event_name != 'pull_request' && github.event_name != 'pull_request_target') || (github.head_ref == 'trunk' && github.event.pull_request.head.repo.full_name == github.repository && github.base_ref == 'main') |
There was a problem hiding this comment.
There was a problem hiding this comment.
Not valid for this workflow. relayfile-evals.yml triggers on pull_request, not pull_request_target, and this repo is public. GitHub always gives a fork's pull_request run a read-only GITHUB_TOKEN and no secrets, whatever permissions: declares, so pull-requests: write only applies to same-repo PRs and pushes. This PR also only restores the pre-rollout job definition by removing the trunk gate line; nothing else in the workflow changes.
Relayfile Eval ReviewRun: Passed: 4 | Needs human: 0 | Reviewable: 0 | Missing output: 0 | Failed: 0 | Skipped: 0 Human Review CasesNo reviewable human-review cases captured Relayfile output. |
Khaliq's decision: the merge train is now cloud-only, so this repo goes back to normal per-PR CI on
main.Changes
This reverts this repo's rollout commits (5ad7773 ef5ecfc a3944f0 edefd7c):
if:trunk gates: removed, so CI runs on every pull request and on pushes to main again, as before the rollout..github/workflows/trunk-guard.yml: deleted. It would fail any non-trunk PR into main, this one included.@agent-relay/merge-train-snippetblock is removed fromAGENTS.md, along with itsprpm.lockentry.CLAUDE.mdchanges only where it's a regular file that carried the snippet; symlinkedCLAUDE.mdfiles are untouched.The merge-train port that was merged into
trunkwas never promoted, so it's discarded withtrunk. Open PRs intotrunkget retargeted tomainafter this merges.Verification
CI can't run before merge: main's trunk gates only run CI for trunk heads. Checked locally instead:
trunk-guard,head_ref == 'trunk'ormerge-trainoutside docs.Push CI on main after merge exercises the restored workflows.
🤖 Generated with Claude Code
Note
Low Risk
Changes only GitHub Actions workflows and agent documentation; no runtime, auth, or data-path code.
Overview
Restores standard per-PR CI by removing the merge-train rollout: every job in
ci.yml,contract.yml, andrelayfile-evals.ymlno longer has theif:guard that limited runs to this repo’strunk→mainPR (or non-PR events).The
Trunk guardworkflow (.github/workflows/trunk-guard.yml) is deleted, so PRs intomainare no longer blocked unless the head branch istrunk.Agent docs are aligned with cloud-only merge train: the
@agent-relay/merge-train-snippetsection is removed fromAGENTS.md, and its entry is dropped fromprpm.lock(with an updated lockgeneratedtimestamp).Reviewed by Cursor Bugbot for commit 558270e. Bugbot is set up for automated code reviews on this repo. Configure here.
Agent Relay sessions
claudesessiona19d0f6e· opened viagh pr create· last active 2026-10-09