ci: limit test workers and remove db:ensure dependency#490
Conversation
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
View your CI Pipeline Execution ↗ for commit ae4d2b9
☁️ Nx Cloud last updated this comment at |
8b4cc8e to
7a9d7a5
Compare
Merge activity
|
# Limit test workers and remove unnecessary dependency This PR makes two changes to improve test reliability and build efficiency: 1. Added `--maxWorkers=1` flag to vitest commands in the client package to prevent test flakiness by running tests sequentially 2. Removed the `db:ensure` dependency from the `test:unit` command in the edge-worker package since unit tests don't require a database connection These changes should help reduce test flakiness and improve build times by removing unnecessary dependencies.
7a9d7a5 to
ae4d2b9
Compare

Limit test workers and remove unnecessary dependency
This PR makes two changes to improve test reliability and build efficiency:
--maxWorkers=1flag to vitest commands in the client package to prevent test flakiness by running tests sequentiallydb:ensuredependency from thetest:unitcommand in the edge-worker package since unit tests don't require a database connectionThese changes should help reduce test flakiness and improve build times by removing unnecessary dependencies.