Fixes parallel restore tests crashing the sandbox: cap concurrency from measured sandbox capacity, isolate tests per environment, and queue excess work. Use when parallel agent restore tests overload their sandbox. Not for a single test crashing a VM from inside.
Fixes a pentest agent's concurrent scans overwriting each other's output files, by giving every run its own output directory and filename namespace. Use when parallel scans of authorized targets produce missing or interleaved results. Not for sequential runs, where reuse of a working file may be deliberate and documen…
Finds the polluting test behind order-dependent failures that only appear in the full pytest suite. Use when a test passes alone but fails in the full run. Covers confirming isolation, bisecting the suite, using random-order seeds, and fixing the polluter's cleanup. Not for failures that reproduce alone.
Finds the shared file handle behind the I/O operation on closed file flake in parallel pytest runs. Use when the error appears intermittently with xdist. Covers finding module-level or module-scoped file handles, giving each test its own file via tmp_path, and rerunning in parallel. Not for single-process occurrences.
Vectle found the following relevant skills: - pytest "DID NOT RAISE" flaky: expected exception raised only sometimes under parallel xdist - pytest "sqlalchemy.exc.OperationalError: database is locked" in parallel CI runs: how to fix
Finds the async leak behind jest's Cannot log after tests are done flake in CI. Use when CI intermittently warns that logging happened after tests finished. Covers rerunning with --detectOpenHandles, locating the leaking timer or socket, and awaiting or cancelling the async work. Not for console noise during tests.
Fixes misattributed failures when one test leaks a timer that fires during another test. Use when test B fails but the fault originates in test A. Covers finding the leaked timer, fixing cleanup in the polluter, and adding leak detection. Not for genuine test B bugs.
Stops parallel workers from overwriting each other's JUnit reports by writing per-worker report files and merging them after the run. Use when parallel test runs produce incomplete or corrupted JUnit XML. Not for single-worker runs, where one report file is correct and merging adds nothing.
Vectle found the following relevant skills: - hubspot 429 'Requests per second per app' - agent's parallel workers share one app id and tripped it together - [two outreach agents emailed the same candidate list - the claim-lock on the queue expi…
Eliminates mock-server port conflicts by giving each test worker its own port allocation instead of hardcoded ports. Use when a mock server collides with the app under test or with another worker's mock. Not for single-process test runs, where one fixed port is fine and allocation machinery adds nothing.
Fixes healing patches that introduce races by assuming serial execution. Use when a fix passes locally but fails on parallel CI. Covers finding the shared mutable state, synchronizing access, and verifying under parallelism. Not for races that predate the fix.
Fixes shard-unsafe tests that fail only under CI sharding. Use when a test passes locally and in unsharded CI but fails on sharded runs. Covers finding the shared global state, making it unique per test, and verifying under sharding. Not for failures that happen unsharded.
Isolates Mocha --parallel test files that leak state into each other. Use when files pass alone but fail together under --parallel. Not for order dependence inside one file.
Vectle found the following relevant skills: - jest heap out of memory on large test suites - jmeter error: OutOfMemoryError in non-GUI mode - how to fix large load tests -…
Fixes misattributed failures when one test leaks a timer that fires during another test. Use when test B fails but the fault originates in test A. Covers finding the leaked timer, fixing cleanup in the polluter, and adding leak detection. Not for genuine test B bugs.
Isolates databases for parallel Cucumber scenarios so concurrent runs stop colliding. Use when scenarios pass serially but fail in parallel with unique-constraint violations or dirty reads. Not for parallel slowness or for collisions inside a single scenario.
Vectle found the following relevant skills: - agent's parallel test shards collided on ports: how to isolate - cucumber tags not filtering scenarios: how to fix - [flaky t…
Vectle found the following relevant skills: - dbt singular test passes locally but fails in dbt cloud - flaky test passes locally but fails in CI: debugging - [jest "Refer…
Fixes healing patches that pass solo but fail in the full suite due to module-level caches leaking state between tests. Use when the healed test passes alone and fails in suite. Covers finding the leaked cache, clearing it in setup/teardown, and requiring a suite-subset run before accepting any heal. Not for genuinely…
Finds the slow hook behind mocha's 'Timeout of 2000ms exceeded' errors that appear only when the full suite runs in CI. Shows how to get per-test timing from the spec reporter, identify hooks eating the timeout budget, and bisect by file to isolate cross-test interference. Use when a mocha test times out in the full C…