Skip to content

Commit

Permalink
Merge pull request cloudflare#257 from cloudflare/changeset-release/main
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
penalosa authored May 1, 2024
2 parents b05934f + 983b634 commit ea5754c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
13 changes: 0 additions & 13 deletions .changeset/funny-boats-care.md

This file was deleted.

14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 3.5.0

### Minor Changes

- [#255](https://github.com/cloudflare/wrangler-action/pull/255) [`31a6263ef3ec73ff2d03cb4c0260379f96f7598c`](https://github.com/cloudflare/wrangler-action/commit/31a6263ef3ec73ff2d03cb4c0260379f96f7598c) Thanks [@matthewdavidrodgers](https://github.com/matthewdavidrodgers)! - Stop racing secret uploads

For up to date versions of wrangler, secrets are uploaded via the 'secret:bulk' command, which batches updates in a single API call.

For versions of wrangler without that capability, the action falls back to the single 'secret put' command for each secret. It races all these with a Promise.all()

Unfortunately, the single secret API cannot handle concurrency - at best, these calls have to wait on one another, holding requests open all the while. Often it times out and errors.

This fixes the legacy secret upload errors by making these calls serially instead of concurrently.

## 3.4.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wrangler-action",
"version": "3.4.1",
"version": "3.5.0",
"description": "GitHub Action to use [Wrangler](https://developers.cloudflare.com/workers/cli-wrangler/).",
"author": "[email protected]",
"license": "MIT OR Apache-2.0",
Expand Down

0 comments on commit ea5754c

Please sign in to comment.