ci: repair nightly-rebase GPG step and pr-discovery turn budget - #9
Merged
Conversation
nightly-rebase checks out if/staging and referenced the import-bot-gpg composite action by workspace-relative path. if/staging is 93 commits behind if/main and does not carry that action, so the job died at "Import bot GPG key" before it ever attempted the rebase. Pin the action to InitialForce/wpf/.github/actions/import-bot-gpg@if/main so it resolves from the workflow's own line regardless of which branch a job checks out (both call sites: attempt-rebase and open-pr). pr-discovery ran the Haiku discovery agent with --max-turns 8. The scan queries upstream, emits one ledger event per new PR, then opens the batch issue, which needs more than 8 tool turns; the run hit error_max_turns at turn 9. Raise the budget to 50. Both workflows had failed on these steps every day for 8+ consecutive days, independent of any branch content. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
oysteinkrog
temporarily deployed
to
bot-credentials
July 24, 2026 09:07 — with
GitHub Actions
Inactive
oysteinkrog
temporarily deployed
to
bot-credentials
July 24, 2026 09:09 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What this does
Fixes the two fork-automation cron jobs that have failed every day for 8+ days: Nightly Rebase and PR Discovery. Neither failure is related to any branch content; both are workflow-config bugs.
Nightly Rebase
The
attempt-rebaseandopen-prjobs check outif/staging, then invoke theimport-bot-gpgcomposite action by a workspace-relative path (./.github/actions/import-bot-gpg).if/stagingis 93 commits behindif/mainand does not carry that action, so the job died at "Import bot GPG key" withCan't find 'action.yml'before it ever attempted a rebase.Pin both call sites to
InitialForce/wpf/.github/actions/import-bot-gpg@if/mainso the action resolves from the workflow's own line regardless of which branch a job checks out.PR Discovery
The Haiku discovery agent ran with
--max-turns 8. The scan queries upstream, emits one ledger event per new PR, then opens the batch issue — more than 8 tool turns — and hiterror_max_turnsat turn 9. Raised the budget to 50. No stuck loop or broken tool; the budget was simply too small.How to review
Three lines across two files.
actionlintvalidates theuses:syntax. Nightly Rebase's runtime path is exercised by tonight's cron; PR Discovery I verify by a manualworkflow_dispatchon this branch before merge.