Repository navigation
feat(helm): expose cache.cdc.chunk-wait-timeout - #1300
Conversation
The cache.cdc.chunk-wait-timeout flag (CACHE_CDC_CHUNK_WAIT_TIMEOUT, default 30s) added in #1299 bounds the per-chunk wait during progressive CDC streaming so it can be aligned with a deployment's gateway timeout. It was registered in the binary but not reachable from the Helm chart. - Add config.cdc.chunkWaitTimeout (default null) to values.yaml and render chunk-wait-timeout conditionally in the configmap, mirroring the existing optional cdc.* knobs (quoted duration, omitted when unset). - Add helm unit tests: rendered when set, omitted when null. - Document the knob in the Helm chart reference and example, and document the underlying --cache-cdc-chunk-wait-timeout flag in the CLI and CDC references (the flag shipped without these doc updates). - Sync the new helm-cdc-chunk-wait-timeout capability spec and archive the OpenSpec change. Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
This change is part of the following stack: Change managed by git-spice. |
📝 WalkthroughWalkthroughThis PR exposes the application's existing ChangesHelm CDC Chunk-Wait-Timeout Configuration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
Comment |
There was a problem hiding this comment.
Code Review
This pull request exposes the Content-Defined Chunking (CDC) chunk-wait timeout configuration (config.cdc.chunkWaitTimeout) in the Helm chart, mapping it to the chunk-wait-timeout parameter. It defaults to null to preserve the binary's default behavior unless explicitly set. Unit tests have been added to verify correct rendering, and the documentation has been updated across CLI, feature, and Helm reference guides. There are no review comments to address, and the implementation looks clean and complete; therefore, I have no feedback to provide.
Summary
The
cache.cdc.chunk-wait-timeoutflag (CACHE_CDC_CHUNK_WAIT_TIMEOUT, default30s) added in #1299 bounds the per-chunk wait during progressive CDC streaming so operators can align it with their reverse-proxy/gateway timeout on high-latency storage. The flag was registered in the binary but not reachable from the Helm chart.config.cdc.chunkWaitTimeout(defaultnull) tovalues.yamland renderchunk-wait-timeoutconditionally in the ConfigMap, mirroring the existing optionalcdc.*knobs (quoted duration, omitted when unset so the binary's30sdefault applies).--cache-cdc-chunk-wait-timeoutflag in the CLI and CDC references (the flag shipped in fix(cache): recover from ambiguous storage errors & bound chunk-wait #1299 without these doc updates).No Go, database, or migration changes — this only surfaces an existing flag through the chart.
Test plan
task fmtclean (0 changed)helm unittest charts/ncps— 141/141 pass (RED→GREEN on the two new assertions)nix flake check(helm unit tests)