Repository navigation
ci(OMN-12477): remove hotfix/* bypass from main-target-guard (dev-only promotion) - #1797
Conversation
|
Warning Review limit reached
More reviews will be available in 28 minutes and 54 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
CI triage update for
Local validation:
New check run is queued/in progress on head |
|
Manual foreground tick: sidecar read-only classification found setup/transport/platform failures only. CodeQL log fetch returned Actions BlobNotFound; reject-skip cancelled during checkout fetch; CI Summary failed because children were cancelled after dependency/download setup. Reran workflows 26699850863, 26699850859, and 26699850834. |
Main now accepts only dev promotion PRs (with promotion-receipt: OCC-N). Deletes the hotfix/* allow-block and updates error messaging to drop hotfix references. OMN-12477
Empty commit to mint a fresh CI run. Prior attempt (run 26699850859, attempt 4) stalled in 'queued' with cancelled jobs due to runner-transport flakiness (curl 52 empty reply, action-download HttpClient timeout, uv sync network retries) — the exact class this PR's retry hardening targets. No content change. OMN-12477
0d5b9b1 to
7bac07e
Compare
Pull request was converted to draft
…ly-main-guard # Conflicts: # .github/workflows/ci.yml
|
Worker Z merge-sweep update (2026-06-01)
|
OMN-12477: Enforce dev-only promotion to main — remove
hotfix/*bypassRemoves the
hotfix/*allow-block from themain-target-guardso thatmainaccepts only promotion PRs (head ref
dev/promotion/*carrying apromotion-receipt: OCC-Nline). The dev/promotion happy-path and itspromotion-receipt requirement are unchanged.
Why
The guard previously let
hotfix/*branches merge directly to main on the merepresence of
hotfix-evidence: OCC-N+backmerge: #Ntext — it never verifiedthe back-merge actually landed, so dev fell behind main (drift in every repo,
verified 2026-05-30). Pure dev-only flow eliminates the drift class.
Change
if [[ "${HEAD_REF}" == hotfix/* ]]; then ... fiblock.dod_evidence
omniclaude/tests/workflows/test_main_target_guard.pyexecutes the guard shelllogic and asserts a
hotfix/*-headed PR to main is rejected while adevpromotion PR with a receipt is still allowed (the happy path is preserved).
actionlintclean on every edited workflow.This PR targets dev to dogfood the policy. Do not merge until the team-lead
verifies via
gh pr checks.OMN-12477
Evidence-Source: OCC#1921
Evidence-Ticket: OMN-12477