Skip to content

preserve startup rate-limit signals#196

Open
skepticfx wants to merge 2 commits intomainfrom
nafeez/CC-7608
Open

preserve startup rate-limit signals#196
skepticfx wants to merge 2 commits intomainfrom
nafeez/CC-7608

Conversation

@skepticfx
Copy link
Copy Markdown
Member

Keep the Cloudchamber backpressure error intact when container startup exhausts its retries so callers do not fall back to generic no-instance failures.

On the last retry there is no follow-up loop iteration to surface the monitor error. Preserve that runtime failure before falling back to the generic no-instance path.

Return HTTP 429 from containerFetch for the same startup error and cover the rate-limited paths with focused tests.

Keep the Cloudchamber backpressure error intact when container startup exhausts its retries so callers do not fall back to generic no-instance failures.

On the last retry there is no follow-up loop iteration to surface the monitor error. Preserve that runtime failure before falling back to the generic no-instance path.

Return HTTP 429 from containerFetch for the same startup error and cover the rate-limited paths with focused tests.
@skepticfx skepticfx requested a review from a team as a code owner May 4, 2026 15:55
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 4, 2026

Open in StackBlitz

npm i https://pkg.pr.new/cloudflare/containers/@cloudflare/containers@196

commit: 6fc6a46

Comment thread src/lib/container.ts Dismissed
The final retry path now preserves monitor errors before falling back to the generic no-instance failure.

Check for the fetch-level 'Network connection lost' case before handleError so ctx.abort() still runs when startup needs a full reconnect from scratch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants