Skip to content

fix: expect incoming threads behind their notice - #4501

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4496
Oct 27, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4496

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The Threads stability test still expected an incoming thread to appear immediately after #3883 deliberately put new rows behind a notice. The CI screenshot shows “1 new thread” above the four unchanged rows; the same four-versus-five assertion reproduces on current main.

Update the test to verify the notice, unchanged row positions and unchanged Threads/Close controls, then press the notice and verify the fifth thread is visible. The subsequent reply-news assertions remain intact. This preserves #3883's intent without changing the product.

Validation: the original test fails locally at the reported count assertion; the corrected test and test_threads_holds_a_row_that_joins_or_moves_behind_a_notice both pass (2 passed).

Closes #4496 — automated triage

Keep the row and control stability assertions while following the held-news behavior introduced in #3883. Press the notice before expecting the fifth thread; retain coverage of replies waiting behind their own notice.

Closes #4496
leaf-agent added a commit that referenced this pull request Oct 27, 2026
The freshness tests still expected a newly read thread to appear
immediately. #3883 deliberately holds incoming rows behind the “1 new
thread” notice to keep the standing list still. Both tests now press
that notice before checking the new thread, preserving the freshness
request count and automatic recovery checks without changing product
behavior.

Both original tests reproduce their reported zero-row failures on
current main. The corrected tests and the existing joined-row behavior
test pass. The same stale expectation in the inventory test is handled
separately by #4501.

Closes #4493 — automated triage

---------

Co-authored-by: leaf-agent <[email protected]>
@leaf-agent
leaf-agent merged commit dd4313c into main Oct 27, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4496 branch October 27, 2026 20:42
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.

Threads inventory keeps four rows after a fifth comment arrives

1 participant