Skip to content

fix(deploy): retry wrangler deploy on registry timeouts - #13

Merged
RedStar071 merged 1 commit into
mainfrom
redstar/fix-failed-deploy
Oct 18, 2026
Merged

RedStar071 merged 1 commit into
mainfrom
redstar/fix-failed-deploy

Conversation

@RedStar071

Copy link
Copy Markdown
Member

❓ Type of change

  • 🐞 Bug fix

📚 Description

The Cloudflare build failed at the image push: the registry timed out while committing one layer (failed to do request: Put ".../blobs/uploads/...": net/http: timeout awaiting response headers). The layers pushed before it stay on the registry, so deploy.sh now tries wrangler deploy up to three times and only resends what is missing.

The container install also skips wolfstar-github-edge, since the Worker is deployed from outside the image and doesn't need wrangler there. That only trims the layer a little: @openai/codex (~427 MB) and the Claude SDK (~224 MB) dominate it. If the timeout comes back, the next step is splitting the install layer in two.

🤖 AI disclosure: Wolfstar Agent Kit modified this description. My AI open-source policy.

- Retry wrangler deploy up to three times. The registry can time out while committing a large layer, and layers already pushed are kept, so a retry only sends what is missing.
- Leave the edge Worker out of the Container image's pnpm install, so wrangler and workerd stay out of the largest layer.
@coldtea-pr-lens

coldtea-pr-lens Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Architecture

Architecture diagram for wolfstar-project/wolfstar-agent-kit at 033f385

Play the walkthrough


Data flow

No data-flow sequence changed in this PR.


Review

✨ Nothing flagged · reviewed 033f385


Tip

Open a diagram on the canvas, then press W or click play to walk through the change one step at a time

🪧 More tips
  • Run npx skills add coldteadotai/pr-lens, then tell your coding agent: "Diagram the change you just made with PR Lens and attach it to the pull request."
  • Run npx @coldtea/pr-lens-cli analyze --base origin/main on a branch, then npx @coldtea/pr-lens-cli render .pr-lens/graph.json. Same lenses, your own model key, before the pull request exists
  • Click the link under each diagram to open it on a canvas you can zoom, pan and step through
  • The diagrams are links. Click one to open it on the canvas, then press W or click play to walk through the change
  • The CLI's render reads .github/pr-lens.yml and applies your renames, exclusions and lane pins at draw time
  • Set github.comment.collapsed: true in .github/pr-lens.yml to fold the comment behind one View architecture and data flow row. Drawing still runs as before
  • Set github.draw: on-demand in .github/pr-lens.yml and PR Lens stops drawing pull requests on its own. Comment @pr-lens draw on a pull request when you want that one drawn
  • Add .github/workflows/pr-lens.yml with coldteadotai/pr-lens/packages/action@v0 and your model provider's key as its api-key to run PR Lens from your own CI. Any /chat/completions endpoint works
  • After a push, tick Redraw to draw the latest commit
  • Switch GitHub to dark mode and the diagrams follow. The moving dots are this pull request's data in motion

Thanks for using PR Lens! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out on X, Bluesky, Mastodon, Reddit or LinkedIn

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Failed ❌

View logs ↗
033f385 2026-10-18T08:05:09.677Z View logs ↗

@RedStar071
RedStar071 merged commit 69fed3b into main Oct 18, 2026
12 of 14 checks passed
@RedStar071
RedStar071 deleted the redstar/fix-failed-deploy branch October 18, 2026 13:53
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.

1 participant