You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(#243): classify startAndroidRunner startup failures as RN_ANDROID_RUNNER_DOWN (B191)
startAndroidRunner has two rejection shapes the classifier missed:
'exited before readiness' (app not installed / am instrument crash) and
'Failed to spawn' (adb missing). Both are runner-down conditions thrown
inside runAndroid's try{} — they escaped as raw exceptions instead of
the structured retryable error #243 introduced.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(#244): never classify an unparseable close payload as benign (B192)
The plain-text fallback ran the session-gone regex over the FULL raw
content when JSON.parse failed, contradicting the documented invariant
(match only the error field). A non-JSON adb error mentioning 'no
active session' anywhere would be swallowed and local session state
cleared while the underlying session might still be alive. Unparseable
payloads now surface unchanged.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* chore(B191,B192): changeset for post-flow lifecycle hardening
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
fix(B191,B192): post-flow lifecycle hardening follow-ups to #243/#244. `isAndroidConnectionFailure` now also classifies `startAndroidRunner`'s startup-failure shapes (`exited before readiness`, `Failed to spawn Android runner instrumentation`) into the structured retryable `RN_ANDROID_RUNNER_DOWN` instead of letting a startup crash escape as a raw exception. And `isBenignSessionGoneError` no longer runs its session-gone regex over unparseable (non-JSON) close payloads — with no error field to scope the match to, they surface unchanged, so a real close failure whose raw text merely mentions "no active session" can't be silently swallowed.
0 commit comments