mirror of
https://github.com/block/buzz.git
synced 2026-11-29 20:52:25 +00:00
fix(mobile-infra): render push grant lifetimes as decimal in chart 0.3.2 (#7820)
A valid 30-day push gateway grant lifetime could render in scientific notation (e.g. `2.592e+06`) in the chart, which the gateway binary does not accept. Always ormat the integer as decimal text, preserving the strict gateway parser. ### Testing Added regression coverage that feeds actual Helm-rendered environment values into the production config parser. Covers defaults, values files, command-line overrides, exact lifetime boundaries, and invalid input rejection. The default case failed before the fix and passes afterward. Signed-off-by: Tom Brow <tomb@block.xyz>
This commit is contained in:
@@ -289,8 +289,14 @@ Kubernetes does not restart pods when referenced Secret bytes change. AEAD or AP
|
||||
The gateway chart has a collision-free release lane separate from the main
|
||||
`buzz` chart. To publish chart version `X.Y.Z`, update `version` in
|
||||
`deploy/charts/buzz-push-gateway/Chart.yaml` and keep `appVersion` equal to the
|
||||
gateway binary's workspace package version. Validate the chart, then open a
|
||||
same-repository PR whose branch is exactly `push-chart-release/X.Y.Z`:
|
||||
gateway binary's workspace package version.
|
||||
|
||||
The render tests require Helm, Ruby, and the repository's Rust toolchain. They
|
||||
pass rendered environment values into the gateway's configuration parser with
|
||||
synthetic credentials; no running gateway or database is needed.
|
||||
|
||||
Validate the chart, then open a same-repository PR whose branch is exactly
|
||||
`push-chart-release/X.Y.Z`:
|
||||
|
||||
```bash
|
||||
deploy/charts/buzz-push-gateway/tests/render.sh
|
||||
|
||||
Reference in New Issue
Block a user