Skip to content

fix: report active test on device timeout#136

Closed
mrousavy wants to merge 1 commit into
callstackincubator:mainfrom
mrousavy:fix/report-active-test-on-timeout
Closed

fix: report active test on device timeout#136
mrousavy wants to merge 1 commit into
callstackincubator:mainfrom
mrousavy:fix/report-active-test-on-timeout

Conversation

@mrousavy
Copy link
Copy Markdown

@mrousavy mrousavy commented Jun 2, 2026

Summary

When the host-side runTests(file) bridge RPC times out, include the last app-side test that emitted test-started but has not emitted test-finished yet.

This keeps the existing DeviceNotRespondingError behavior, but makes timeout failures actionable for long-running native Promise hangs. Instead of only reporting that the whole test file did not respond, Jest output can now include the active test name.

Test

  • corepack pnpm exec vitest run --config vite.config.ts src/__tests__/execute-run.test.ts from packages/jest

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 2, 2026

@mrousavy is attempting to deploy a commit to the Callstack Team on Vercel.

A member of the Team first needs to authorize it.

@V3RON
Copy link
Copy Markdown
Contributor

V3RON commented Jun 3, 2026

Closing as superseded by #138. That PR now reports runtime test and suite-hook timeouts directly from the runtime, includes pending promise diagnostics, and restarts the app after timeout cleanup.

@V3RON V3RON closed this Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants