🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

fix(coderd/x/chatd): runner bootstrap race - #26989

Merged
hugodutka merged 1 commit into
mainfrom
hugodutka/runner-bootstrap-race
Jul 6, 2026
Merged

fix(coderd/x/chatd): runner bootstrap race#26989
hugodutka merged 1 commit into
mainfrom
hugodutka/runner-bootstrap-race

Conversation

@hugodutka

@hugodutka hugodutka commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Addresses coder/internal#1589. Supersedes #26455. The previous fix did not handle the case where there were 2 runners for the same chat: one shutting down and one being bootstrapped. The one shutting down could queue a stale state update which would cause the new runner to immediately exit.

@hugodutka
hugodutka marked this pull request as ready for review July 6, 2026 10:39
@hugodutka
hugodutka merged commit c0e2811 into main Jul 6, 2026
59 of 60 checks passed
@hugodutka
hugodutka deleted the hugodutka/runner-bootstrap-race branch July 6, 2026 10:45
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants