Repository navigation
Recording scan by window (day folders + end-in-name), refs #11 - #13
Merged
Merged
Conversation
This was referenced Nov 23, 2026
Only join the published-output close error when it is non-nil, so a no-replace collision still returns a bare os.ErrExist. The collision regression test now uses errors.Is instead of os.IsExist.
Continuous recordings, including SIGTERM partials, are now published to <camera>/<YYYYMMDD>/. The active-container acceptance script still globbed the camera root and reported no retained partial output.
…and exports stay strict (refs #11)
mouldybread
marked this pull request as ready for review
November 25, 2026 22:44
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.
Status: work in progress (draft)
Closes #11. The owner decided to close #11 after reviewing the final closeout: final closeout comment on #11. Use issue #11's Plan v2 checkpoint numbering; broader integration slice names do not renumber it. PR #13 stays draft until the owner marks it ready. No merge or release decision is made here.
Recorded checkpoint acceptance
Each green run below is check-run verification on its named source head, not a claim of local execution or individual job-log review. A run only covers its exact head.
e4f77353f63d91c28a81e96b6aab79c837892300, run45314682415.5887e1129f0e16dafe9c4771bf8c4d184a3fba4f, run45427373922, all eight required checks successful.bed8d53631b4f656b497596c6bd27e1d6e20e057, run 45511972624, all eight required checks successful. Recorded in issue #11.fa6f7854574c1378b029c37774fa31711b43c50a, run 45676664390, all eight required checks successful. Recorded in issue #11, with source reconciliation indocs/CHECKPOINT5_READINESS.md. The later waiter-counter follow-up69da10cwas first verified by checkpoint 6.d5f9665cc964d47daf4769dd4e774bad9d55f406, run 45686302269, all eight required checks successful. Recorded in issue #11.9efa57d1bb3675e3c6a43c192ebeba113268e4fb, recorded in issue #11. No CI was run by owner decision because those four commits changed documentation files only. The documentation was subsequently included in run 45696730551 at2e1b33b.2e1b33bd4f6f23ca54339a423c0109517089cf1b, run 45696730551.dde087f71eb4f23894d1092e313ec2807cdb4152, run 45708447732. Check results only; job logs for this run were not inspected.Changes after the last checkpoint 8 green run
The current head is
dde087f71eb4f23894d1092e313ec2807cdb4152. These commits after2e1b33bare covered by the step 9 run above:3ab0c1dd279a301cd5cd1c30207785feab25ea61: removed the unusedmaxRecordingScanEntriesand the test-only glob helperscleanupOldRecordings*; tests now exercise production retention instead. No test function was deleted; one redundant direct-helper assertion was removed from a canceled-tick test.6540fb5c7f392ec857ba41b7f0f6b39f17fdf858: added the Node regression tests for the timeline camera-filter/warning wrapper and a Go discovery entry point.e21119f7d9b5bd2ea2d021972a49beacdb5f5e52: expandeddocs/audit/README.mdto index all 18 identified superseded notes and updated disk usage/retention status.a13a50ad2f0dcfc1ed3845dc392c4c75760de3b3: updated checkpoint 5/6/7 documentation status anddocs/CHECKPOINT_CI.md.389145abd0ca29f93fefb45149d41f97e2fd1336: addeddocs/CHECKPOINT9_CLOSEOUT.md. That file was written before the final-head run and still describes checkpoint 9 as pending; the final-head CI record is in this description and in the closeout comment on Recording scan stops at 8,192 directory entries, breaking timeline and export with long retention #11.dde087f71eb4f23894d1092e313ec2807cdb4152: test-only. Theowner cancellationfailure message inTestCorrAdmissionConcurrentContentionMatrixnow includes the phase, returned error, context state, child counts and report. The assertion itself is unchanged.Preserved design and behavior
/recordings/<camera>/<YYYYMMDD>/<start>_E<end>_<label>.mp4, with the UTC start day as directory and published partial suffix before.mp4. Stamped spans are positive and at most 24 hours.X-Timeline-Unreadable-Count; the playback page shows a transient warning. Other inspection errors, cancellation, unreadable folders and scan bounds still fail the timeline request; downloads/exports stay strict. Skipped candidates still count toward 20,000.camera_idper selected playback camera; with none selected, no timeline request is made. The server already supports this;playback.jsis unchanged.Known limits
389145afailed insafety / Core:TestCorrAdmissionConcurrentContentionMatrix/prefix=true/phase=5/cancel=true(event_correspondence_admission_concurrent_test.go) returned a nil error wherecontext.Canceledwas expected. From readingcorrStreamRun, cancelling before release at phase 5 should always returncontext.Canceled, so the cause is not identified. The same test passed ondde087f(run 45708447732) with no code change to the code under test. One pass does not establish flakiness; if it recurs, the new failure message records the evidence needed.docs/audit/README.md. Dated notes remain unchanged.Plan v2 step 9 acceptance
The CI condition is met on the exact final head: all eight required checks passed on
dde087f71eb4f23894d1092e313ec2807cdb4152in run 45708447732:Job logs for this run were not inspected. Any later code or docs commit changes the target and needs a fresh run.
The final closeout is posted on #11. Remaining: the owner marks this PR ready for review and merges it, which closes #11 through "Closes #11" above. Merge, release and deployment are outside this update.