Skip to content

Align Ask margin rows with comment handoff - #2704

Merged
leaf-agent merged 2 commits into
mainfrom
fix/ci-38317918344-ask-row
Oct 13, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
fix/ci-38317918344-ask-row

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

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 main before these changes. The pointed Ask and thread cases, plus both colour cases, pass afterward with focused uv run pytest -q -n0 selections. No product code changes.

@leaf-agent
leaf-agent force-pushed the fix/ci-38317918344-ask-row branch from bfd8da1 to 8e15ef7 Compare October 13, 2026 00:35
@leaf-agent leaf-agent changed the title Expect an Ask marker to retire after a pointed comment Align Ask margin rows with comment handoff Oct 13, 2026

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread tests/browser/test_render_aim.py Resolved
Comment thread tests/browser/test_render_aim.py Resolved
@leaf-agent
leaf-agent merged commit a422d59 into main Oct 13, 2026
2 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-38317918344-ask-row branch October 13, 2026 01:02
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