No description
Find a file
Claude 034baa96f6
Fix busy-check to not anchor on start-of-line, add append_stream_batch
Two fixes surfaced while adding append_stream_batch (live-stream chunk
ingest) as a sixth busy indicator, per a walkthrough of the log:

1. The request-completion log line doesn't always start at column 1.
   Some handlers print an unterminated progress fragment right before it
   with no newline in between ("- processed N chunkssportrum: 6: ..."),
   so an anchored ^sportrum: regex missed 99.9% of append_stream_batch's
   occurrences in testing, and ~2-4% of the original five handlers' too
   (not enough to break their validation, but still wrong). Switched to
   grep -oE pulling the timestamp+handler substring from anywhere on the
   line instead of anchoring at the start.

2. Added ProductionCommand.append_stream_batch to BUSY_PATTERN - it's
   the live camera/stream ingest pipeline, active independently of both
   video production and race timing. Notably starts earlier than
   anything else tracked: on the event's setup day, a full day before
   the race itself.

Re-validated against real log excerpts with both fixes in place: nights
still read as exactly zero, and both a mid-stream-test-burst case and a
well-after-the-burst case resolve correctly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tj4SF2BGFxgoRYrCAzNpDb
2026-09-30 11:38:22 +00:00
.gitattributes Import existing manual deploy scripts as a starting point 2026-09-29 17:04:18 +00:00
nightly-storeall.sh Fix busy-check to not anchor on start-of-line, add append_stream_batch 2026-09-30 11:38:22 +00:00
restart.sh Parameterize runcmd to support commands beyond storeall 2026-09-29 20:51:47 +00:00
tomcat_ctl.sh Import existing manual deploy scripts as a starting point 2026-09-29 17:04:18 +00:00
upgrade-cmds.sh Import existing manual deploy scripts as a starting point 2026-09-29 17:04:18 +00:00
upgrade-funs.sh Parameterize runcmd to support commands beyond storeall 2026-09-29 20:51:47 +00:00
upgrade.sh Parameterize runcmd to support commands beyond storeall 2026-09-29 20:51:47 +00:00