Skip to content

refactor: crash detection#133

Merged
V3RON merged 18 commits into
mainfrom
refactor/crash
May 29, 2026
Merged

refactor: crash detection#133
V3RON merged 18 commits into
mainfrom
refactor/crash

Conversation

@V3RON
Copy link
Copy Markdown
Contributor

@V3RON V3RON commented May 28, 2026

Summary

  • refactor crash detection around app sessions across Android and iOS
  • add Android logcat-backed app sessions and iOS device console capture for native crash evidence
  • add Playground native crash module variants and a manual crash screen for real-device validation

Testing

  • pnpm test:all
  • pnpm lint:all
  • pnpm typecheck:all
  • pre-push hook: Nx test + build subset passed

Notes

  • pnpm test:all failed once due to a flaky @react-native-harness/jest:test unhandled ENOENT in resource-lock.test.ts, then passed on rerun
  • left unrelated local changes unstaged: apps/playground/ios/Podfile, apps/playground/rn-harness.config.mjs, apps/playground/src/__tests__/smoke.harness.ts, apps/playground/tsconfig.tsbuildinfo, and apps/playground/ios/HarnessPlayground.xcodeproj/project.pbxproj

V3RON added 4 commits May 28, 2026 09:39
Introduce AppSession lifecycle ownership, classify bridge disconnects via cached session state, and attach scoped session log evidence to runtime failures.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

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

Project Deployment Actions Updated (UTC)
react-native-harness Ready Ready Preview, Comment May 29, 2026 10:05am

Request Review

@V3RON V3RON changed the title rewrite the crash detection refactor: crash detection May 28, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

Deployment failed with the following error:

The provided GitHub repository does not contain the requested branch or commit reference. Please ensure the repository is not empty.

V3RON added 4 commits May 29, 2026 10:10
Wire AppSession crash reporters on iOS and Android, persist extracted artifacts through the harness writer, and enrich Android crashes with DropBox and exit-info dumps when logcat evidence is missing or incomplete.
Delete the transitional iOS and Android app-monitor implementations and drop the AppMonitor types from the shared platforms contract now that sessions own launch, logs, exit observation, and crash extraction.
Add a shared tools formatPath helper and use it when rendering native crash artifact paths in Jest error output.
Delay iOS exit detection until the app has been observed, filter stale Android Dropbox artifacts, and honor disabled native crash detection during startup readiness.
# Conflicts:
#	packages/jest/src/__tests__/errors.test.ts
@V3RON V3RON merged commit d576bda into main May 29, 2026
6 checks passed
@V3RON V3RON deleted the refactor/crash branch May 29, 2026 10:07
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