Skip to content

fix(vscode): prevent hanging test runs on worker failures#1014

Merged
fi3ework merged 1 commit intomainfrom
fix/vscode-handle-worker-failures
Mar 5, 2026
Merged

fix(vscode): prevent hanging test runs on worker failures#1014
fi3ework merged 1 commit intomainfrom
fix/vscode-handle-worker-failures

Conversation

@fi3ework
Copy link
Copy Markdown
Member

@fi3ework fi3ework commented Mar 5, 2026

Summary

  • ensure VS Code test runs always finish when worker.runTest rejects by handling errors in RstestApi.runTest
  • surface worker failures to users via test output and showErrorMessage, and close worker in continuous mode on failure
  • harden project-side async flows by catching init/runtime list errors and resetting busy in a finally block to avoid stuck UI state

Validation

  • npm run typecheck (packages/vscode)
  • pnpm biome check packages/vscode/src/master.ts packages/vscode/src/project.ts
  • npm run test:e2e (packages/vscode)

@fi3ework fi3ework enabled auto-merge (squash) March 5, 2026 11:04
@fi3ework fi3ework merged commit be1768d into main Mar 5, 2026
16 of 18 checks passed
@fi3ework fi3ework deleted the fix/vscode-handle-worker-failures branch March 5, 2026 11:35
@9aoy 9aoy mentioned this pull request Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant