-
Notifications
You must be signed in to change notification settings - Fork 757
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
ci: disable file parallelism for fixture tests #5159
Conversation
|
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8157203385/npm-package-wrangler-5159 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/5159/npm-package-wrangler-5159 Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8157203385/npm-package-wrangler-5159 dev path/to/script.js Additional artifacts:npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8157203385/npm-package-create-cloudflare-5159 --no-auto-update npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8157203385/npm-package-cloudflare-kv-asset-handler-5159 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8157203385/npm-package-miniflare-5159 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8157203385/npm-package-cloudflare-pages-shared-5159 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8157203385/npm-package-cloudflare-vitest-pool-workers-5159 Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
Blocked on #5161 |
Some of the `get-{bindings,platform}-proxy` tests have been flaking in CI recently. I think this is because they're trying to connect to the dev registry, but the dev registry was started by an earlier test that just finished. This leads to socket errors like `other side closed`. The proper solution to this problem is to start a dev registry for each test (file). We could do this by assigning a different dev registry port for each test (file/project). In the meantime, this change disables parallelism for the fixture tests, ensuring if a dev registry is started, it is definitely shut down before another test begins.
3f3bc63
to
7289973
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5159 +/- ##
==========================================
+ Coverage 70.31% 70.36% +0.04%
==========================================
Files 298 298
Lines 15551 15551
Branches 4001 4001
==========================================
+ Hits 10935 10942 +7
+ Misses 4616 4609 -7 |
What this PR solves / how to test
Some of the
get-{bindings,platform}-proxy
tests have been flaking in CI recently. I think this is because they're trying to connect to the dev registry, but the dev registry was started by an earlier test that just finished. This leads to socket errors likeother side closed
. The proper solution to this problem is to start a dev registry for each test (file). We could do this by assigning a different dev registry port for each test (file/project). In the meantime, this change disables parallelism for the fixture tests, ensuring if a dev registry is started, it is definitely shut down before another test begins.Author has addressed the following