Skip to content

fix(gw/livelog): address already in use on get/put ports#8319

Merged
matt-boris merged 1 commit intomainfrom
matt-boris/livelogFixes
Feb 26, 2026
Merged

fix(gw/livelog): address already in use on get/put ports#8319
matt-boris merged 1 commit intomainfrom
matt-boris/livelogFixes

Conversation

@matt-boris
Copy link
Contributor

Fixes #8318.

Generic Worker & Livelog: fix intermittent "address already in use" error on livelog ports. When a livelog process failed to start, an orphaned goroutine would keep polling the port and later send a duplicate PUT request to the next task's livelog process, causing its GET server to fail binding. Fixed by cancelling the goroutine on early process exit, killing orphaned livelog processes on connection failure, and fixing the livelog binary's duplicate PUT request guard which was checked but never set.

@matt-boris matt-boris requested a review from a team as a code owner February 26, 2026 14:47
@matt-boris matt-boris requested review from lotas and petemoore and removed request for a team February 26, 2026 14:47
Copy link
Contributor

@lotas lotas left a comment

Choose a reason for hiding this comment

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

yay! finally

@matt-boris matt-boris enabled auto-merge February 26, 2026 15:28
@matt-boris matt-boris merged commit bb9f1fa into main Feb 26, 2026
73 checks passed
@matt-boris matt-boris deleted the matt-boris/livelogFixes branch February 26, 2026 15:33
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.

Livelog "address already in use" issue

2 participants