Skip to content

fix: report fixture teardown errors once - #11857

Merged
sheremet-va merged 1 commit into
mainfrom
fix/fixture-teardown-errors
Nov 4, 2026
Merged

sheremet-va merged 1 commit into
mainfrom
fix/fixture-teardown-errors

Conversation

@sheremet-va

Copy link
Copy Markdown
Member

callFixtureCleanupFrom kept a cleanup in the list when it threw, so callFixtureCleanup awaited the same rejected teardown again and the error was reported twice (since #9450). The loop also stopped at the first error, so the other teardowns (including the fixture's dependencies) never ran, and with retry the next attempt failed on the previous attempt's teardown error.

Cleanups are now removed from the list before they run, every cleanup runs even if one throws, and several errors are thrown as an AggregateError.

@netlify

netlify Bot commented Nov 3, 2026

Copy link
Copy Markdown

✅ Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit 2632fa3
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/6aea0239e0305f280bc3c925
😎 Deploy Preview https://deploy-preview-11857--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@flakiness-io

flakiness-io Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Test Results Summary

This comment shows the latest test results for this pull request.

Commit Status Test Results CI Runs
2632fa3 ✅ Passed 29646 passed · 234 flaky · 1173 skipped 27 runs
⚠️ 234 flaky

⚠️ Ubuntu 24.04 · threads test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ Ubuntu 24.04 · vmThreads test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ Ubuntu 24.04 · threads test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ win 10.0.26100 · threads test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ win 10.0.26100 · vmThreads test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ win 10.0.26100 · forks test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ Ubuntu 24.04 · forks test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ Ubuntu 24.04 · vmThreads test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ Ubuntu 24.04 · forks test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ Ubuntu 24.04 · threads test/unit/test/retry.test.ts:61 › describe object add(1, 1) › returned value not be less than 2
…and 224 more

View full report

ℹ️ About Flakiness.io in GitHub

Your team has set up Flakiness.io pull request comments. This comment is updated when

  • The first test results arrive for this pull request
  • A later run reports more results for the same commit
  • A new commit is pushed and tested

Flakiness.io rewrites the comment in place, so it always reflects the most recently tested commit.

@sheremet-va
sheremet-va merged commit 6b167eb into main Nov 4, 2026
32 checks passed
@sheremet-va
sheremet-va deleted the fix/fixture-teardown-errors branch November 4, 2026 08:53
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant