Repository navigation
fix(web): own camera worker transport failures - #332
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Worker initialization-send exceptions could leave an unhandled readiness rejection, and message-deserialization failures retained active camera/sample sessions until a deadline. Complete readiness through existing run cancellation, and register a standard messageerror event listener owned by the run abort signal. Cleanup releases timers, pending capture, tracks, worker and blob URL while old callbacks retain replacement ownership checks.
Validation: both parent failures reproduced; final 84 JS tests, 6 asset controls and 82 real WASM/model browser checks pass. Preserve the first candidate browser failure and a native probe showing that the installed Chromium exposes no onmessageerror property but invokes a standard event listener. Eleven guarded local commands are terminal (ten successful, one retained browser failure), plus the completed native probe.
Reuse existing WASM and pinned vendor hardlinks, with zero compiler-cache growth; preserve 692 prior camera/renderer files, 493 scientific JSON and 42 frozen native artifacts. Message-error injection does not qualify physical phone/Safari faults or native-operation cancellation. Slice 146AR; evidence is in docs/receipts/2026-10-22_camera_worker_transport.json. Exact-source CI and the matching public Pages release are verified during delivery.