GeezerVison is showing github.com — fix(ci): detect head workflow startup failures by devantler · Pull Request #824 · devantler-tech/.github
Conversation
🤖 Generated by the Agentic Engineer
Why
A workflow can fail before creating any jobs, leaving its failure invisible to the normal required-check summary. That can make broken automation look ready to merge.
What
Add an optional read-only startup check that binds its evidence to the caller’s current commit and refuses incomplete observations. Keep existing aggregation unchanged and exercise the enabled check in native CI before wider adoption.
Fixes #823
Part of #814
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
Validation at signed head 25b9e4e93733cc8e0bf81713db63d6061038a7b9:
- The Go inspector’s race tests and vet pass, including both the existing run-budget mode and the new startup mode. The shipped composite-step tests cover disabled use, native argument binding, zero-job failures, unreadable metadata, output serialization failure and absence of misleading success outputs.
- All documented repository baseline checks and the deployment render pass. Existing aggregation, required-check isolation, catalogue credential boundaries, test wiring and README parity pass. Zizmor reports no findings in the changed action.
- A read-only replay of public UniFi run
40968098925 at head 7c903b53407f46ea6cad0832a3880fd43a06b5b4 identifies startup-failed run 40968099553; its native jobs inventory is empty. The original reducer accepts the supplied successful job results, while the new inspector blocks that same startup evidence. An independent public template replay correctly leaves ordinary failed jobs to their existing checks.
- Negative tests demonstrate that a different branch/PR, pending replacement, malformed job inventory or changed observations cannot erase adverse startup evidence. The CLI uses fixed-host GET requests and emits sanitized receipts.
Native CI and review are pending. This is a current-head startup snapshot, not whole-PR monitoring or a 15-minute feedback verdict. Parent #814 remains responsible for immutable consumer adoption, the opt-in retirement decision and later-event coverage. The existing local actionlint parser does not recognize native $/ references (#1234); I have not treated that local parser result as a green syntax verdict.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Code coverage overview
Languages: Go, C#
Go / code-coverage/test
C# / code-coverage/dotnet
Go / code-coverage/go
ℹ️ Calculations represent line coverage. Results may change as calculations are updated.
Updated November 01, 2026 21:10 UTC
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 1, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Action performed
-
Full review finished.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between af042c5 and 25b9e4e.
Files selected for processing: 9
-
.github/agent-guides/validation.md
.github/scripts/check-ci-run-budget/main.go
.github/scripts/check-ci-run-budget/startup.go
.github/scripts/check-ci-run-budget/startup_test.go
.github/tests/test-aggregate-job-checks.sh
.github/tests/test-workflow-startup.sh
.github/workflows/ci.yaml
actions/aggregate-job-checks/README.md
actions/aggregate-job-checks/action.yaml
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Recent review details
-
Additional context used
-
Code guidelines: 5
-
actions/CONTRIBUTING.md — auto-discovered
.github/agent-guides/invariants.md — auto-discovered
.github/agent-guides/catalogue.md — auto-discovered
AGENTS.md — auto-discovered
CONTRIBUTING.md — auto-discovered
Path-based instructions: 6
-
Applicability reference: AGENTS.md: # AGENTS.md — devantler-tech/.github (GitHub-as-code) Full detail in [actions/CONTRIBUTING.md](actions/CONTRIBUTING.md).
-
CodeRabbit inference engine (actions/CONTRIBUTING.md)
Files:
.github/tests/test-aggregate-job-checks.sh
.github/workflows/ci.yaml
actions/aggregate-job-checks/README.md
.github/tests/test-workflow-startup.sh
actions/aggregate-job-checks/action.yaml
Applicability reference: AGENTS.md: # AGENTS.md — devantler-tech/.github (GitHub-as-code) Full detail in [actions/CONTRIBUTING.md](actions/CONTRIBUTING.md).
-
CodeRabbit inference engine (actions/CONTRIBUTING.md)
Files:
.github/workflows/ci.yaml
actions/aggregate-job-checks/action.yaml
Applicability reference: AGENTS.md: # AGENTS.md — devantler-tech/.github (GitHub-as-code) | Guide | Read before | |---|---| | [Tested invariants](.github/agent-guides/invariants.md) | Any catalogue implementation or test c...
-
CodeRabbit inference engine (.github/agent-guides/invariants.md)
Files:
.github/workflows/ci.yaml
Applicability reference: AGENTS.md: # AGENTS.md — devantler-tech/.github (GitHub-as-code) | Guide | Read before | |---|---| | [Catalogue layout and references](.github/agent-guides/catalogue.md) | Adding or moving components, self-reference...
-
CodeRabbit inference engine (.github/agent-guides/catalogue.md)
Files:
.github/workflows/ci.yaml
Source excerpt: Full detail in [actions/CONTRIBUTING.md](actions/CONTRIBUTING.md).
-
CodeRabbit inference engine (AGENTS.md)
Files:
actions/aggregate-job-checks/README.md
actions/aggregate-job-checks/action.yaml
Applicability reference: AGENTS.md: # AGENTS.md — devantler-tech/.github (GitHub-as-code) Three things share one repo: **The org's public profile** — `profile/README.md` (rendered on the org page), plus the org-wide community health files i...
-
CodeRabbit inference engine (CONTRIBUTING.md)
Files:
.github/tests/test-aggregate-job-checks.sh
.github/scripts/check-ci-run-budget/main.go
.github/agent-guides/validation.md
.github/workflows/ci.yaml
actions/aggregate-job-checks/README.md
.github/tests/test-workflow-startup.sh
.github/scripts/check-ci-run-budget/startup_test.go
.github/scripts/check-ci-run-budget/startup.go
Learnings: 1
-
Common learnings
-
Learnt from: CR
Repo: devantler-tech/.github
Timestamp: 2026-11-01T21:13:16.454Z
Learning: Applicability reference:
AGENTS.md: # AGENTS.md — devantler-tech/.github (GitHub-as-code)
## Actions catalogue
| Guide | Read before |
|---|---|
| [Workflow and CI contracts](.github/agent-guides/workflows.md) | Any catalogue implementation, test or workflow change, including feature flags |
AGENTS.md: # AGENTS.md — devantler-tech/.github (GitHub-as-code)
## Actions catalogue
### Conventions
#### Test jobs
Read the [workflow and CI contracts](.github/agent-guides/workflows.md#test-jobs) before adding or changing a test. Keep the required reducer, credential boundaries and native behavior proofs intact.
Source excerpt:
# Workflow and CI contracts
### Adding / Changing a Reusable Workflow
#### Shipping a new capability behind an opt-in flag (feature-flag-first)
A new job/step/behaviour must not go live for every consumer the moment it merges. Ship it as the CI analog of a release flag — an **opt-in input, default-off, backward-compatible** — so it can be validated on a few callers b...
Learnt from: CR
Repo: devantler-tech/.github
Timestamp: 2026-11-01T21:13:40.752Z
Learning: Applicability reference:
AGENTS.md: # AGENTS.md — devantler-tech/.github (GitHub-as-code)
## Actions catalogue
| Guide | Read before |
|---|---|
| [Validation and publication contracts](.github/agent-guides/validation.md) | Any catalogue validation, to-do forwarding, publication or release-recovery change |
Source excerpt:
# Validation and publication contracts
**Workflow startup evidence:** the shared aggregate action's default-off
`check-workflow-startup` input runs the metadata inspector's separate `startup`
subcommand. It binds complete observations to the native caller and head,
preserves adverse workflow/event/branch/PR history until proven recovery, and
refuses incomplete or changed evidence. Its receipt is a startup snapshot,
not an all-checks-green or feedback-budget verdict. Existing job aggregation and
the budget subcommand keep their contracts. The catalogue's workspace-independent
inline required reducer retains no token permissions or checked-out action.
Keep the enable...
Additional comments: 10
-
.github/scripts/check-ci-run-budget/startup.go: 1
-
1-319: LGTM!
.github/scripts/check-ci-run-budget/main.go: 1
-
250-252: LGTM!
.github/scripts/check-ci-run-budget/startup_test.go: 1
-
1-341: LGTM!
actions/aggregate-job-checks/action.yaml: 1
-
7-8: LGTM!
Also applies to: 26-40, 95-160
actions/aggregate-job-checks/README.md: 1
-
3-3: LGTM!
Also applies to: 40-81
.github/tests/test-workflow-startup.sh: 1
-
1-179: LGTM!
.github/workflows/ci.yaml: 2
-
1143-1143: LGTM!
Also applies to: 1155-1160
1169-1171: Stability & Availability
The selection rules run this job for the changed startup paths.
The gate on test-aggregate-job-checks-unknown depends on select-ci-tests. The inventory.json owner list for this job covers only actions/aggregate-job-checks/. However, selectJobs returns every job when any changed path has no owner. .github/scripts/check-ci-run-budget/startup.go and .github/tests/test-workflow-startup.sh have no owner, so a PR that changes either file runs this job. The skip scenario in the original comment does not apply. The repository rule that the comment cites was also not found in the searched guides.
.github/tests/test-aggregate-job-checks.sh: 1
-
22-22: LGTM!
.github/agent-guides/validation.md: 1
-
15-27: LGTM!
Walkthrough
-
The aggregate action adds a default-off workflow-startup check, backed by a separate Go inspector mode. The inspector validates run identity and workflow metadata, then returns a clear, blocked, or unknown receipt. When enabled, the action exposes the receipt and reports clear only for a valid clear result. New unit, action integration, and CI tests cover startup evidence and action behavior.
Possibly related issues
Possibly related PRs
- devantler-tech/.github#792 — It establishes the native self-repository source-resolution contract used by this PR’s CI invocation.
Severity of issue fixed: Medium
Merge Risk: Minimal · up to 25b9e
-
No actionable merge-blocking issue remains from this review; complete the pending native CI checks before merging.
Pre-merge checks: 5
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title "fix(ci): detect head workflow startup failures" matches the main change. The PR adds an opt-in, read-only check that finds native workflow startup failures on the current head commit, and t… |
| Description check |
 |
The description states the reason (workflows that fail before creating jobs are hidden from the required-check summary) and the change (an optional, read-only startup check that binds evidence to the … |
| Linked Issues check |
 |
The PR meets the coding requirements in #823. check-workflow-startup is explicit and defaults to false. The action does not build the inspector or request metadata when disabled. The startup inspe… |
| Out of Scope Changes check |
 |
The changes stay within #823. The inspector, action inputs and outputs, documentation, unit tests, shipped-action tests, existing aggregation test adjustment, and native CI exercise all support the st… |
| Docstring Coverage |
 |
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat… |
Full details: Title check
-
Explanation
The title "fix(ci): detect head workflow startup failures" matches the main change. The PR adds an opt-in, read-only check that finds native workflow startup failures on the current head commit, and the changed files (startup.go, the aggregate action, and its README) all implement that check. The title is specific and concise, and it uses the conventional commit form.
Full details: Description check
-
Explanation
The description states the reason (workflows that fail before creating jobs are hidden from the required-check summary) and the change (an optional, read-only startup check that binds evidence to the current commit and refuses incomplete observations). It also says existing aggregation stays unchanged and links issues #823 and #814. These points match the changed files and the linked objectives.
Full details: Linked Issues check
-
Explanation
The PR meets the coding requirements in #823. check-workflow-startup is explicit and defaults to false. The action does not build the inspector or request metadata when disabled. The startup inspector binds repository, head SHA, run ID, attempt, and supported event before metadata requests. It requires complete and stable run inventories, validates exact failed-attempt job evidence, and returns unknown for invalid or changing evidence. Its history logic preserves adverse failures from unrelated or non-recovering runs. The existing token-free reducer remains unchanged. Added unit, shipped-action, and native-CI tests cover positive and adverse cases. The publication criterion is release coordination, not a coding requirement.
Full details: Out of Scope Changes check
-
Explanation
The changes stay within #823. The inspector, action inputs and outputs, documentation, unit tests, shipped-action tests, existing aggregation test adjustment, and native CI exercise all support the startup-failure opt-in and its compatibility boundaries. No unrelated implementation or test scope is evident.
Full details: Docstring Coverage
-
Explanation
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 18 functions across 5 files. (4 skipped: 4 unsupported.)
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
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
Ready for protected merge at 25b9e4e93733cc8e0bf81713db63d6061038a7b9: all 249 native checks are settled green, the fresh CodeRabbit summary reports no actionable findings for this exact head, all five pre-merge checks pass, and the complete thread read reports zero unresolved threads.
The enabled native aggregate test exercised the real metadata path with Actions read access; the separate shipped-step and adverse controls also passed. The worktree is clean against freshly fetched base af042c540ce8db4d64add98c34b5c57691e0e812. Publication and post-merge native acceptance will be checked separately, and #814 will remain open for portfolio adoption and later-event coverage.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 1, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|