Skip to content

Make request_user_input blocking behavior explicit - #611

Merged
GraciousGazelles merged 1 commit into
mainfrom
fix/request-user-input-blocking-semantics
Aug 14, 2026
Merged

GraciousGazelles merged 1 commit into
mainfrom
fix/request-user-input-blocking-semantics

Conversation

@GraciousGazelles

@GraciousGazelles GraciousGazelles commented Aug 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • port the merged upstream request_user_input blocking-intent change onto the maintained downstream branch
  • add explicit isBlocking protocol and app-server fields while keeping legacy payloads fail-safe as blocking
  • derive tool-request blocking behavior from collaboration mode and drive TUI auto-resolution from explicit blocking intent
  • preserve the downstream JSON Schema dialect and the existing removal of obsolete precomputed schema archives

Why

The presence of a timeout field should not be the authority for whether a user decision is mandatory. Making blocking intent explicit prevents required decisions from expiring while retaining a clear non-blocking path for prompts that may auto-resolve.

This is adapted from upstream commit e2c0837923ca29b54facdb567326db42a0aefd1b (openai#36410).

Validation

Final status

  • merged at 2026-08-14T08:04:45Z
  • squash-merge commit: ad234c55af87193f94f9651416fa53b36a19d391

Clients need to know whether a `request_user_input` request must wait for an
explicit response or may auto-resolve. Using `autoResolutionMs` as that signal
conflated the blocking decision with timeout policy.

- Add required `isBlocking` fields to user input protocol and app-server
  request payloads. Plan-mode requests are blocking, while requests from other
  enabled modes are non-blocking.
- Drive the TUI's auto-resolution behavior from `isBlocking` and remove
  `autoResolutionMs` from the model-facing tool schema.
- Deprecate `autoResolutionMs` while retaining it for compatibility, and treat
  legacy payloads without `isBlocking` as blocking.

- Cover mode-derived blocking behavior, legacy deserialization, app-server
  forwarding, delegated requests, and TUI auto-resolution.

GitOrigin-RevId: 29aade657ef743065ec264376ba567a9b353d7d7
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@GraciousGazelles GraciousGazelles added the code-reviewed Completed required code review label Aug 14, 2026
@GraciousGazelles
GraciousGazelles marked this pull request as ready for review August 14, 2026 03:11
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Aug 14, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Aug 14, 2026
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Aug 14, 2026
Merged via the queue into main with commit ad234c5 Aug 14, 2026
150 of 153 checks passed
@GraciousGazelles
GraciousGazelles deleted the fix/request-user-input-blocking-semantics branch August 14, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-reviewed Completed required code review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants