acoustic-carpenter-78188
07/10/2026, 8:47 PMTaskActions), the TaskAction watch pipeline in the actions client backs up. dispatchEvent does a blocking send to a sharded worker pool (actions/k8s/client.go), so with only WatchWorkers: 10 and WatchBufferSize: 100 the informer's event handler stalls waiting for a free worker/buffer slot, adding latency to event processing during the completion burst. This is backpressure/latency, not event loss on this path — the dispatcher blocks rather than dropping. (The only drop-on-full path is the separate subscriber-notification channel in notifySubscribers, which a larger buffer also helps.)
What changes were proposed in this pull request?
Raise the defaults in `actions/config/config.go`:
• `WatchBufferSize`: 100 -> 1000
• `WatchWorkers`: 10 -> 100
Config-default change only; no logic changes. A wider worker pool and deeper buffer keep the blocking dispatch send from stalling the informer handler under high concurrency, so events are processed with lower latency. Prerequisite for the coalescing/batching changes split out into the sibling PRs.
How was this patch tested?
Validated as part of the 40k-held-action scale benchmark on a dev cluster: with the larger worker pool and buffer the watch dispatch no longer applies backpressure to the informer during the completion burst. No unit test added (config-default constants only).
Labels
changed
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/10/2026, 8:47 PMacoustic-carpenter-78188
07/11/2026, 1:34 AM