Skip to content

chore: report active Harness context on timeout#3991

Draft
mrousavy wants to merge 1 commit into
mainfrom
fix/harness-active-timeout-context
Draft

chore: report active Harness context on timeout#3991
mrousavy wants to merge 1 commit into
mainfrom
fix/harness-active-timeout-context

Conversation

@mrousavy
Copy link
Copy Markdown
Owner

@mrousavy mrousavy commented Jun 3, 2026

Summary

Why

Latest main still fails Android with visioncamera.controller.harness.ts timing out at file level. The controller file has 19 tests, and Android reports 118 total tests instead of 137, so that whole file produced no completed test cases. Current Harness output cannot tell whether this is stuck in beforeAll/suite setup or in a specific controller test.

This diagnostic patch should make the next Android failure name the active suite or test. If it only names VisionCamera - Controller, the hang is before the first test starts. If it names an individual test, we can fix that specific native/app path.

Verification

  • bun install --frozen-lockfile
  • git diff --check
  • Local compiled-path smoke test: simulated DeviceNotRespondingError after suite-started and got Last started suite before the device stopped responding: VisionCamera - Controller.
  • Local compiled-path smoke test: simulated DeviceNotRespondingError after test-started and got Last started test before the device stopped responding: VisionCamera - Controller startZoomAnimation() animates the zoom.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-native-vision-camera-docs Ready Ready Preview, Comment Jun 3, 2026 11:14am

Request Review

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.

1 participant