Skip to content

Check widget composer Send by its visible focus result - #3440

Merged
leaf-agent merged 2 commits into
mainfrom
fix/ci-39548136774-composer-focus
Oct 21, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
fix/ci-39548136774-composer-focus

Conversation

@leaf-agent

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

Copy link
Copy Markdown
Collaborator

#3417 lets a widget's inline thread hold and route to its own messages, so the composer Send test's assertion that surfaceFocusTarget(message) must be null no longer describes the intended behavior. This PR removes that assertion while retaining the checks that Send lands on the visible thread, the reply field is reachable, typing continues there, and the sent event exists. It also removes the diagnostic re-export that the deleted assertion alone used; the runtime's thread navigation still imports the function from its owning module.

The focused unused-export test failed on the first commit and passes after the repair. pnpm run build:browser and pnpm run test:runtime pass. The composer Send cases passed in the first commit's CI run. No runtime behavior changes.

@leaf-agent
leaf-agent merged commit 5223d3a into main Oct 21, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-39548136774-composer-focus branch October 21, 2026 07:11
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