Repository navigation
Align Ask margin rows with comment handoff - #2704
Merged
Merged
Conversation
leaf-agent
force-pushed
the
fix/ci-38317918344-ask-row
branch
from
October 13, 2026 00:35
bfd8da1 to
8e15ef7
Compare
leaf-agent
commented
Oct 13, 2026
leaf-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
The new Ask assertion measures whether its DOM row was replaced, not whether the Ask marker left. A rebuild that still shows ask passes it, while reusing the row for the comment fails it. Read the marker kind and the resulting comment position directly so the test protects the handoff it describes.
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 main CI run found two annotation tests expecting an authored Ask marker to remain after its user comments. #2677 deliberately hands a commented Ask to the agent until it replies, so that marker leaves while the comment's thread remains. The pointed-row test now checks the handoff and keeps its check that an existing thread target stays put; the turn-colour test expects a thread-only marker while the Ask is with the agent.
Both failing cases reproduced on current
mainbefore these changes. The pointed Ask and thread cases, plus both colour cases, pass afterward with focuseduv run pytest -q -n0selections. No product code changes.