Skip to content

patch: update test to expect batching thread log message#1612

Merged
JoshuaMoelans merged 2 commits intojoshua/chore/set_default_metrics_truefrom
joshua/patch/fix_metrics_true_tests
Mar 31, 2026
Merged

patch: update test to expect batching thread log message#1612
JoshuaMoelans merged 2 commits intojoshua/chore/set_default_metrics_truefrom
joshua/patch/fix_metrics_true_tests

Conversation

@JoshuaMoelans
Copy link
Copy Markdown
Member

@JoshuaMoelans JoshuaMoelans commented Mar 31, 2026

part of #1609

We keep starting the batcher thread as per usual, but then we need to update this one test case for logging after crash (since the batcher thread itself logs in parallel to whatever goes on in the main process)

simpler alternative to #1611

#skip-changelog

The batcher thread spawned by metrics startup logs via the custom
logger callback, racing with the main thread's writes to assert_now.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@JoshuaMoelans JoshuaMoelans requested a review from jpnurmi March 31, 2026 13:54
@JoshuaMoelans JoshuaMoelans merged commit 17462a2 into joshua/chore/set_default_metrics_true Mar 31, 2026
46 checks passed
@JoshuaMoelans JoshuaMoelans deleted the joshua/patch/fix_metrics_true_tests branch March 31, 2026 14:17
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.

2 participants