Skip to content

Make sure legacy queries are failed if gRPC message too large#1206

Merged
Sushisource merged 3 commits intomasterfrom
grpc-too-large-query
Apr 9, 2026
Merged

Make sure legacy queries are failed if gRPC message too large#1206
Sushisource merged 3 commits intomasterfrom
grpc-too-large-query

Conversation

@Sushisource
Copy link
Copy Markdown
Member

What was changed

See title

Why?

Client gets to see a clear explicit failure message rather than a timeout

Checklist

  1. Closes [Bug] Report gRPC-message-size-too-large error to server when sending WFT failures and query results #970

  2. How was this tested:
    New UT

  3. Any docs updates needed?

@Sushisource Sushisource requested a review from a team as a code owner April 8, 2026 18:23
@Sushisource Sushisource force-pushed the grpc-too-large-query branch from 68c9bcf to f97969b Compare April 8, 2026 18:24
@Sushisource Sushisource force-pushed the grpc-too-large-query branch from f97969b to 7ef5380 Compare April 8, 2026 20:56
Comment thread ARCHITECTURE.md Outdated
BARR.wait().await;
// Poke the workflow off the sticky queue to get it to complete faster than WFT timeout
WorkflowService::reset_sticky_task_queue(
let _ = WorkflowService::reset_sticky_task_queue(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this grpc request fail now?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could've always failed, it fails if the workflow is already closed (which, IMO, is weird, but whatever). Safe to ignore.

Co-authored-by: Chris Olszewski <chrisdolszewski@gmail.com>
@Sushisource Sushisource enabled auto-merge (squash) April 9, 2026 15:59
@Sushisource Sushisource merged commit 630e779 into master Apr 9, 2026
20 checks passed
@Sushisource Sushisource deleted the grpc-too-large-query branch April 9, 2026 16:11
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.

[Bug] Report gRPC-message-size-too-large error to server when sending WFT failures and query results

2 participants