You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AI rebase checkout fails when AI_REBASE_TOKEN is unavailable (#4451) #4461
The AI rebase workflow added by #4451 fails before running its rebase logic when AI_REBASE_TOKEN is empty or unavailable. This is separate from Control API code and the main CI gate.
actions/checkout fails with Input required and not supplied: token.
.github/workflows/ai-rebase.yaml:48 supplies secrets.AI_REBASE_TOKEN to checkout.
Main CI for the same master commit succeeded (run 42724922555).
Expected result
Configure the required credential for the trusted workflow, or explicitly skip the optional rebase workflow when it is not configured, rather than producing a red checkout job. Do not weaken the required CI gate or expose credential values.
Scope / handoff
No duplicate issue or open PR for this error was found. I cannot provide or invent the repository credential while implementing the Control API; this needs the workflow owner's configuration decision. No workflow files were changed as part of the Control API slices.
Claiming: #4461 — skip the ai-rebase job when AI_REBASE_TOKEN is unset. 1. Add ci/test_ai_rebase_token_guard.py (RED: pins that the root job using secrets.AI_REBASE_TOKEN carries a secrets.AI_REBASE_TOKEN != '' guard; fails on current yaml). 2. GREEN: fold that guard into ai-rebase.yaml job if: alongside the existing fork guard, so an unconfigured token skips the optional workflow instead of failing checkout. No other workflow or test-graph changes.
Claim bot:@KelboLive, this can't be claimed yet: it is not ready yet. Comment Claiming: investigation to research it, then /ready once it meets the definition of Ready.
Claiming: #4461, skip the ai-rebase job's steps when AI_REBASE_TOKEN is not set, on branch ci/4461-ai-rebase-token-guard.
RED: ci/test_ai_rebase_token_guard.py reads the real .github/workflows/ai-rebase.yaml and fails while any step uses the token with no guard, and while any jobs.<id>.if names secrets.
GREEN: expose "token is set" through the job env and guard each step on it, with a notice step saying the run was skipped. actionlint clean. No change to the CI gate.
Activity
KelboLive commentedon Nov 11, 2026
Claiming: #4461 — skip the ai-rebase job when AI_REBASE_TOKEN is unset. 1. Add ci/test_ai_rebase_token_guard.py (RED: pins that the root job using secrets.AI_REBASE_TOKEN carries a
secrets.AI_REBASE_TOKEN != ''guard; fails on current yaml). 2. GREEN: fold that guard into ai-rebase.yaml jobif:alongside the existing fork guard, so an unconfigured token skips the optional workflow instead of failing checkout. No other workflow or test-graph changes.github-actions commentedon Nov 11, 2026
Claim bot: @KelboLive, this can't be claimed yet: it is not
readyyet. CommentClaiming: investigationto research it, then/readyonce it meets the definition of Ready.vpacher commentedon Nov 13, 2026
/ready
Coordinator triage. Scope: skip the ai-rebase job when
AI_REBASE_TOKENis not set. Do not change the CI gate.#4730 put
secretsin the job-levelif:. GitHub does not allow that context there (actionlint error), so that PR was closed.Acceptance:
secretscontext in anyjobs.<id>.if. Expose whether the token is set through the jobenv, then guard the steps.ci/test reads the real workflow file and fails without the guard.The workflow is disabled now, so this is not urgent. Setting the secret stays with the maintainer.
rdoupe commentedon Nov 16, 2026
Claiming: #4461, skip the ai-rebase job's steps when
AI_REBASE_TOKENis not set, on branchci/4461-ai-rebase-token-guard.ci/test_ai_rebase_token_guard.pyreads the real.github/workflows/ai-rebase.yamland fails while any step uses the token with no guard, and while anyjobs.<id>.ifnamessecrets.envand guard each step on it, with a notice step saying the run was skipped. actionlint clean. No change to the CI gate.ci: Skip the AI rebase steps when AI_REBASE_TOKEN is not set (obs-rus…