Repository navigation
fix(rest): raise on a rate limit when reading immutable release settings - #962
Merged
Merged
Conversation
netomi
previously approved these changes
Nov 19, 2026
A rate-limited 403 from the immutable releases endpoint of a repository or an organization was taken as an unavailable feature: the settings were left unset with a warning, and plan and apply silently skipped them. Such a response now fails the read, as a 429 already did and as _get_optional_json does. A 403 that the requester raises as an InsufficientPermissionsException is checked on its response body too. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: sebastien.heurtematte <sebastien.heurtematte@eclipse-foundation.org>
heurtematte
force-pushed
the
fix/immutable-releases-rate-limit
branch
from
November 19, 2026 15:54
f038cb6 to
50ddd88
Compare
|
heurtematte
temporarily deployed
to
pull-request-preview
November 19, 2026 15:58 — with
GitHub Actions
Inactive
This branch was previously deployed
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.



Description
When otterdog read the immutable release settings of a repository or an organization, it took a rate-limited 403 from GitHub for an unavailable feature. It left the settings unset with a warning, and
planandapplythen skipped them without saying so. Such a response now fails the read, as a 429 already did and as_get_optional_jsondoes.Related issue
Relates to #959 (follow-up listed in its notes).
Type of change
Tests
tests/Manual testing
Checklist
docs/changed.docs/reference/operations/index.mdalready says that a request still rate-limited after the retries fails, which now also holds for these reads.