Skip to content

fix(service): read a 403 that names a rate limit as one - #7940

Merged
dan-petty merged 2 commits into
mainfrom
fix/7911-rate-limit-message-403
Nov 30, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/7911-rate-limit-message-403

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

GitHub rate-limited a redelivery write of the Service with a 403 that had no rate-limit header, only the message API rate limit exceeded for integration ID .... The session read it as a refused identity, so the Service halted each job of each repository.

A 403 whose message names a rate limit is now a rate limit. The session waits 60 s or more, resends up to twice and raises GitHubRateLimitError. GitHub documents a secondary limit by its message and promises no header. The gh path already reads these phrases. A suspended installation, and each other header-less 403 to a write, still halts the Service.

This fix alone does not stop each halt: the redeliver row can send an expired App JWT, and the 401 halts the Service (#7925). The retry waits add to the age of that JWT. The row also has no request cap (#7920). If the Service is halted after the release, a person removes the halt record and restarts it (docs/CLUSTER.md).

Closes #7911

Change: openspec/changes/archive/2026-11-30-7911-rate-limit-message-403/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/service The long-running devops Service and its lanes labels Nov 30, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: 85b644fd69b368a5e185d000401efb14e56f402d

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
gitleaks success run
Service Image Tests (shard 1 of 6) success run
Service Image Tests (shard 3 of 6) success run
Service Image Tests (shard 2 of 6) success run
Service Image Tests (shard 4 of 6) success run
Service Image Tests (shard 6 of 6) success run
Service Image Tests (shard 5 of 6) success run
Trivy neutral run
Changed-Test Independence success run
Plan Check skipped run
CodeQL success run
Test Job Duration skipped run
Tests on Main skipped run
Tests & Coverage (shard 2 of 6) success run
Tests & Coverage (shard 1 of 6) success run
Tests & Coverage (shard 5 of 6) success run
Tests & Coverage (shard 6 of 6) success run
Tests & Coverage (shard 4 of 6) success run
Tests & Coverage (shard 3 of 6) success run
Runner Image success run
Changed-Test Independence (run 2 of 3) success run
Changed-Test Independence (run 3 of 3) success run
Design Tokens success run
Static Analysis success run
Changed-Test Independence (run 1 of 3) success run
Service Image success run
Semantic PR title success run
Fail-to-Pass Check success run
Service Image Build success run
Docs Site Build success run
Analyze (actions) success run
Analyze (python) success run

Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/46507938175/job/142163116854

Skipped check: Trivy
Skipped check: Plan Check
Skipped check: Test Job Duration
Skipped check: Tests on Main

@dan-petty
dan-petty marked this pull request as ready for review November 30, 2026 20:48
@dan-petty
dan-petty merged commit f197986 into main Nov 30, 2026
36 checks passed
@dan-petty
dan-petty deleted the fix/7911-rate-limit-message-403 branch November 30, 2026 20:50
dan-petty-release Bot added a commit that referenced this pull request Nov 30, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.265.0](v0.264.1...v0.265.0)
(2026-11-30)


### Features

* **docs:** check code-span paths in prompt documents
([#7941](#7941))
([68eb592](68eb592))


### Bug Fixes

* **roadmap:** accept requirement names and quoted stage commands
([#7939](#7939))
([3afb7b7](3afb7b7))
* **service:** read a 403 that names a rate limit as one
([#7940](#7940))
([f197986](f197986))
* **service:** redeliver once for the App with a valid JWT
([#7938](#7938))
([c92bfdb](c92bfdb))


### Performance Improvements

* **roadmap:** a stage return reads the Claude prompt cache
([#7931](#7931))
([b4af1d6](b4af1d6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/service The long-running devops Service and its lanes type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(service): GitHub refused the identity and rounds stopped

1 participant