Skip to content

Decide the unreviewed-merge posture: advisory-green lane satisfied every merge surface on a day with zero completed reviews #468

Closed

Description

@kyle-sexton

Decision needed

When the code-review lane attempts a review and infrastructure kills it (2026-08-13: instant 429s on every attempt for ~3 hours), the check concludes success, and a PR can merge looking reviewed when no review happened. The same day also showed the second silent shape: a superseded-head retirement (dotfiles #469, #470) reviews nothing, posts nothing, and — because the canonical caller omits synchronize — the new head is never reviewed unless an operator intervenes. Net for 2026-08-13: zero completed Claude code reviews across every dotfiles PR merged that day, with every merge surface green.

This is not a bug: the advisory-green posture is deliberate and recorded in at least three places — claude-review.yml ("continue-on-error keeps ... from showing as a red check"), the aggregator header ("the lanes are advisory by contract"), and github-iac (security-review-gate Enforcement = "disabled", #282; ADR 0007). But the posture was chosen to keep a flaky lane from blocking merges; yesterday demonstrated its cost when the lane is down for hours: the false-green is indistinguishable from a reviewed PR at every machine-readable surface.

Options (argued)

  1. Keep advisory-green; consume the verdict outputs (recommended). feat(claude-review): declare the lane's execution verdict as workflow outputs #465 declares review-ran / review-failed / failure-class as workflow_call outputs. The sync-managed caller component (standards) can grow a downstream job — or babysit/merge tooling a check — that reads review-ran != 'true' and surfaces "UNREVIEWED" visibly but non-blockingly (e.g. a name-stable neutral summary job, or babysit-prs refusing its merge step). Preserves the documented contract; makes the gap machine-readable at the decision point; blocks nothing during an outage. Cost: someone/something must actually consume it.
  2. Fail the job on review-failed == 'true' (truthful red). Honest, simple, and — since claude-review is not in any ruleset's required checks — does not block merge at the platform level. Cost: reverses the recorded advisory contract (workflow comments, aggregator header, tests that pin green-on-failure semantics); converts an org-wide credential outage into a wall of red across every open PR; any tooling that treats "all checks green" as merge-ready (babysit lanes, morning-brief merge-ready lists) soft-blocks on an unclearable transient, which is precisely the trade-off feat(workflows): paths-file input for the security lane + Phase 2 close-out #282/ADR 0007 rejected.
  3. Make review execution a required check (blocking). The security lane already has the fail-closed execution-evidence pattern (ci(claude-security-review): infra-failed review reports success and satisfies a required context, authorizing merge without a security pass #266, claude-security-review: action-side workflow-validation skip yields a green required check with no review performed #345). Doing the same for code review means no PR merges while the seat is exhausted — for a solo-operator org whose interactive usage causes the exhaustion, that blocks all merging exactly during peak work. Rejected by prior ADR; would also be a github-iac (Pulumi) change, never a UI/gh change.

Recommendation: option 1, plus the aggregator storm escalation (separate issue) for fleet visibility, plus a decision on the superseded-head shape — either accept it as recorded cadence economy, or have the marker-comment composite post a "head moved after the review event; this head was not reviewed" notice so the silence at least leaves a trace.

Non-goals

  • No weakening of any existing gate.
  • Codex connector reliability is tracked separately (dotfiles) — its trigger config lives outside GitHub entirely.

Activity

  1. added
    needs-triage
    on Aug 14, 2026
  2. kyle-sexton commented on Aug 14, 2026

    @kyle-sexton
    MemberAuthor

    Cross-links: aggregator blind spot is #466; quota root cause is #467; verdict outputs (option 1's enabler) are #464 / PR #465; Codex-connector half is melodic-software/dotfiles#480.

  3. kyle-sexton commented on Aug 14, 2026

    @kyle-sexton
    MemberAuthor

    Context update: two of the three mitigations this decision depended on have landed

    When this issue was filed, the advisory-green lane was the only thing standing between a review
    outage and a silently-unreviewed merge. That is no longer true, which changes what the decision costs.

    Landed since:

    What that leaves to decide. The remaining question is narrow: should a lane that could not run
    report something other than pass?

    • Keeping advisory-green preserves ADR 0007 and the Enforcement="disabled" posture, and no longer
      means the outage is invisible — it is now visible per-PR (via outputs) and fleet-wide (via
      escalation). The residual risk is that a human reading a green PR page still infers "reviewed."
    • Flipping to a truthful non-pass reverses a recorded architectural decision and would require the
      ruleset change to be made in github-iac via Pulumi and deployed — never via gh or the UI.

    This is deliberately left to the repository owner. An agent should not reverse an ADR-recorded
    posture, and the two mitigations above were chosen precisely because they improve the outcome without
    requiring that reversal. No code is pending on this issue; it is a governance decision.

  4. kyle-sexton commented on Aug 14, 2026

    @kyle-sexton
    MemberAuthor

    Closing: operator decision recorded — keep the lane advisory (non-blocking), because the visible PR-level warning already exists.

    Decision: the lane must not fail or block a merge. ADR 0007 and the Enforcement="disabled" posture stand; no github-iac change is needed.

    The requested visibility is already implemented. Every affected PR receives a non-blocking github-actions[bot] comment keyed <!-- claude-review-infra-status -->, e.g. on dotfiles #476:

    Warning

    Automated review did not complete — this is an infrastructure failure, not a review verdict.
    Treat any Claude comment on this PR (including a placeholder like "I will analyze this and get back to you") as incomplete, not "no findings."

    • Failure class: rate-limit
    • Last SDK result: {"subtype":"success","is_error":true,"num_turns":1,"duration_ms":404,"total_cost_usd":0,"api_error_status":429,"class":"rate-limit"}
    • Re-run the job, or workflow_dispatch this workflow with the PR number, to retry.

    That is exactly the shape asked for: a visible note on the PR that never gates the merge. It carries the run link, the failure class, the raw SDK result, and the retry path.

    What the 2026-08-13 incident actually showed was not missing per-PR visibility — the warning was posted on every affected PR — but that nothing aggregated it. Two changes since close that gap without touching this posture:

    No further work pending.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions