Skip to content

Fix for spawn-mode subprocess metrics directory db file wiping#417

Merged
v1r3n merged 3 commits into
mainfrom
fix/clean-metrics-directory-once-in-parent
Jul 8, 2026
Merged

Fix for spawn-mode subprocess metrics directory db file wiping#417
v1r3n merged 3 commits into
mainfrom
fix/clean-metrics-directory-once-in-parent

Conversation

@chrishagglund-ship-it

@chrishagglund-ship-it chrishagglund-ship-it commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

what was working with fork for tracking directory cleanup for parent and subprocesses was not properly tested under spawn and caused metrics to be incomplete. this addresses the issue by ensuring the cleanup is only done in the parent process.

I have this branch's harness worker image deployed to the cert clusters b/c default switch to spawn with 1.5.0 broke the metrics output without this additional fix.

@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/conductor/client/automator/task_handler.py 78.29% <100.00%> (+0.06%) ⬆️
.../client/configuration/settings/metrics_settings.py 93.82% <100.00%> (+1.07%) ⬆️
src/conductor/client/telemetry/metrics_factory.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@v1r3n v1r3n merged commit e567e4f into main Jul 8, 2026
4 checks passed
@v1r3n v1r3n deleted the fix/clean-metrics-directory-once-in-parent branch July 8, 2026 23:46
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