Skip to content

fix(coderd/x/chatd): seed afterMessageID test directly#25665

Merged
ethanndickson merged 1 commit into
mainfrom
chatd-vy2z
May 26, 2026
Merged

fix(coderd/x/chatd): seed afterMessageID test directly#25665
ethanndickson merged 1 commit into
mainfrom
chatd-vy2z

Conversation

@ethanndickson

@ethanndickson ethanndickson commented May 26, 2026

Copy link
Copy Markdown
Member

This fixes the flaky TestSubscribeAfterMessageID by seeding its chat and messages directly, so the test no longer creates pending work that a chat worker can pick up. The assertion now covers only the afterMessageID subscription behavior, independent of chat processing lifecycle timing.

Closes DEVEX-326
Closes coder/internal#1489

@ethanndickson ethanndickson marked this pull request as ready for review May 26, 2026 02:45
@ethanndickson ethanndickson merged commit fe13bb2 into main May 26, 2026
56 of 59 checks passed
@ethanndickson ethanndickson deleted the chatd-vy2z branch May 26, 2026 03:16
@github-actions github-actions Bot locked and limited conversation to collaborators May 26, 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.

flake: TestSubscribeAfterMessageID

2 participants