Repository navigation
fix(web): use the destination workspace when auto balancing moves a draft #43401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
juliusmarminge
merged 13 commits into
pingdotgg:main
from
StiensWout:wf/find-561b1d956931c6cff0345af5
Nov 26, 2026
+526
−94
Merged
Changes from 8 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
a94f946
test(web): reproduce stale workspace after automatic machine selection
StiensWout daadc4d
fix(web): use the destination workspace when auto balancing moves a d…
StiensWout 274b510
fix(web): resolve workspace defaults and worktree bases before sending
StiensWout 25dd75d
refactor(web): stop exporting the draft workspace default type nobody…
StiensWout c6f33a1
refactor(web): inline the automatic routing context helper at its two…
StiensWout fef8c6c
fix(web): keep automatic draft sends scoped to the open draft
StiensWout b3f69e0
refactor(web): drop the scope check the post-lookup routing check alr…
StiensWout 57f3a38
fix(web): keep Send through automatic worktree branch updates
StiensWout c7650f8
Merge remote-tracking branch 'origin/main' into wf/find-561b1d956931c…
juliusmarminge 8a54532
test(web): keep only the base-lookup branch update cases
juliusmarminge 3236ff5
fix(web): release a waiting Send when the prompt changes or the desti…
juliusmarminge 1f80216
Merge remote-tracking branch 'origin/main' into wf/find-561b1d956931c…
juliusmarminge 62897d4
Merge remote-tracking branch 'origin/main' into wf/find-561b1d956931c…
juliusmarminge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cancel the waiting send if the composer content changes.
If automatic routing has registered a pending destination default, Send waits before it captures the submitted content. If the user changes prompt P to Q during that wait, this route check still passes. The latest send handler then captures and sends Q. Its later edit checks use Q as their baseline, so they do not detect the edit.
Capture the composer content before the wait. After settlement, cancel if that content changed. Keep workspace-only updates valid so an unchanged prompt still sends with the resolved default.