fix(media): prevent looping local video tasks from stopping at EOF - #100
Merged
nquyencubas523-cloud merged 2 commits intoAug 18, 2026
Merged
Conversation
athenawxd
force-pushed
the
feat/model-guard-v2.3
branch
from
August 17, 2026 10:25
ef4d7a4 to
967f6ba
Compare
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.
Related issue
P0 release blocker observed during three-platform soak preparation; no public issue has been assigned.
Root cause
At EOF, a looping local video briefly published terminal
AlgDemuxReadEndbefore reopening. If the camera monitor sampled that transient state after the queue drained, it interpreted the loop boundary as permanent completion and persistently disabled every task bound to the channel.The release-candidate devices reproduced this as:
Scope
ReopenorCompletewith a shared policyrepeatPendingstate to the camera monitorNo package format, serialized camera contract, model, or public API is changed.
Candidate identity
Candidate commit: 7d36dba
Base branch:
feat/model-guard-v2.3Verification
git diff --check: passedcosmo-tests: passed (run 31994320703)Safety Helmet.mp4, 8 channels, two CV tasks per channel, 5 FPS, checkpoints at 4h / 24h / 72hAcceptance and cleanup
Acceptance requires the final packages to be rebound to this commit and all three platforms to retain 16 complete bindings without EOF-triggered task disablement. The staged soak is not considered passed until its 4h, 24h, and 72h checkpoints complete. Temporary benchmark channels must be removed and algorithm configuration restored after validation.