Skip to content

chore: improve wait-for-redis initcont no-auth-set message#133

Merged
bebosudo merged 2 commits intochiusole/improve-handling-and-description-of-platform-service-address-portfrom
chiusole/improve-wait-for-redis-no-auth-message
May 5, 2026
Merged

chore: improve wait-for-redis initcont no-auth-set message#133
bebosudo merged 2 commits intochiusole/improve-handling-and-description-of-platform-service-address-portfrom
chiusole/improve-wait-for-redis-no-auth-message

Conversation

@bebosudo
Copy link
Copy Markdown
Member

Fix on top of #130 to improve logs when no authentication password is provided (now (auth not set) is printed, compared to (auth )).

Also update the seqera-common dependency in wave and agent-backend reported in #132

@bebosudo bebosudo requested a review from a team as a code owner April 30, 2026 15:30
Comment thread charts/seqera-common/templates/_initcontainers.tpl Outdated
@bebosudo bebosudo requested a review from ShahzebMahmood May 4, 2026 14:50
Copy link
Copy Markdown

@ShahzebMahmood ShahzebMahmood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bebosudo bebosudo merged commit 02132bc into chiusole/improve-handling-and-description-of-platform-service-address-port May 5, 2026
2 checks passed
@bebosudo bebosudo deleted the chiusole/improve-wait-for-redis-no-auth-message branch May 5, 2026 10:04
bebosudo added a commit that referenced this pull request May 5, 2026
…s to be provided (#131)

* Update all platform subcharts to require platformServiceAddress to be provided

* chore: improve wait-for-redis initcont no-auth-set message (#133)

* chore: improve wait-for-redis initcont no-auth-set message

* Use more explicit check for password set/unset

* feat(helm): add global.ingress defaults shared across charts (#129)

* feat(ingress): add global.ingress defaults shared across charts

Introduce a `global.ingress` block (`enabled`, `path`, `defaultPathType`,
`ingressClassName`) that the platform parent and every subchart's Ingress
template falls back to. Setting these once at the parent level propagates to
studios, portal-web, mcp, wave, and agent-backend so users don't have to
repeat controller-wide config per subchart.

Resolution semantics:
- `enabled`: OR — either local or global being `true` enables the Ingress
- `path`, `defaultPathType`, `ingressClassName`: local wins when set,
  otherwise falls back to the global

BREAKING: default `pathType` is now `Prefix` (was `ImplementationSpecific`).
`Prefix` works for nginx, traefik, AWS ALB, and most modern controllers. ALB
users who relied on the old default may need to set
`global.ingress.defaultPathType: ImplementationSpecific`.

Also:
- Add docs/conventions/ingress.md documenting the pattern
- Update examples/ingress-configurations/* — drop redundant
  `defaultPathType: Prefix` lines, showcase `global.ingress.ingressClassName`
  in nginx-cert-manager.yaml, fix the README's Path Types section
- Bump platform 0.32.3→0.33.0, studios 1.2.11→1.3.0, portal-web 0.2.5→0.3.0,
  mcp 0.3.2→0.4.0, wave 0.1.0→0.2.0, agent-backend 0.4.7→0.5.0
- Scope helm-docs pre-commit hook to charts/ and exclude .claude/worktrees so
  agent worktrees don't cause spurious doc regeneration

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(ingress): rewrite seqera.ingress.host comment to avoid helmfmt stripping indentation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: update snapshots after rebase onto master

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Merge chiusole/improve-handling-and-description-of-platform-service-address-port into feat/global-ingress-defaults

* Bump subcharts minor version for new global.ingress feature, fix changelogs

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Alberto Chiusole <chiusole@seqera.io>

* feat(ci): run subchart unit tests standalone in addition to parent (#132)

spike(ci): run subchart unit tests standalone in addition to parent

Adds two new make targets to charts/platform/Makefile:

- `unittests-standalone`: invokes `helm unittest` from inside each subchart
  directory (charts/*/  with a tests/ dir) so each renders with its own
  values/helpers — matching how a customer would install it on its own.
- `test-all`: runs both the existing parent-recursive `unittests` AND
  `unittests-standalone`, catching helper/values divergence that the
  parent-only run silently masks.

Wires `test-all` into `.github/scripts/run_chart_tests.py` so CI exercises
both paths. The script falls back to the legacy `tests` target for charts
that haven't adopted `test-all` yet.

Spike findings on running `make -C charts/platform unittests-standalone`
against current master:

- `wave` and `agent-backend` standalone tests fail with a snapshot mismatch
  in the wait-for-redis init container script. These pass in parent-context
  because parent and subcharts ship different versions of `seqera-common`.
  Pre-existing latent divergence — exactly the gap this spike surfaces.

This is intentionally a spike — pre-commit was bypassed to push the draft
PR for review. The standalone failures aren't fixed here; they demonstrate
the value of the per-chart standalone runner and need triage in a follow-up.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Alberto Chiusole <chiusole@seqera.io>

* Default to testing both umbrella platform chart, then its subcharts standalone

---------

Co-authored-by: Gavin <gavin.elder@seqera.io>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants