Skip to content

feat(ci-triage): github_state_unreadable (CASE-043) - #1077

Merged
hyperpolymath merged 4 commits into
mainfrom
claude/api-read-failed
Nov 13, 2026
Merged

hyperpolymath merged 4 commits into
mainfrom
claude/api-read-failed

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Estate gates that read GitHub state refuse to pass when the read fails. That is correct behaviour, but the failure has nothing to do with the change under test. Between 16:02 and 16:05Z on 2026-11-13, about a dozen jobs on metadatastician/standards #1514, #1518 and main failed this way in one API event (CASE-043):

  • could not read branch rulesets … nothing inspected ("Required contexts are producible")
  • could not read the workflow catalogue — enablement is UNKNOWN, not off (six "Rust coverage" jobs)
  • the called workflow … could not be read at <sha> (offline with no cache entry, or the API refused) ("uses ⊆ actions.lock", "Actions lockfile verify")

Change

  • New rule hypatia/ci_failure_triage/github_state_unreadable. It sits in the platform layer, reruns once, then goes to the owner: if it repeats, the token the gate uses lacks read access or is rate limited.
  • hypatia_rules_praxis.deed is regenerated: one new row.

Tests

There are 3 new replay test cases, one per signature, rebuilt from the log lines the A1 session relayed. I couldn't read those runs myself. All 137 triage tests pass, and tests/rules-praxis-test.sh with the pinned deed_lint.js passes 15 of 15.

Both this PR and the WF031 PR regenerate the rule registry, so whichever merges second needs a quick regenerate. I'll do that.


Generated by Claude Code

Estate gates that read GitHub state refuse to pass when the read fails:
"could not read branch rulesets", "could not read the workflow catalogue"
and "the called workflow … could not be read at <sha> (offline with no
cache entry, or the API refused)". Seen on metadatastician/standards#1514,
#1518 and main within 16:02-16:05Z on 2026-11-13: one API event, about a
dozen jobs. Platform layer, rerun once, then the owner (token read access
or rate limit). Replays rebuilt from the lines relayed by the A1 session.
hypatia_rules_praxis.deed regenerated (+1 row).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZkGCWGEyedTtdEHAPT
@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 22 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 047fd2d9-16fc-42d1-8981-38b32eb2a07f
Commits

Reviewing files that changed from the base of the PR and between 6c140ae and 9a08bc0.

Files selected for processing: 6

  • hypatia_rules_praxis.deed
  • lib/rules/ci_failure_triage.ex
  • test/fixtures/ci_failure_triage/callee-unreadable.txt
  • test/fixtures/ci_failure_triage/rulesets-unreadable.txt
  • test/fixtures/ci_failure_triage/workflow-catalogue-unreadable.txt
  • test/rules/ci_failure_triage_test.exs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 13, 2026 19:59
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T20:09:36.215469Z 9a08bc0 New commits
🔒 Security Review ❌ Failed 2026-11-13T20:07:54.026330Z
We couldn’t complete this review. Comment @codex security review to try again.
9a08bc0 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

Registry auto-merged; gen-rules-praxis --check and rules-praxis-test pass.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZkGCWGEyedTtdEHAPT
@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6139d38cd7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread lib/rules/ci_failure_triage.ex Resolved
The bare phrases "could not read branch rulesets" and "could not read the
workflow catalogue" also appear in an app's own test output, which would
be misread as a platform outage and rerun. Match the gates' full wording
instead, and test that an app test naming those phrases stays a code failure.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZkGCWGEyedTtdEHAPT
@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath merged commit 51539ab into main Nov 13, 2026
83 checks passed
@hyperpolymath
hyperpolymath deleted the claude/api-read-failed branch November 13, 2026 20:15
hyperpolymath pushed a commit that referenced this pull request Nov 13, 2026
…ASE-043

main gained WF031 (#1076) and ci_failure_triage/github_state_unreadable
(#1077). Their own regenerations merged into this branch's deed cleanly,
but WF031's plain type name (workflow_audit/gitleaks_full_history_on_pr)
is a row this PR adds, so the deed was stale and the "Rule registry" check
would fail. Regenerated with scripts/gen-rules-praxis.sh: 433 rules, one row
added, none changed or removed, no duplicate id. The tests pass under gawk
and mawk.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZmHbN98VWzhw9EshkN
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.

3 participants