Repository navigation
Show shared command forms promptly and submit their confirm button - #1751
Merged
Merged
Conversation
|
debt-src at 9f202b4 blocks on 9 lines: Warn-only, never blocks (4) |
trissim
force-pushed
the
work/codex-parallel--P189--toad
branch
from
November 13, 2026 01:57
37967fe to
9f202b4
Compare
trissim
marked this pull request as ready for review
November 13, 2026 01:58
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
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.
Show the form before discovery; one owner for submission
Focused real-app control: 1 collected, 1 passed, exit 0, 19.43 s.
The shared form now opens from the original command field declarations, before provider catalogs are prepared. The form's existing worker fills those catalogs afterward; Core #4658 retains each catalog at its serving root, preserving auth invalidation and failure retry.
Mouse and keyboard call the same complete confirmation method. Submission commits the focused editor, waits for current preparation, validates through the field declarations, checks the command's original confirmation contract, and returns the original arguments to the existing backend callback.
Catalog refresh and confirmation previews no longer write Apply.disabled. Those competing writers could disable the button between mouse-down (which commits Name on blur) and click, silently dropping the user's first gesture. Only active submission disables Apply, and every failed or cancelled attempt restores interaction. One validated_action method supplies the preview and submission; the copied catalog membership/default-equality rules are deleted.
Existing selectors, not replacement text fields
FormBridge #20 fixes the shared annotation reader: documentation strings do not declare a text editor. PreparedChoices inherits the shared labelled-choice metadata; Model uses the original searchable picker and Thinking uses the existing choice dropdown. The regression entered Toad in 4df2228 (#1748), where adding help text exposed that reader bug.
Evidence and limits
test_command_form_opens_before_preparation_and_first_mouse_confirm_submitsuses the running Toad app and real catalog preparation held at its request boundary. It proves the form is mounted before discovery finishes, checks the exact existing Model/Thinking editor classes, then types Name and clicks Apply without pre-blurring. The callback receives that edited name on its first click.This check proves form opening and completion, not actual backend thread creation or installed physical UI behavior. Those remain separate delivery checks; no fake-created thread is claimed. No broad suite, paid provider call, or live credential mutation.
FormBridge #20 and Core #4658 are merged. The earlier auth recovery is complete; it is not a remaining gate on this change.