cloudflare / cloudflare/workers-sdk

Create an emergency revert script for when a release is broken

Open
#14,219 0 comments 0 reactions 0 assignees View on GitHub
maintenance
Dominant language
TypeScript
Stars
4.5k
Forks
1.5k
Avg merge
3d 8h
Merged PRs (30d)
187

Description

If a release of Wrangler is broken we need to revert. This means doing the following:

1. move the npm `latest` dist-tag for Wrangler and its dependencies (e.g. Miniflare etc) and its peer dependents (e.g. Vite plugin) back to working versions.
2. mark the "bad" versions as deprecated

This is awkward to do manually so it would be helpful to have a script that automates the task.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Wrangler release process and identifying the listed dependencies and peer dependents whose npm dist-tags must be changed. The work is done when a script can move affected packages back to working versions and deprecate the bad versions consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.