acoustic-carpenter-78188
07/30/2026, 6:20 PMlimit: 10 can never know the total. This adds an opt-in count to the list response.
What changes were proposed in this pull request?
• Add bool include_total_count = 6 to flyteidl2.app.ListRequest — opt-in so the extra COUNT(*) stays off pagination pages, poll ticks, and internal callers (same pattern as the existing disable_identity_enrichment flag).
• Add int64 total_count = 3 to flyteidl2.app.ListResponse, populated only when the flag is set. The count honors the request's filters, so it respects the UI's name search for free.
• Regenerate all committed bindings: Go (app_payload.pb.go, .pb.validate.go), TypeScript, Python (_pb2.py/.pyi), and Rust.
IDL-only — server-side wiring and the frontend hook land in the cloud repo once this merges and the submodule pointer is bumped.
How was this patch tested?
• make buf-go buf-rust buf-python and a local buf generate --template buf.gen.ts.yaml reproduce the committed generated files with no further diff.
• go build ./gen/go/flyteidl2/app/... passes.
• buf format -d flyteidl2/app/app_payload.proto is clean.
• buf lint --exclude-path flytestdlib/ reports only the two pre-existing flyteidl2/plugins/clustered.proto errors (verified present on a clean tree).
Setup process
Screenshots
Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
Related PRs
Stack
If you do use git town to manage PR Stacks, the stack relevant to this PR
will show below. Otherwise, you can ignore this section.
Docs link
flyteorg/flyteacoustic-carpenter-78188
07/30/2026, 9:31 PM