Skip to content

fix(worker): stop calling every probe a startup probe in the log - #15

Merged
impuls42 merged 1 commit into
mainfrom
fix/probe-log-wording
Aug 3, 2026
Merged

fix(worker): stop calling every probe a startup probe in the log#15
impuls42 merged 1 commit into
mainfrom
fix/probe-log-wording

Conversation

@impuls42

@impuls42 impuls42 commented Aug 3, 2026

Copy link
Copy Markdown
Member

Caught on the live agent minutes after deploying 0.4.0. A probe triggered by the cmd topic logged:

labelfab.worker INFO startup probe: printer did not answer (…); keeping the stored status

The service had not restarted — someone pressed refresh. An operator tailing the journal would go looking for a crash that never happened.

Same staleness as the probe_device docstring fixed in #14, and from the same cause: the message was written when startup was the only caller, and #14 added two more (the idle tick and the probe command).

Dropped the qualifier rather than threading the trigger through. The line is about the printer not answering, and which caller asked adds nothing to that. Same for the _PROBE_SETTLE_S comment.

274 tests, ruff clean.

Caught on the live agent minutes after deploying 0.4.0: a probe triggered by the cmd
topic logged 'startup probe: printer did not answer', which reads as though the service
had just restarted. An operator tailing the journal would go looking for a crash.

Same staleness as the docstring fixed in #14 and from the same cause -- the message was
written when startup was the only caller, and #14 added two more. Dropped the qualifier
rather than threading the trigger through, since the line is about the printer not
answering and which caller asked adds nothing to that.
@impuls42
impuls42 merged commit f08ae95 into main Aug 3, 2026
1 check passed
@impuls42
impuls42 deleted the fix/probe-log-wording branch August 3, 2026 06:50
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