Skip to content

Timestamp the runner log lines - #99

Merged
hsliuustc0106 merged 1 commit into
mainfrom
runner-log-stamps
Oct 4, 2026
Merged

hsliuustc0106 merged 1 commit into
mainfrom
runner-log-stamps

Conversation

@hsliuustc0106

Copy link
Copy Markdown
Contributor

Found while diagnosing the live dogfood runner: a 26-minute task listing failed; will retry next pass storm (348 lines, transient SQLite lock contention during startup) left runner.log with zero timestamps — the lines could not be placed in time relative to the check-observed activity in the database.

The runner process now configures WARNING+ logging with %(asctime)s. Process-local (basicConfig in our own CLI process, before daemon.serve); no global library policy is touched.

  • Offline suite: 707 passed (new: the format renders a leading timestamp).

Diagnosing the dogfood runner's 26-minute 'task listing failed' storm
(348 lines from a transient DB lock) was guesswork because runner.log
carried no timestamps at all. The runner process now configures
WARNING+ logging with asctime — runner.log is the only forensic trail
after a crash, and its lines must be placeable in time.
@hsliuustc0106
hsliuustc0106 merged commit bdde815 into main Oct 4, 2026
4 checks passed
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