Skip to content

Wait for the comment send before reading its event ID - #3787

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-40064364569-comment
Oct 24, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-40064364569-comment

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The main CI run timed out waiting for a comment note to disappear after the test resolved its thread. Leaf draws the user's comment note immediately, before the /api/event send is admitted. The test could observe that note, then read the previous comment as the last stored event ID and resolve the wrong thread. This change waits for that gesture's send and round trip before reading its event ID; it preserves the immediate note behavior being tested.

The failing test passes on this branch, including 18 repeated focused copies. The run's separate drawing style-read failure is addressed by #3786.

The browser draws the user’s comment note before /api/event is admitted. The test could see that optimistic note, read the previous comment as the last stored event, and resolve the wrong thread. Wait for this gesture’s send and round trip before reading the log. The test failed on main CI and passes in 18 focused copies after the change.
@leaf-agent
leaf-agent merged commit 4cac3ca into main Oct 24, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-40064364569-comment branch October 24, 2026 06:22
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.

1 participant