acoustic-carpenter-78188
07/31/2026, 10:13 PMClusteredTaskSpec.replicas and ClusteredTaskSpec.nproc_per_node are int32 fields but carry (buf.validate.field).uint32 rules. This is invalid: buf lint rejects it (Field "replicas" is of type int32 but has (buf.validate.field).uint32 rules), which breaks make buf / make gen locally, and protovalidate fails to compile mismatched rule types at runtime.
What changes were proposed in this pull request?
Switch the two rules to (buf.validate.field).int32.gt = 0 (identical semantics) and regenerate the Go/Python/Rust/TS code.
How was this patch tested?
• buf lint now passes (previously exit 100 on these two fields).
• Regenerated with `make buf-go buf-rust buf-python buf-ts`; go build ./gen/go/flyteidl2/plugins/... passes.
• No behavior change: the constraint is still "must be > 0".
Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
Related PRs
Related to #7731
https://claude.ai/code/session_01Sbxa1fiaBBkJxUBBLPFB6a
flyteorg/flyteacoustic-carpenter-78188
07/31/2026, 11:26 PM