Skip to content

merge queue: checking main (9a2980e) and #615 together - #975

Closed
mergify[bot] wants to merge 8 commits into
mainfrom
mergify/merge-queue/241b953b0a
Closed

merge queue: checking main (9a2980e) and #615 together#975
mergify[bot] wants to merge 8 commits into
mainfrom
mergify/merge-queue/241b953b0a

Conversation

@mergify

@mergify mergify Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request has been checked successfully and will be merged soon. 🎉

Branch main (9a2980e) and #615 are queued together for merge.

This pull request has been created by Mergify to check the mergeability of #615.
You don't need to do anything. Mergify will close this pull request automatically when it is complete.

Required conditions of queue rule default for merge:

  • github-review-approved [🛡 GitHub repository ruleset rule Merge Requirements]
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/quality (3.10) / type-checks
    • check-neutral = @github-actions/quality (3.10) / type-checks
    • check-skipped = @github-actions/quality (3.10) / type-checks
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/quality (3.10) / precommit-checks
    • check-neutral = @github-actions/quality (3.10) / precommit-checks
    • check-skipped = @github-actions/quality (3.10) / precommit-checks
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/quality (3.10) / quality-checks
    • check-neutral = @github-actions/quality (3.10) / quality-checks
    • check-skipped = @github-actions/quality (3.10) / quality-checks
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/tests (3.10) / e2e-tests
    • check-neutral = @github-actions/tests (3.10) / e2e-tests
    • check-skipped = @github-actions/tests (3.10) / e2e-tests
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/tests (3.10) / integration-tests
    • check-neutral = @github-actions/tests (3.10) / integration-tests
    • check-skipped = @github-actions/tests (3.10) / integration-tests
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/tests (3.10) / unit-tests
    • check-neutral = @github-actions/tests (3.10) / unit-tests
    • check-skipped = @github-actions/tests (3.10) / unit-tests
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/update-description
    • check-neutral = @github-actions/update-description
    • check-skipped = @github-actions/update-description

Required conditions to stay in the queue:

---
checking_base_sha: 9a2980eaf0c1d5260171e0b37e4eb0beae734c48
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 615
    scopes: []
scopes: []
...

ushaket and others added 8 commits July 21, 2026 17:45
Signed-off-by: Uri Shaket <ushaket@redhat.com>
Signed-off-by: Uri Shaket <ushaket@redhat.com>
Signed-off-by: Uri Shaket <ushaket@redhat.com>
Signed-off-by: Uri Shaket <ushaket@redhat.com>
Signed-off-by: Uri Shaket <ushaket@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Add post_validation to OpenAIRequestHandler and OpenAIWSRequestHandler
protocols with a permissive no-op default. TextCompletionsRequestHandler
and ResponsesRequestHandler override with a check for text, tool_calls,
or output_tokens. PoolingRequestHandler and EmbeddingsRequestHandler
keep the default no-op since they produce non-text output.

Validation is called from the backend resolve methods (http.py,
websocket.py) after compile, not inside each handler's compile methods.
Cancellation paths skip validation for partial responses.

Fixes tool-call-only false negative: responses with tool_calls but no
text are now correctly treated as valid output.

Assisted-by: Claude
Signed-off-by: Uri Shaket <ushaket@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Extract _validate_text_response helper shared by
TextCompletionsRequestHandler and ResponsesRequestHandler.
Add docstrings to all post_validation overrides.

Assisted-by: Claude
Signed-off-by: Uri Shaket <ushaket@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@mergify mergify Bot closed this Jul 30, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/241b953b0a branch July 30, 2026 14:28
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