Skip to content

Fix/bm 13918#135

Merged
joshiste merged 6 commits intomainfrom
fix/bm-13918
Feb 12, 2026
Merged

Fix/bm 13918#135
joshiste merged 6 commits intomainfrom
fix/bm-13918

Conversation

@joshiste
Copy link
Member

No description provided.

The send to the work channel was blocking the ticker goroutine when all
workers were busy, preventing the stopSignal from being processed. Use a
nested select to allow the stop signal to interrupt a pending work send.
Dropped ticks are logged for observability.

fixes 13918
Workers exited when createRequest failed, gradually killing the entire
worker pool. Continue to the next work item instead.

fixes 13918
Replace the shouldStop callback mechanism with a counter in the ticker
goroutine. Workers no longer consume work items without processing them.

fixes 13918
@joshiste joshiste force-pushed the fix/bm-13918 branch 2 times, most recently from 087e9c4 to 5337c4d Compare February 12, 2026 07:57
@joshiste joshiste enabled auto-merge February 12, 2026 08:10
The periodic http check will cancel any in-flight requests when stopping
and won't count these as failure.
The fix amount http check will wait for all requests to finish.

fixes 13918
When all in-flight requests are cancelled during stop, the success/failed
counters are both zero, causing a NaN success rate that silently
misbehaves in comparison. Explicitly fail with a clear error message
when no requests completed.
@sonarqubecloud
Copy link

@joshiste joshiste merged commit 512d558 into main Feb 12, 2026
12 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant