Repository navigation
fix(required-contexts): string context input on the local reusable; re-pin the suite gate to main a0760ce - #56
Conversation
…g context input The caller passes with.context, and GitHub refuses an input that the called workflow does not declare, so a local target with a bare on.workflow_call (or the list/string forms, which cannot declare inputs) was accepted by the checker but could never publish the required status. The target must now declare on.workflow_call.inputs.context with type: string. Positive local fixtures declare that input; new negatives cover no inputs, list and string forms, inputs without context, a non-string type and a missing type. Path and self-call fixtures use the valid on-block, so they fail for their own reason only. Tests: squabble 150/0 (old checker against the new tests: 143/7). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDg8YzLVHtwwDfcY3J9
|
CI on this head is red because the GitHub API quota for the hyperpolymath installation is exhausted, not because of this diff. The diff touches only Each failing job reports a 403 from the API:
The squabble self-tests themselves pass in this run. Other PRs fail the same way in the same window. I will re-run the failed jobs once, after the quota window resets. Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDg8YzLVHtwwDfcY3J9
Owner ruling 2026-11-23: re-pin to the suite's main now. 4e9e680 reads
each run's jobs and fails under the installation rate limit ("could not
read the jobs of run"), which is what keeps this PR's CI/gate red.
a0760ce adds retry/back-off on rate limits, a per-commit concurrency
group and a sweep that stops when limited, and keeps the emoji-safe
description. Caller shape unchanged; no new permissions.
Updated: ci-gate.yml, ci-gate-tamper-guard-caller.yml, actions.lock (SHA
swap, ref main), squabble SUITE_PIN, actions_lock_sha_refs_test, CHANGELOG.
Checks: squabble 150/0, actions_lock_sha_refs_test OK,
check-lock-sync OK, check-required-contexts OK, actionlint clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDg8YzLVHtwwDfcY3J9
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
|
Two red statuses on 1.
2.
Fixing that, either by moving or linking the config or by uninstalling the app for these repos, is an estate decision outside this PR. Generated by Claude Code |



This PR makes two changes. The second was added on 2026-11-23, following an owner ruling.
1. Checker fix (
3b9f658)scripts/check-required-contexts.sh(localTargetError) now requires the local reusable to declareon.workflow_call.inputs.contextwithtype: string.The caller passes
with.context. GitHub refuses an input that the called workflow does not declare, so a local target without that input could never publish the required status. The tests now cover a missing input, the list form, the string form, nocontextkey, a non-string type, and no type. Positive fixtures declare the input.The same fix is in hyperpolymath/rsr-template-repo#451, which is merged, and in hyperpolymath/mathesis#106.
2. Re-pin (
384e5c4)This re-pins the suite gate from
4e9e680to suitemaina0760ce(hyperpolymath/proven-cicd-and-workflows#164).4e9e680reads each run's jobs one API call at a time. When the installation runs out of API quota it fails with "could not read the jobs of run". That failure is what kept this PR'sCI/gatered.a0760ceadds:The caller shape is unchanged and no new permissions are needed.
Files updated:
ci-gate.yml,ci-gate-tamper-guard-caller.yml,actions.lock(SHA swap,refstaysmain), the squabbleSUITE_PIN,actions_lock_sha_refs_test.sh, and the CHANGELOG.mainwas merged in first (862e044).Proven (local, on the head)
tests/workflows/squabble_gate_test.sh: 150 passed, 0 failed.tests/workflows/actions_lock_sha_refs_test.sh: OK.scripts/check-lock-sync.sh: OK.scripts/check-required-contexts.sh .: OK.actionlinton both callers: clean.Not proven
workflow_rungate still runsmain's caller, which pins4e9e680until this PR merges. It can therefore still post a failure caused by the old code.workflow_runlist, which cuts the number of gate runs per push, is waiting on fix(ci-gate): two reads per evaluation, coalesce per head SHA, pending (never failure) on an unavailable API proven-cicd-and-workflows#148 and #151. A second re-pin will follow once they land.🤖 Generated with Claude Code
https://claude.ai/code/session_01J4QvDg8YzLVHtwwDfcY3J9
Summary by CodeRabbit
contextinputs.