Skip to content

Conversation

@jared-gs
Copy link
Contributor

In the TGZ package, walker.Start() is called synchronously and sends paths to a buffered channel (capacity 100). The consumer loop can't start if this channel fills up first, leading to a deadlock.

The fix is to run walker.Start() in a goroutine (via errgroup) so the parent function can consume from the channel concurrently.

@jared-gs jared-gs merged commit 294d445 into main Dec 30, 2025
13 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.

3 participants