Skip to content

feat: report current Actions check failures - #450

Draft
huang47 wants to merge 1 commit into
codex/readiness-shadow-reportfrom
codex/readiness-check-failures
Draft

huang47 wants to merge 1 commit into
codex/readiness-shadow-reportfrom
codex/readiness-check-failures

Conversation

@huang47

@huang47 huang47 commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

A failed required job should remain visible even if other evidence is missing. The report checks which workflow ran it and which PR revisions it belongs to before treating its failure as a blocker.

actions-flow

Summary

  • Add an opt-in policy selector for named GitHub Actions jobs and their workflow paths. Read check runs, jobs and workflow runs; reject stale or ambiguous associations.
  • A current reported failure blocks. Success never satisfies a passing requirement because the job's actual tested revision has not been established.
  • Exercise the read-only collector in the existing shadow workflow test. No merge setting or publication surface is changed.

Verification

  • 58 Python tests passed, including the actual CLI with a simulated paginated GitHub API, stale revisions, reruns, source errors and snapshot changes.
  • A fault injection removing workflow-path validation caused the wrong-workflow regression to fail.
  • A read-only live run matched a real build job and returned WAITING because successful test revision evidence remains missing.
  • 558 workflow-pins tests, actionlint and repository checks passed. The current-head Actions run matched the selected job and retained a WAITING report under a synthetic policy.

Limits

The policy and its required check sources need owner validation. GitHub metadata can race collection, and check-run head does not prove the tested merge revision. Missing or incomplete evidence cannot make the result READY. This is an advisory artifact, not a merge gate.

Stack

Stack order: 6/9, follows #449 — feat: retain integrated review shadow reports; followed by #452 — fix: keep unverified approvals incomplete.

Provenance

Authored and verified in an interactive session. Recovery: remove the optional policy selectors or revert this PR.

@coderabbitai

coderabbitai Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

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.

1 participant