You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keep async questions open across agent notices - #34368
The fix for #34357 was accepted in #35758 and merged as f26fb1cfdaad94f0935be80e630b61c7eddd4fa1 on 2026-10-30. That PR explicitly credits this contribution. The production change to src/shared/native-chat/input/native-chat-ask.ts is identical; upstream also added desktop/mobile consumer regressions. It is present in upstream main 5c2bfed9483.
Closing this PR as superseded. No branch deletion is requested. The historical implementation and validation below retain their original revisions.
ELI5
Keep a pending async question available when an unrelated agent notice arrives. Preserve the interactive answer controls and immediate answer path.
One feature commit on upstream main bd4702fbb536a8034d647116efe0064cf3b13f24, with 6 changed paths. Current head: 4d23c05adccc094b02281747bc80afd4ad9df03f. Generated catalogs and guide bundles are produced from this branch's own source.
Validation
At this exact head: desktop and CLI typechecks; normal commit hooks; mobile typecheck; 22 node targeted tests; 11 mobile targeted tests; quality; paths; focus passed.
These are scoped local checks on macOS with background launch policy. The full integrated aggregate is tracked separately. GitHub Actions, maintainer approval, packaged-app, live-provider and physical-device acceptance are separate states.
Visual Proof
The following retains the earlier capture context and artifacts. This base refresh does not claim new rendered or physical-device acceptance.
Synthetic English records, actual production async wrapper/card, same 560px fixture. Before: pinned main scanner with the new fixture; after: this PR. The blank before canvas is the missing question card. Four approved headless light/dark captures had zero page errors; no private screenshot is published.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Walkthrough
The pending-ask scanner now keeps async questions open across agent-origin messages and clears them on interruption or a delivered non-agent message. Shared tests cover these conditions and undelivered user-message states. Desktop and mobile tests cover transcript loading, question retirement after a human answer, and option or text submission when an orchestration notice is present. A desktop fixture renders an async question followed by an orchestration notice.
Priority: Normal
Severity of issue fixed: Medium
Merge Risk: Minimal · previous review d8f23
The change preserves pending questions across agent notices while retaining human answer and interruption handling.
Pre-merge checks: 4
Check name
Status
Explanation
Linked Issues check
Issue #34357 requires active async questions to retain choice and free-text controls across agent-origin notices. The current scanner clears a question on interruption or on a delivered message withou…
Out of Scope Changes check
The changes remain within issue #34357. The source change is limited to pending async-question settlement. The fixtures and shared, renderer, desktop, and mobile tests directly verify the missing cont…
Title check
The title clearly summarizes the main change: keeping async questions open when agent notices arrive.
Description check
The description explains the user impact, links issue #34357, provides visual proof, and documents validation and AI assistance. It does not use the template's exact What Changed, Why, Testing, Review…
Full details: Linked Issues check
Explanation
Issue #34357 requires active async questions to retain choice and free-text controls across agent-origin notices. The current scanner clears a question on interruption or on a delivered message without from.kind: agent; it retains the question across agent notices. Added shared, renderer, and mobile tests cover agent notices, human answers, interruption, loading, and option/text answer paths. No ignored files limit this assessment.
Full details: Out of Scope Changes check
Explanation
The changes remain within issue #34357. The source change is limited to pending async-question settlement. The fixtures and shared, renderer, desktop, and mobile tests directly verify the missing controls and preserved answer behavior. The summary shows no provider, permission, queue, transport, wire, dependency, or execution changes.
Full details: Description check
Explanation
The description explains the user impact, links issue #34357, provides visual proof, and documents validation and AI assistance. It does not use the template's exact What Changed, Why, Testing, Review, Notes, and Checklist sections, but the required information is mostly present.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
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
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.
Status: superseded upstream
The fix for #34357 was accepted in #35758 and merged as
f26fb1cfdaad94f0935be80e630b61c7eddd4fa1on 2026-10-30. That PR explicitly credits this contribution. The production change tosrc/shared/native-chat/input/native-chat-ask.tsis identical; upstream also added desktop/mobile consumer regressions. It is present in upstream main5c2bfed9483.Closing this PR as superseded. No branch deletion is requested. The historical implementation and validation below retain their original revisions.
ELI5
Keep a pending async question available when an unrelated agent notice arrives. Preserve the interactive answer controls and immediate answer path.
Fixes #34357.
Scope and dependency
One feature commit on upstream main
bd4702fbb536a8034d647116efe0064cf3b13f24, with 6 changed paths. Current head:4d23c05adccc094b02281747bc80afd4ad9df03f. Generated catalogs and guide bundles are produced from this branch's own source.Validation
At this exact head: desktop and CLI typechecks; normal commit hooks; mobile typecheck; 22 node targeted tests; 11 mobile targeted tests; quality; paths; focus passed.
These are scoped local checks on macOS with background launch policy. The full integrated aggregate is tracked separately. GitHub Actions, maintainer approval, packaged-app, live-provider and physical-device acceptance are separate states.
Visual Proof
The following retains the earlier capture context and artifacts. This base refresh does not claim new rendered or physical-device acceptance.
Synthetic English records, actual production async wrapper/card, same 560px fixture. Before: pinned main scanner with the new fixture; after: this PR. The blank before canvas is the missing question card. Four approved headless light/dark captures had zero page errors; no private screenshot is published.
Before light
After light
Complete light/dark evidence and exact source revisions.
AI assistance
Implemented and checked with Codex assistance. The contributor owns the change and its validation.