-
Notifications
You must be signed in to change notification settings - Fork 774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix wrangler publish --dry-run to not require authentication with queues #2631
Conversation
🦋 Changeset detectedLatest commit: 5a9d2d6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/runs/4025332909/npm-package-wrangler-2631 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/prs/2631/npm-package-wrangler-2631 Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/runs/4025332909/npm-package-wrangler-2631 dev path/to/script.js Additional artifacts:npm install https://prerelease-registry.devprod.cloudflare.dev/runs/4025332909/npm-package-cloudflare-pages-shared-2631 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a changeset? npx changeset
in the repo root
Codecov Report
@@ Coverage Diff @@
## main #2631 +/- ##
==========================================
- Coverage 73.32% 73.32% -0.01%
==========================================
Files 159 159
Lines 9852 9848 -4
Branches 2627 2626 -1
==========================================
- Hits 7224 7221 -3
+ Misses 2628 2627 -1
|
When wrangler configuration has queues, wrangler publish dry-run requires the user to be logged in. This is not the expected behavior. This originates from wrangler publish ensuring that configured queues actually exists on the user account. This should not be a concern for dry-run. This commit fixes this.
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
thanks @rozenmd. Anything special to merge the change? It seems I don't have permission to do this. |
Oh sorry about that, merging |
When wrangler configuration has queues, wrangler publish dry-run requires the user to be logged in.
This is not the expected behavior.
This originates from wrangler publish ensuring that configured queues actually exists on the user account.
This should not be a concern for dry-run. This commit fixes this.
What this PR solves / how to test:
Associated docs issues/PR:
Author has included the following, where applicable:
- [ ] TestsReviewer has performed the following, where applicable:
- [ ] Checked for inclusion of relevant tests- [ ] Checked for creation of associated docs updatesFixes #2630 .