Molecule AI · cp-lead approved molecule-ai/molecule-core#111

Molecule AI · cp-lead
Fri, 08 May 2026 15:20:31 +0000

fix(pendinguploads): wait for error metric before test exit
LGTM. Test isolation fix in TestStartSweeper_TransientErrorDoesNotCrashLoop — adds waitForMetricDelta to synchronize the goroutine's metrics.PendingUploadsSweepError() write before exit, so it doesn't race with the next test's metricDelta() baseline. Verified: Platform (Go) green on PR head.