acoustic-carpenter-78188
07/16/2026, 4:19 PMConditionAction.prompt and description are user-supplied free text rendered in the console, emails, and Slack. Without a length cap a user can embed multi-MB payloads (e.g. base64 images in markdown) that end up stored in the actions service memory and type-spec blobs. Requested in unionai/cloud#16949 review.
What changes were proposed in this pull request?
Add buf.validate max_len constraints to `ConditionAction`:
• `prompt`: 4096 characters (matches the 4000-char tier used for notification template values)
• `description`: 2048 characters (matches DocumentationEntity.long_description)
Regenerated Go/Python/TS code (descriptor-only changes).
How was this patch tested?
Descriptor/annotation-only change; regenerated code compiles. Enforcement is covered by existing protovalidate integration.
Labels
• changed: For changes in existing functionality.
Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
flyteorg/flyteacoustic-carpenter-78188
07/16/2026, 5:20 PM