-
Notifications
You must be signed in to change notification settings - Fork 757
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
Versions deployments commands #5224
Conversation
🦋 Changeset detectedLatest commit: 2b3b8d6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
packages/wrangler/src/__tests__/versions/deployments/deployments.list.test.ts
Outdated
Show resolved
Hide resolved
packages/wrangler/src/__tests__/versions/deployments/deployments.list.test.ts
Outdated
Show resolved
Hide resolved
packages/wrangler/src/__tests__/versions/deployments/deployments.status.test.ts
Outdated
Show resolved
Hide resolved
packages/wrangler/src/__tests__/versions/deployments/deployments.list.test.ts
Outdated
Show resolved
Hide resolved
}; | ||
|
||
/** | ||
* Render a set of labelled values into a string with the values aligned |
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.
Example inputs/outputs in this comment might be nice.
2e1a960
to
50911dd
Compare
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/workers-sdk/runs/8262904278/npm-package-wrangler-5224 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/5224/npm-package-wrangler-5224 Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8262904278/npm-package-wrangler-5224 dev path/to/script.js Additional artifacts:npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8262904278/npm-package-create-cloudflare-5224 --no-auto-update npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8262904278/npm-package-cloudflare-kv-asset-handler-5224 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8262904278/npm-package-miniflare-5224 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8262904278/npm-package-cloudflare-pages-shared-5224 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8262904278/npm-package-cloudflare-vitest-pool-workers-5224 Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5224 +/- ##
==========================================
+ Coverage 70.99% 71.27% +0.27%
==========================================
Files 304 309 +5
Lines 15927 16075 +148
Branches 4080 4105 +25
==========================================
+ Hits 11308 11458 +150
+ Misses 4619 4617 -2
|
f1b4772
to
a608e35
Compare
aac9941
to
ad4879e
Compare
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.
Approving pending chnageset as this is a user facing change, albeit experimental. 👍
a608e35
to
2f6d5e8
Compare
ad4879e
to
1041b08
Compare
2f6d5e8
to
1310333
Compare
85d1c08
to
d8f425e
Compare
8c2292a
to
efd3514
Compare
… writing it directly to stdout this will allow for nested alignment
in all versions/deployments commands
104f255
to
2b3b8d6
Compare
([version_id, percentage]) => ({ version_id, percentage }) | ||
), | ||
annotations: { | ||
"workers/triggered_by": "deployment", |
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.
Ahh, whoops, this was supposed to be redacted for Deployments as it was for versions, sorry for the confusion!
This got lost in translation: cloudflare#5224 (comment)
…5306) This got lost in translation: #5224 (comment)
What this PR solves / how to test
This PR implements the
wrangler deployments list
andwrangler deployments status
commands. These will replace the existing deployments commands but, for now, you must specify--experimental-gradual-rollouts
to run these new commands, for example:Author has addressed the following