Repository navigation
fix: expect incoming threads behind their notice - #4501
Merged
Merged
Conversation
This was referenced Oct 27, 2026
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_noticeboth pass (2 passed).Closes #4496 — automated triage