Skip to content

validate id in wrangler containers delete and also include container API calls in WRANGLER_LOG=debug#10232

Merged
emily-shen merged 7 commits intomainfrom
emily/cc-deployment-errors
Aug 7, 2025
Merged

validate id in wrangler containers delete and also include container API calls in WRANGLER_LOG=debug#10232
emily-shen merged 7 commits intomainfrom
emily/cc-deployment-errors

Conversation

@emily-shen
Copy link
Copy Markdown
Contributor

Fixes CC-5810.

Previously we'd see DELETE method not allowed for the oauth_token authentication scheme when you try and do something like wrangler containers images delete <container-name>, because <container-name> didn't look like an ID to API gateway and it would get confused.

Also, added container API calls to the output of WRANGLER_LOG=debug, since I wanted to see that when i was debugging.


  • Tests
    • Tests included
    • Tests not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: bugfix
  • Wrangler V3 Backport
    • Wrangler PR:
    • Not necessary because: new

@emily-shen emily-shen requested review from a team as code owners August 5, 2025 14:18
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Aug 5, 2025

🦋 Changeset detected

Latest commit: 9bb8a47

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
wrangler Patch
@cloudflare/containers-shared Patch
@cloudflare/vite-plugin Patch
@cloudflare/vitest-pool-workers Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 5, 2025

Failed to automatically backport this PR's changes to Wrangler v3. Please manually create a PR targeting the v3-maintenance branch with your changes. Thank you for helping us keep Wrangler v3 supported!

Depending on your changes, running git rebase --onto v3-maintenance main emily/cc-deployment-errors might be a good starting point.

Notes:

  • your PR branch should be named v3-backport-10232
  • add the skip-v3-pr label to the current PR to stop this workflow from failing

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Aug 5, 2025

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@10232

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@10232

miniflare

npm i https://pkg.pr.new/miniflare@10232

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@10232

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@10232

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@10232

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@10232

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@10232

wrangler

npm i https://pkg.pr.new/wrangler@10232

commit: 9bb8a47

Copy link
Copy Markdown
Contributor

@petebacondarwin petebacondarwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a couple of nits

@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Aug 6, 2025
@emily-shen emily-shen force-pushed the emily/cc-deployment-errors branch from 9800622 to 85ce640 Compare August 6, 2025 16:23
@emily-shen emily-shen force-pushed the emily/cc-deployment-errors branch from 85ce640 to 9bb8a47 Compare August 7, 2025 08:56
@emily-shen emily-shen merged commit e7cae16 into main Aug 7, 2025
45 of 49 checks passed
@emily-shen emily-shen deleted the emily/cc-deployment-errors branch August 7, 2025 10:40
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants