Commit graph

37 commits

Author SHA1 Message Date
github-actions[bot]
d1b97ebf4d Version Packages 2024-05-24 15:16:10 +00:00
Maximo Guk
2d275a8f2d
Revert "(feat): Use existing wrangler installation when appropriate (#235)"
This reverts commit 0545ad285a.
2024-05-24 10:04:14 -05:00
github-actions[bot]
8ef515f899
Version Packages (#262)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-23 15:58:20 +01:00
Adishwar Rishi
0545ad285a
(feat): Use existing wrangler installation when appropriate (#235)
* (feat): Check for existing wrangler installation

* Add test for pre-installed wrangler

* Add changeset

* Address CR comments - check for an exact wrangler version match

* Tweak the fixture test for the pre-installed-wrangler test

* Simplify if/else logic for checking wrangler versions as per review notes

* fix(test): Fix execution for fake wrangler installation

* fixup! fix(test): Fix execution for fake wrangler installation

* Setup new CI test convention for wrangler-action

* Remove unncessary ts-expect-error comments

---------

Co-authored-by: Peter Bacon Darwin <pbacondarwin@cloudflare.com>
2024-05-15 09:53:41 +01:00
github-actions[bot]
983b6349c2 Version Packages 2024-04-30 12:52:35 +00:00
Matthew Rodgers
31a6263ef3 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.
2024-04-26 15:44:18 -07:00
github-actions[bot]
7451182d38 Version Packages 2024-01-05 18:08:21 +00:00
Adishwar Rishi
bbedd8e54f
Add changeset 2024-01-05 18:06:15 +11:00
github-actions[bot]
f2d9b652c4 Version Packages 2023-12-13 17:17:49 +00:00
Cina Saffary
bd3857047e
Apply suggestions from code review 2023-12-13 11:15:50 -06:00
GrantBirki
d13856dfc9
add changeset 2023-12-13 10:10:20 -07:00
James Ross
9aba9c34da
fix: semver comparison (#216)
* fix: semver comparison

chore: bump dependencies

* chore: add changeset

* fix: update snapshot for error test
2023-12-13 09:53:47 +00:00
github-actions[bot]
21a8414ba3 Version Packages 2023-10-19 17:39:52 +00:00
Cina Saffary
473d9cbd29 Bump DEFAULT_WRANGLER_VERSION to 3.13.2 2023-10-18 17:04:41 -05:00
Cina Saffary
76d614f400 Add changeset 2023-10-18 16:42:34 -05:00
github-actions[bot]
b2e459a047 Version Packages 2023-10-11 16:31:53 +00:00
Cina Saffary
a4509d507c Don't set packageManager default via action.yml
We need to distinguish between when the value is and isn't set in order to perform inference based on lockfile and only fallback to the default of npm if inference fails.
2023-10-10 18:00:32 -05:00
github-actions[bot]
326ba30882 Version Packages 2023-10-10 20:20:04 +00:00
Jacob Andersen
d9a0a00f8b
Add changeset 2023-10-10 12:41:00 -07:00
github-actions[bot]
caa59485d0 Version Packages 2023-10-10 14:16:00 +00:00
Cina Saffary
528687aaf4 Refactor to use npm as a fallback if no packageManager specified...
and no lockfile is present. Fixes #180
2023-10-09 17:20:09 -05:00
github-actions[bot]
e0254d06bc Version Packages 2023-09-18 19:12:19 +00:00
Han Yeong-woo
6771675815
Run format 2023-09-19 01:37:01 +09:00
Jacob M-G Evans
4ae0557f8d
Update two-rocks-hope.md 2023-09-18 11:33:50 -05:00
Han Yeong-woo
7d7b98826e
Add changeset 2023-09-19 01:30:36 +09:00
github-actions[bot]
26103fa86c Version Packages 2023-08-30 14:04:59 +00:00
Cina Saffary
e5251df521 Refactor error handling to stop execution on errors. Fixes #160. 2023-08-29 16:36:50 -05:00
github-actions[bot]
fcbabec21e Version Packages 2023-08-16 15:55:01 +00:00
Jacob M-G Evans
3f40637a1c
Quiet feature
Some of the stderr, stdout, info & groupings can be a little noisy for some users and use cases.
This feature allows for a option to be passed 'quiet: true' this would significantly reduce the noise.

There will still be output that lets the user know Wrangler Installed and Wrangler Action completed successfully.
Any failure status will still be output to the user as well, to prevent silent failures.

resolves #142
2023-08-16 09:37:29 -05:00
github-actions[bot]
55b80c5f62 Version Packages 2023-08-10 21:11:56 +00:00
Jacob M-G Evans
58f274b9f7
Revert "Version Packages" 2023-08-10 16:11:02 -05:00
github-actions[bot]
d63b9dc486 Version Packages 2023-08-10 21:06:00 +00:00
Jacob M-G Evans
554eea134a
Revert "Version Packages" 2023-08-10 16:05:14 -05:00
github-actions[bot]
0f5076c3e7 Version Packages 2023-08-10 20:55:38 +00:00
Jacob M-G Evans
88466ea5ae
Update .changeset/itchy-buses-grow.md
Co-authored-by: Cina Saffary <itscina@gmail.com>
2023-08-10 14:51:00 -05:00
Jacob M-G Evans
74433eb31e
Additional Error Handling
Previously, we prevented any error logs from propagating too far to prevent leaking of any potentially sensitive information. However, this made it difficult for developers to debug their code.

In this release, we have updated our error handling to allow for more error messaging from pre/post and custom commands. We still discourage the use of these commands for secrets or other sensitive information, but we believe this change will make it easier for developers to debug their code.

Relates to #137
2023-08-10 10:11:35 -05:00
Jacob M-G Evans
311d514d9d
Add Changesets 2023-08-08 17:14:09 -05:00