Commit 2041ccf
fix(setup.sh): set Temporal namespace retention on create (#2675)
## Problem
`helm-prereqs/setup.sh` creates the Temporal namespaces (`cloud`,
`site`, `flow`, `<site-uuid>`) with:
```
temporal operator namespace create -n <ns> --address ... 2>/dev/null || true
```
No `--retention` is passed, and `2>/dev/null || true` swallows any
failure. Depending on the Temporal server's default-retention policy the
create can be rejected/incomplete; the namespace then never exists and
the nico-rest **cloud/site/flow workers CrashLoop** with `Namespace
"<ns>" is not found`. The silent `|| true` makes this invisible during
install.
## Fix
Pass an explicit `--retention 72h` on each namespace create so it
succeeds deterministically regardless of server defaults. (Reproduced on
a clean v0.10.3 install; the same code is still present on `main`.)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Signed-off-by: kirson-git <ekirson@nvidia.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Hasan Khan <hasank@nvidia.com>1 parent cc31499 commit 2041ccf
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | | - | |
| 633 | + | |
634 | 634 | | |
635 | | - | |
| 635 | + | |
636 | 636 | | |
637 | 637 | | |
638 | | - | |
| 638 | + | |
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
| |||
763 | 763 | | |
764 | 764 | | |
765 | 765 | | |
766 | | - | |
| 766 | + | |
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
| |||
0 commit comments