Files
alzeo/docs
Hasan Basbunar fa8abf112a review pass four: the eight findings, fixed and held
Eight reviewers read the video lane end to end on 2026-09-29; every finding
below was re-verified in the code before it was believed, and each fix carries
a test that fails without it (proved by reverting on scratch copies).

- R1, the only functional hole: the lock is per-process, so a cockpit restart
  orphaned a queued lane job the boot sweep then deleted, and the new process
  generated beside it. Admission now asks the lane (409 on a live job, down
  lane proceeds as before) and the sweep stands down while the lane shows one.
- The parked badge froze at the hand-off minute: the watcher now reports
  status and progress into VIDEO_LAST until it clears them.
- The server validates seed (whole number, empty rides out omitted like the
  page) instead of filtering in silence; _video_unit_flag skips comments and
  bare flags instead of raising or matching them; a mute systemd at the cut
  reads as a crash (502) rather than an unprovable clean stop (503);
  video_content refuses past 1 GiB before or during the read; the page reads
  its fields through vidVal instead of throwing on a missing element.
- Docs: the installer and one test no longer preach the refuted stop-waits
  thesis; the timeout comment, the Conflicts scope, the filter-vs-refuse
  sentence, the slack self-contradiction, the ledger counts (fifteen defects,
  seventeen tests: thirteen new and four rewritten) and a dozen smaller
  attributions now match the measured code.
- Tests: lane-idle is declared explicitly where a call drives the lane (the
  spy default models an idle lane); health/engine-state/journal covered for
  the first time; the feed helper's route matching held to 100% branch
  coverage and 93.5% mutation (floor 91).

Left as accepted residuals, not oversights: a create POST lost to a timeout
leaves an id-less orphan the cockpit cannot reliably adopt (the lane answers
queued immediately, measured); the sweep call inside main() is untestable
without a refactor; one _feed_open mutant is provably equivalent and
documented as such in its test.

Suite: dashboard 710+ OK, ci-local 45 ok 0 fail.
Signed-off-by: Hasan Basbunar <basbunarhasan@gmail.com>
2026-09-29 18:45:05 +02:00
..