workers-sdk
workers-sdk copied to clipboard
Concurrent fixture tests
This makes all the fixture tests less flaky, since they no longer compete for fixed ports. They all now start up on port 0 and await a message from wrangler telling them which port they were assigned. This means that the fixtures can be run concurrently.
- [x] Announce with IPC running server
- [x] Re-write tests to be concurrent and consume IPC message
- [x]
local-mode-tests - [x] Actually run the fixtures concurrently
- [x]
external-durable-objects-app - [ ]
service-bindings-app - [ ] https://github.com/cloudflare/miniflare/pull/382
⚠️ No Changeset found
Latest commit: edac49a0435baa954fa8b3626b6db39cac6be399
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
A wrangler prerelease is available for testing. You can install this latest build in your project with:
npm install --save-dev https://prerelease-registry.developers.workers.dev/runs/3083612480/npm-package-wrangler-1877
You can reference the automatically updated head of this PR with:
npm install --save-dev https://prerelease-registry.developers.workers.dev/prs/1877/npm-package-wrangler-1877
Or you can use npx with this latest build directly:
npx https://prerelease-registry.developers.workers.dev/runs/3083612480/npm-package-wrangler-1877 dev path/to/script.js
Codecov Report
Merging #1877 (757f493) into main (adfc52d) will decrease coverage by
0.00%. The diff coverage is75.00%.
:exclamation: Current head 757f493 differs from pull request most recent head edac49a. Consider uploading reports for the commit edac49a to get more accurate results
@@ Coverage Diff @@
## main #1877 +/- ##
==========================================
- Coverage 77.49% 77.48% -0.01%
==========================================
Files 105 105
Lines 7473 7472 -1
Branches 1972 1971 -1
==========================================
- Hits 5791 5790 -1
Misses 1682 1682
| Impacted Files | Coverage Δ | |
|---|---|---|
| packages/wrangler/src/dev/local.tsx | 30.67% <0.00%> (ø) |
|
| packages/wrangler/src/dev.tsx | 85.30% <100.00%> (-0.07%) |
:arrow_down: |
| packages/wrangler/src/dev/start-server.ts | 76.00% <100.00%> (ø) |
I love this!