Skip to content

fix: give reaction fixture asks unique ids - #4166

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4165
Oct 26, 2026
Merged

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

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The reaction test creates two threads through the same fixture, which bypasses markup admission and reused id="forty-enough". This produced two widget obligations with the same identity; opening On me then nominated the same thread message twice and failed presentation. Each fixture ask now derives its id from its thread root.

The reported test fails with the duplicate-nomination diagnostic before this change and passes after it. All four tests using the helper pass, with their reaction assertions unchanged. Ruff 0.16.1 lint and formatting checks pass.

The fixed id entered the helper in #3114 when prose asks became widgets. This preserves that intent and leaves runtime behavior and the primary-reader uniqueness guarantee unchanged.

Closes #4165 — automated triage

The shared thread fixture bypasses markup admission. Calling it twice on one page reused forty-enough, producing two widget obligations with one identity and duplicate primary-reader nominations when On me opened. Give each ask an id derived from its thread root, preserving the reaction behavior and the uniqueness guarantee.

Closes #4165
@leaf-agent
leaf-agent merged commit 2ee5dd7 into main Oct 26, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4165 branch October 26, 2026 00:26
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.

Reaction test fails presentation with duplicate thread-part nomination

1 participant