Skip to content

Conversation

@panjf2000
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings December 27, 2025 04:08
@github-actions github-actions bot added docs patch Release patch version labels Dec 27, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This patch release (v2.11.4) includes a critical concurrency bug fix in the worker pool implementation and updates the documentation with new users and a restructured donation section.

  • Fixed a race condition in worker retrieval by ensuring the lock is released after the worker's running counter is incremented
  • Updated README files to include new organizations (Apache Software Foundation, Coze) and open-source projects using ants
  • Restructured the donation section to use a table format with Buy Me a Coffee, Patreon, and Open Collective links

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
ants.go Fixed race condition by moving lock unlock to after worker.run() call to ensure running counter is accurate before other goroutines can check capacity
README.md Added new organizations and open-source projects to user cases section; restructured donation section with new table layout
README_ZH.md Chinese version of README updates - added same organizations and projects; restructured donation section with new table layout

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Dec 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.03%. Comparing base (0de04f1) to head (76ddb18).
⚠️ Report is 22 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #377      +/-   ##
==========================================
- Coverage   94.09%   94.03%   -0.07%     
==========================================
  Files          14       14              
  Lines         966      788     -178     
==========================================
- Hits          909      741     -168     
+ Misses         46       35      -11     
- Partials       11       12       +1     
Flag Coverage Δ
unittests 94.03% <100.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<tr>
<td align="center" valign="middle">
<a target="_blank" href="https://buymeacoffee.com/panjf2000">
<img src="https://res.strikefreedom.top/static_res/logos/bmc_qr.png" width="250" alt="Buy me coffee" />
Copy link

Copilot AI Dec 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The alt text is missing the article "a". It should be "Buy me a coffee" to match the English version in README.md and be grammatically correct.

Suggested change
<img src="https://res.strikefreedom.top/static_res/logos/bmc_qr.png" width="250" alt="Buy me coffee" />
<img src="https://res.strikefreedom.top/static_res/logos/bmc_qr.png" width="250" alt="Buy me a coffee" />

Copilot uses AI. Check for mistakes.
@panjf2000 panjf2000 merged commit f7128db into master Dec 27, 2025
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs patch Release patch version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants