Skip to content

Keep hosted eligibility pending during GitHub outages - #1559

Merged
mergify[bot] merged 5 commits into
mainfrom
lean178/1497-eligibility-outages-v2
Nov 26, 2026
Merged

mergify[bot] merged 5 commits into
mainfrom
lean178/1497-eligibility-outages-v2

Conversation

@eowca

@eowca eowca commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Context and goal

Keep source and candidate eligibility pending when GitHub evidence is unavailable. A recovered read publishes the verdict for the same head. Failures before the pending write report an unconfirmed refresh.

Closes #1497. Supersedes #1519, whose delta review was blocked by a merge from main after the primary review.

Validation

Recorded for 6c65b6aac76e

  • uv run --group dev ruff check src tests: exit 0
  • uv run --group dev tach check: exit 0
  • uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0
  • scripts/size_budget.sh: exit 0
  • uv run --group dev pytest -q: exit 0

The original delivery head passed the full check. Hosted and candidate tests cover persistent and recovered HTTP 503, an outage before pending publication, ambiguous final status writes, and Git fetch outages. The replacement head will get its own full check and primary review. Source +46 lines, tests +0.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Review

  • primary, claude, db8a695, request_changes
  • delta, claude, 6c65b6a, approve

eowca and others added 4 commits November 26, 2026 07:51
Architecture-Review: unchanged; remains fail-closed while trusted evidence is unavailable, with the same status context and publisher.
Co-Authored-By: Codex <noreply@openai.com>
Architecture-Review: unchanged; evidence and publication failures remain distinguishable within the existing hosted trust boundary.
Co-Authored-By: Codex <noreply@openai.com>
Architecture-Review: unchanged; transient fetch diagnostics remain inside the existing isolated checkout.
Co-Authored-By: Codex <noreply@openai.com>
Architecture-Review: unchanged; hosted eligibility still requires verified Git objects before accepting inherited evidence.
Co-Authored-By: Codex <noreply@openai.com>

@loopzero-feder-positronics loopzero-feder-positronics Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

loopzero primary review by claude on db8a6950b5cdb7ffa9e3c77aae44198d3d1e0280, 103.1s: request_changes (0 critical, 1 important, 1 suggestion)

Settings per native call (launch configuration and CLI claims, not backend attestation):

  • Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)

Native Claude output is retained in the restricted local review receipt.

Comment thread src/loopzero/github.py Resolved
Comment thread src/loopzero/candidate.py

output.seek(0)
diagnostic = output.read(_TREE_OUTPUT).decode(errors="replace")
if github._transient_error(diagnostic, False) or re.search(r"returned error: (?:429|5\d\d)", diagnostic):

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Git fetch outage classification reaches into a private github helper and duplicates status matching

_require_git_exit calls github._transient_error, which is a private function. It also adds a second ad-hoc regex (returned error: (?:429|5\d\d)) next to the existing TRANSIENT_RE and _rate_limited rules. Any change to those rules now has to be copied into this inline pattern by hand, so the two classifiers can drift apart. A fix: expose one public classifier in github (for example github.unavailable_diagnostic(text)) that covers both the gh tail and git's curl returned error: NNN wording, and use it in both places.

Architecture-Review: unchanged; the evidence outcome changes while the existing retry and wait behavior remains in force until #1502.
Co-Authored-By: Codex <noreply@openai.com>

@loopzero-feder-positronics loopzero-feder-positronics Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

loopzero delta review by claude on 6c65b6aac76e71321dda5f9286ee963b4c18d510, 28.7s: approve (0 critical, 0 important, 0 suggestion)

Settings per native call (launch configuration and CLI claims, not backend attestation):

  • Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)

Native Claude output is retained in the restricted local review receipt.

@eowca
eowca marked this pull request as ready for review November 26, 2026 07:31
@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify

mergify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

✅ Merged into main as 91f44ae at 07:38 UTC

5 min in the queue, 4 min of it CI.

So far

  • ✅ Entered the queue Thu 26 Nov, 07:32 · rule main · triggered by @eowca with the @mergifyio queue command
  • ✅ Passed · draft #1641
  • ✅ Merged 07:38 · 91f44ae · squash
3 merge conditions met
  • github-review-approved · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = checks
    • check-neutral = checks
    • check-skipped = checks
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = Loop-zero Eligibility
    • check-neutral = Loop-zero Eligibility
    • check-skipped = Loop-zero Eligibility

Times in UTC · dashboard · how the merge queue works

@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

No description provided.

@mergify
mergify Bot merged commit 91f44ae into main Nov 26, 2026
17 checks passed
@eowca
eowca deleted the lean178/1497-eligibility-outages-v2 branch November 26, 2026 07:38
@mergify mergify Bot removed the queued label Nov 26, 2026
@eowca
eowca restored the lean178/1497-eligibility-outages-v2 branch November 26, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keep hosted eligibility from publishing a false red during GitHub read outages

1 participant