Skip to content

fix(web): settle cancelled camera startup waits - #331

Merged
rsasaki0109 merged 3 commits into
mainfrom
codex/camera-startup-completion
Oct 21, 2026
Merged

rsasaki0109 merged 3 commits into
mainfrom
codex/camera-startup-completion

Conversation

@rsasaki0109

Copy link
Copy Markdown
Owner

Camera/sample startup could remain pending after Stop once worker readiness had completed but camera acquisition or video playback had not. Race both startup waits against a per-run cancellation completion, returning false on Stop, replacement, failure or the preparation deadline while retaining late-stream cleanup and presenter ownership checks.

Validation: both parent browser failures reproduced; 77 JS tests, 6 asset controls and 73 real WASM/model browser checks pass. Seven owned local commands are terminal, with no compiler-cache growth. Reuse pinned vendor hardlinks and the existing WASM; preserve 613 prior camera/renderer files, 493 scientific JSON and 42 frozen native artifacts.

Native getUserMedia/video.play work is not cancelled. Physical phone/Safari behavior and operational 80% qualification remain open. Slice 146AQ; source-bound evidence is in docs/receipts/2026-10-21_camera_startup_completion.json. Exact-source CI and the matching public Pages release are verified during delivery.

@rsasaki0109
rsasaki0109 merged commit f46e7e9 into main Oct 21, 2026
132 checks passed
@rsasaki0109
rsasaki0109 deleted the codex/camera-startup-completion branch October 22, 2026 03:22
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