Skip to content

fix: panic: close of closed channel #5929

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 10, 2025
Merged

Conversation

ldez
Copy link
Member

@ldez ldez commented Jul 10, 2025

I tested the PR with a huge cycle of thousands of runs with typecheck error on 3 projects.

This neither changes the report from the previous PR nor the performance from the previous PR.
It closes the channel after the actions analysis instead of during the actions analysis.

Fixes #5923

@ldez ldez added this to the v2-unreleased milestone Jul 10, 2025
@ldez ldez added the bug Something isn't working label Jul 10, 2025
@ldez ldez force-pushed the fix/panic-closed-channel branch 2 times, most recently from 8c9f60b to 4562edd Compare July 10, 2025 16:15
Copy link
Member

@bombsimon bombsimon left a comment

Choose a reason for hiding this comment

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

🎉

@ldez ldez force-pushed the fix/panic-closed-channel branch from 463fa0e to 58d6059 Compare July 10, 2025 21:43
@ldez ldez merged commit 7c8ce46 into golangci:main Jul 10, 2025
18 checks passed
@ldez ldez deleted the fix/panic-closed-channel branch July 10, 2025 22:18
@ldez ldez modified the milestones: v2-unreleased, v2.2 Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"panic: close of closed channel" in v2.2.1
2 participants