chore(deps): upgraded stac-browser to version 5.0.0. - #598
Conversation
|
Claude finished @pantierra's task in 1m 54s —— View job Reviewing PR #598
✅ No blocking issues — safe to merge. @lhoupert's earlier concern about
Rest of the diff checked out:
Minor, non-blocking: no test exercises Simplify (ponytail) Nothing to flag — this PR is net -472 lines and deletes a custom Docker build pipeline, a vendored patch, and a temporary redirect workaround in favor of consuming upstream directly. That's the lazy/correct direction, not over-engineering. Note: I was unable to run 💰 Estimated review cost: $0.56 · 1m54s · 31 turns |
1769cc4 to
001ee44
Compare
001ee44 to
3548fa4
Compare
lhoupert
left a comment
There was a problem hiding this comment.
I just tried this release locally asking Claude to start a local kind cluster with traefik, It installed the chart from main, ran the upgrade on this branch and all worked well.
Just one ask, because this PR deletes browser_redirect_test.yaml. I created this test particularly to make sure the ingress annotation and the rendered middlewares are in sync. It is a guardrail against the issue documented #568 : when a Traefik ingress annotation names a Middleware that doesn't exist, Traefik doesn't just ignore it , it disables the whole router ☠️ (every route on the host 404s).
Why do you think about adding these two changes to the PR?
# templates/networking/ingress.yaml — only set the annotation when the middleware renders
{{- if and (eq .Values.ingress.className "traefik") (include "eoapi.traefikStripPrefixes" . | fromJsonArray) }}
{{- $_ := set $annotations "traefik.ingress.kubernetes.io/router.middlewares" (printf "%s-%s-strip-prefix-middleware@kubernetescrd" .Release.Na
mespace .Release.Name) -}}
{{- end }}# tests/traefik_annotation_consistency_test.yaml
suite: traefik router annotation consistency
templates:
- templates/_helpers/networking.tpl
- templates/networking/ingress.yaml
- templates/networking/traefik-middleware.yaml
set:
ingress.enabled: true
ingress.className: traefik
ingress.host: eoapi.local
tests:
- it: "omits the strip-prefix annotation when no middleware renders, so the router reference never dangles"
set:
browser.enabled: true
stac.enabled: false
raster.enabled: false
vector.enabled: false
multidim.enabled: false
docServer.enabled: false
asserts:
- template: templates/networking/traefik-middleware.
hasDocuments:
count: 0
- template: templates/networking/ingress.yaml
notExists:
path: metadata.annotations["traefik.ingress.kuberes"]Then once this is merged we will have to make sure #586 (which fixes the same thing as part of the bigger ingress refactor) has a carefull rebase.
4903bac to
25d5681
Compare
|
Thanks for the review! Added both of your suggestions. |
lhoupert
left a comment
There was a problem hiding this comment.
Guard and test look right, thanks!
Closes #597