Skip to content
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, Gradual Deployments #13429

Merged
merged 21 commits into from
Mar 29, 2024

Conversation

tanushree-sharma
Copy link
Contributor

@tanushree-sharma tanushree-sharma commented Mar 14, 2024

Documentation for Versions, Deployments, Gradual Deployments closed beta.

Copy link

github-actions bot commented Mar 14, 2024

This PR changes current filenames or deletes current files. Make sure you have redirects set up to cover the following paths:

  • /workers/configuration/deployments/

Copy link

cloudflare-pages bot commented Mar 14, 2024

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6bfcf96
Status: ✅  Deploy successful!
Preview URL: https://b395d18a.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://gradual-deployments.cloudflare-docs-7ou.pages.dev

View logs

Copy link

github-actions bot commented Mar 14, 2024

Files with changes (up to 15)

Original Link Updated Link
https://developers.cloudflare.com/workers/wrangler/commands/ https://gradual-deployments.cloudflare-docs-7ou.pages.dev/workers/wrangler/commands/
https://developers.cloudflare.com/workers/configuration/versions-and-deployments/gradual-deployments/ https://gradual-deployments.cloudflare-docs-7ou.pages.dev/workers/configuration/versions-and-deployments/gradual-deployments/
https://developers.cloudflare.com/workers/configuration/deployments/ https://gradual-deployments.cloudflare-docs-7ou.pages.dev/workers/configuration/deployments/
https://developers.cloudflare.com/workers/configuration/versions-and-deployments/ https://gradual-deployments.cloudflare-docs-7ou.pages.dev/workers/configuration/versions-and-deployments/
https://developers.cloudflare.com/workers/configuration/versions-and-deployments/rollbacks/ https://gradual-deployments.cloudflare-docs-7ou.pages.dev/workers/configuration/versions-and-deployments/rollbacks/
https://developers.cloudflare.com/workers/runtime-apis/bindings/version-metadata/ https://gradual-deployments.cloudflare-docs-7ou.pages.dev/workers/runtime-apis/bindings/version-metadata/
https://developers.cloudflare.com/workers/reference/migrate-to-module-workers/ https://gradual-deployments.cloudflare-docs-7ou.pages.dev/workers/reference/migrate-to-module-workers/
https://developers.cloudflare.com/learning-paths/workers/configure/intro-to-config/ https://gradual-deployments.cloudflare-docs-7ou.pages.dev/learning-paths/workers/configure/intro-to-config/

tanushree-sharma and others added 2 commits March 19, 2024 14:55
Co-authored-by: Brendan Irvine-Broque <birvine-broque@cloudflare.com>
tanushree-sharma and others added 2 commits March 28, 2024 00:57
Co-authored-by: Kate Tungusova <70746074+deadlypants1973@users.noreply.github.com>
Co-authored-by: Brendan Irvine-Broque <birvine-broque@cloudflare.com>
Copy link
Contributor

@deadlypants1973 deadlypants1973 left a comment

Choose a reason for hiding this comment

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

PCX final pt.1


## Deployments

Deployments track the version(s) of your Worker that are actively serving traffic. A deployment can consist of one or two versions of a Worker.
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe there's also something about technicality to consider on Brendan's suggestion. If a version is not serving traffic in that moment, is it not a version? Thinking about in the unlikely event of an outage. Maybe "currently deployed on Cloudflare's network" is the most accurate and objective we could get. But I'm good either option you choose.

content/workers/wrangler/commands.md Show resolved Hide resolved
content/workers/wrangler/commands.md Outdated Show resolved Hide resolved
content/workers/wrangler/commands.md Outdated Show resolved Hide resolved
Copy link
Contributor

@deadlypants1973 deadlypants1973 left a comment

Choose a reason for hiding this comment

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

PCX final pt. 2

content/workers/wrangler/commands.md Outdated Show resolved Hide resolved
content/workers/wrangler/commands.md Show resolved Hide resolved
content/workers/wrangler/commands.md Outdated Show resolved Hide resolved
content/workers/wrangler/commands.md Outdated Show resolved Hide resolved
content/workers/wrangler/commands.md Outdated Show resolved Hide resolved
content/workers/wrangler/commands.md Outdated Show resolved Hide resolved
content/workers/wrangler/commands.md Outdated Show resolved Hide resolved
content/workers/wrangler/commands.md Show resolved Hide resolved
content/workers/wrangler/commands.md Outdated Show resolved Hide resolved
content/workers/wrangler/commands.md Outdated Show resolved Hide resolved
…der. (#13554)

* Add documentation for the `Cf-Worker-Version-Key` header.

* Apply suggestions from code review

* Update content/workers/configuration/versions-and-deployments/gradual-deployments.md

* Apply suggestions from code review

Co-authored-by: Tanushree <87711021+tanushreesharma-cf@users.noreply.github.com>

* Add example of using a request header modification rule to set
Cloudflare-Workers-Version-Key.

---------

Co-authored-by: Brendan Irvine-Broque <birvine-broque@cloudflare.com>
Co-authored-by: Tanushree <87711021+tanushreesharma-cf@users.noreply.github.com>
@irvinebroque
Copy link
Contributor

Do analytics docs need updates to reflect version field? Logpush / Trace Events docs? To highlight breaking down metrics by version?

@tanushree-sharma
Copy link
Contributor Author

Do analytics docs need updates to reflect version field? Logpush / Trace Events docs? To highlight breaking down metrics by version?

Yes, but minor. Merging this PR since it's needed for tomorrow's wrangler release. Will follow up with additions in a separate PR.

@tanushree-sharma tanushree-sharma merged commit 7b7531e into production Mar 29, 2024
7 checks passed
@tanushree-sharma tanushree-sharma deleted the gradual-deployments branch March 29, 2024 05:35
@tanushree-sharma tanushree-sharma changed the title [do not merge] Versions, Deployments, Gradual Deployments Versions, Deployments, Gradual Deployments Mar 29, 2024
cmsparks pushed a commit that referenced this pull request Apr 1, 2024
* wip-deployments-update

* first pass at docs

* Apply suggestions from code review

Co-authored-by: Brendan Irvine-Broque <birvine-broque@cloudflare.com>

* wrangler commands & feedback

* Apply suggestions from code review

Co-authored-by: Jon Phillips <jonap2811@gmail.com>

* Apply suggestions from code review

Co-authored-by: Kate Tungusova <70746074+deadlypants1973@users.noreply.github.com>

* ESM limitation, wrangler updates

* Apply suggestions from code review

Co-authored-by: Kate Tungusova <70746074+deadlypants1973@users.noreply.github.com>

* Document gradual deployment benefit of ESM format

Link to gradual deployments docs from "Migrate to ESM" page

* [Workers] Remove note about D1 limitations with rollbacks (#13579)

* wrangler commands and edits

* Apply suggestions from code review

Co-authored-by: Kate Tungusova <70746074+deadlypants1973@users.noreply.github.com>
Co-authored-by: Brendan Irvine-Broque <birvine-broque@cloudflare.com>

* Apply suggestions from code review

PCX review

* PCX edits

* edits

* redirects

* Add gradual deployments documentation the `Cf-Worker-Version-Key` header. (#13554)

* Add documentation for the `Cf-Worker-Version-Key` header.

* Apply suggestions from code review

* Update content/workers/configuration/versions-and-deployments/gradual-deployments.md

* Apply suggestions from code review

Co-authored-by: Tanushree <87711021+tanushreesharma-cf@users.noreply.github.com>

* Add example of using a request header modification rule to set
Cloudflare-Workers-Version-Key.

---------

Co-authored-by: Brendan Irvine-Broque <birvine-broque@cloudflare.com>
Co-authored-by: Tanushree <87711021+tanushreesharma-cf@users.noreply.github.com>

* fixes

* keywords, broken link fixes

* redirect fix

---------

Co-authored-by: Brendan Irvine-Broque <birvine-broque@cloudflare.com>
Co-authored-by: Jon Phillips <jonap2811@gmail.com>
Co-authored-by: Kate Tungusova <70746074+deadlypants1973@users.noreply.github.com>
Co-authored-by: aaronlisman <83968625+aaronlisman@users.noreply.github.com>
Co-authored-by: Kate Tungusova <ktungusova@cloudflare.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants