fix: count runs from disabled selected workflows - #404
Conversation
Deploying ystack with
|
| Latest commit: |
811c4cc
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d2762d5e.fabrica-6yx.pages.dev |
| Branch Preview URL: | https://ystack-impl-disabled-workflo.fabrica-6yx.pages.dev |
|
Independent G3 review — PR #404, round 0 Reviewer: Repository: Reviewed-head: 811c4cc Evidence and identity. I read the complete diff, both complete changed files, accepted artifact chain, current review rules and CI-minimum decision. I independently inspected the retained pre-fix and final proof logs, statuses, first-code tuple and publication records. All 13 entries in the evidence checksum inventory matched their files. The saved commit diff includes a commit header and summary; its patch bytes exactly match the reviewed Git diff. Before/after API reads preserved the exact head, base and intake hashes above. PR #404 remained open with only Bugs pass — no Important findings. The sole production change adds The fixture models the missing behavior: a configured disabled workflow returns the existing missing-workflow response without The new cases invoke the actual helper and assert:
These assertions inspect behavior rather than merely matching the command. They run sequentially in the complete affected suite. The test diff adds assertions without removing or weakening existing ones. Security pass — no Important findings. The change preserves the runaway brake’s policy and refusal boundaries. Numeric-count validation, global listing failures, unexpected per-workflow errors and existing missing-workflow treatment are unchanged. Window, defaults, exclusions, fetch-limit scaling and environment aliases/precedence remain intact. No workflow, credential, permission, executable-selection, probe-publication or run-attempt code changes. The new fixture is private to the existing test suite. No new dependency, framework, exceptional implementation path, live provider operation, installation or activation is introduced. Compliance pass — no Important findings. Exactly the two accepted implementation paths change, with 29 additions and one deletion. The implementation is one single-parent commit above the accepted plan-base. All three accepted artifact blobs remain byte-identical, and both hash links remain valid. Plan PR #403 merged at The claim names the exact artifacts, risk, branch and two allowed paths. Completion comment The PR uses Proof inspected. The pre-fix run used original helper blob
That test blob matches the final committed test. The retained final run at the reviewed head completed the entire affected suite with exit 0. Final committed-head ShellCheck 0.11.0, Bash syntax and whitespace statuses also report exit 0. Verified raw-log SHA-256s:
I did not rerun tests or execute the helper. CI and conclusion. Run 35699351606 reports success at the reviewed head: No Important findings or nits. The exact implementation satisfies the accepted scope and proof. The manager remains responsible for final unchanged-identity and protection checks before any protected merge. This reviewer made no file, ref, worktree, comment, label or other state changes and executed no tests or targets. VERDICT: PASS |
Disabled selected workflows were omitted from the run count, so the runaway brake could pass even at its threshold. Add
--allto the existing per-workflow query and exercise the real helper with enabled and disabled workflow runs. Selection, thresholds and error handling stay unchanged.The regression fails against the original helper with
runs=3. On the final committed head, the complete affected suite passes, including 19 runs passing and 20 runs refusing with the existing diagnostic. ShellCheck 0.11.0, Bash syntax and whitespace checks pass. Automatic quick CI and independent review remain required; this is not a full-suite result.Accepted artifacts:
work/disabled-workflow-run-counting/{intent,spec,plan}.md; plan accepted in #403. Only the helper and its existing test change. Output remains inactive and repository-only; no installation or activation occurred.review_size: standard
Closes #132.