Repository navigation
upstream-rebase: take the federation rule from the organization too - #48
Merged
Merged
Conversation
9bac195 moved the organization, service account and workspace to the organization-wide ANTHROPIC_* variables but left the rule on the repository's REBASE_FEDERATION_RULE_ID. The nightly run then paired the organization's service account with that repository rule, and its first API request was refused. Read ANTHROPIC_FEDERATION_RULE_ID alongside the others so all four come from the same place. Also fail the identifier step, naming the variable, when any of the four is empty or not visible to the repository. Until now an unset variable surfaced only as the model step failing within a second, with no reason in the log.
kaniini
requested review from
alexandermerritt,
azenla,
bleggett and
tycho
as code owners
October 8, 2026 17:06
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.
The first nightly run (run 37723917956, issue #47) failed before the rebase started: Claude Code ended after one turn and 421 ms, with no model usage, so its first API request was refused.
9bac195 moved the organization, service account and workspace to the organization-wide
ANTHROPIC_*variables but left the rule on the repository'sREBASE_FEDERATION_RULE_ID. That run pairedANTHROPIC_SERVICE_ACCOUNT_IDwith the repository rulefdrl_01UT8….vars.ANTHROPIC_FEDERATION_RULE_ID, so all four identifiers come from the same set. TheREBASE_*/PR_REVIEW_*fallbacks are removed, and the configuration comment is updated.After this merges, the repository variable
REBASE_FEDERATION_RULE_IDis unused and can be deleted.Testing: actionlint clean; the empty-variable check was exercised with all four set, the rule missing, and the service account and workspace missing (whitespace-only counts as missing).