-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix(core): prevent starting new run when cancelling #8991
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
fix(core): prevent starting new run when cancelling #8991
Conversation
bail: 1 race condition test
✅ Deploy Preview for vitest-dev ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
| // No "Error: [vitest-pool]: Cannot run tasks while pool is cancelling" errors should show up | ||
| expect(errors).toHaveLength(0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Example failure without the fix:
sheremet-va
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we merge both solutions? 😄
70e8838 to
503d506
Compare
I would rather not have this logic on multiple levels. And it would be good to see pool throwing the error when But feel free to choose one or both. |
|
I don't mind as long as it's fixed |
|
Any way we can get this merged? |
503d506 to
5dc88d2
Compare
Description
Alternative for #8971.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yamlunless you introduce a new test example.Tests
pnpm test:ci.Documentation
pnpm run docscommand.Changesets
feat:,fix:,perf:,docs:, orchore:.