Skip to content

tests: the stale-publish test waits for the announced move, not the first viewer line - #2185

Merged
santoshkumarradha merged 3 commits into
app/v3from
c40/stale-publish-test
Nov 2, 2026
Merged

santoshkumarradha merged 3 commits into
app/v3from
c40/stale-publish-test

Conversation

@santoshkumarradha

@santoshkumarradha santoshkumarradha commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

What changes

Only one test. Since #1971 a chat that another computer continued refuses work at once: it first shows an unnamed line while it reads the other computer's name, and it announces the move only after its pending saves settle. TestStalePublishRefusalMakesViewerAndNotifiesOnce came from dev, where the line and the notices were set together, and it waited only for any viewer line. With the real engine present it then sometimes read the unnamed line, or an empty notice list (1 in 3 to 1 in 10 runs alone on app/v3).

It now waits for the announcement, which is the settled state. The checks are unchanged: the window names the new holder, and the notices are the kept turn and the move, once each.

Validation

Limits

Test-only change. No product behaviour changes.

🤖 Generated with Claude Code

…irst viewer line

Since #1971 a displaced window refuses work at once, first with an unnamed
line while the holder's name is read, and announces the move only after its
pending saves settle. TestStalePublishRefusalMakesViewerAndNotifiesOnce came
from dev, where the line was set together with the notices, and waited only
for any viewer line. With the real engine it then read the unnamed line or an
empty notice list (1 in 3 to 1 in 10 runs alone). It now waits for the
announcement, the settled state, and its assertions are unchanged.
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