Skip to content

Comments

fix(stop-and-wait): handle call to runtime.Goexit() in task#136

Merged
alitto merged 1 commit intomainfrom
fix/AD/issue-135
Feb 16, 2026
Merged

fix(stop-and-wait): handle call to runtime.Goexit() in task#136
alitto merged 1 commit intomainfrom
fix/AD/issue-135

Conversation

@alitto
Copy link
Owner

@alitto alitto commented Feb 16, 2026

Changes

  • Ensure calls to runtime.Goexit() inside task functions doesn't cause the pool to hang later on when StopAndWait() is invoked.

Fixes #135

@codecov
Copy link

codecov bot commented Feb 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.58%. Comparing base (505910b) to head (86e4ef6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #136      +/-   ##
==========================================
+ Coverage   95.54%   95.58%   +0.03%     
==========================================
  Files          11       11              
  Lines         584      589       +5     
==========================================
+ Hits          558      563       +5     
  Misses         23       23              
  Partials        3        3              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alitto alitto merged commit 642bffa into main Feb 16, 2026
15 checks passed
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.

StopAndWait() won't terminate when runtime.Goexit() is called in a task

1 participant