fix/refactor: deep copy status in translator for all resources#9458
Conversation
✅ Deploy Preview for cerulean-figolla-1f9435 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
0c169cb to
a9bef03
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9458 +/- ##
==========================================
- Coverage 75.41% 75.38% -0.04%
==========================================
Files 252 252
Lines 41660 41608 -52
==========================================
- Hits 31417 31365 -52
+ Misses 8113 8111 -2
- Partials 2130 2132 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
864d3a4 to
be6f0dd
Compare
|
hey @rudrakhp |
Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com>
2b66ec8 to
3247d7d
Compare
|
|
|
Good catch, and you're right — Two clarifications on the scope:
On the fix: I'd like to keep this PR's invariant that only I will open a follow up for that fix. |
|
LGTM, thanks! |
…proxy#9458) Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com> Co-authored-by: zirain <zirain2009@gmail.com> (cherry picked from commit e51b417) Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>
* detect ipv6 literal hosts in url2cluster and token endpoint check (#9165) * detect ipv6 literal hosts in url2cluster and token endpoint check Signed-off-by: dxbjavid <dxbjavid@gmail.com> * add release note for ipv6 literal endpoint fix Signed-off-by: dxbjavid <dxbjavid@gmail.com> --------- Signed-off-by: dxbjavid <dxbjavid@gmail.com> Signed-off-by: zirain <zirain2009@gmail.com> Signed-off-by: Javid Khan <dxbjavid@gmail.com> Co-authored-by: zirain <zirain2009@gmail.com> (cherry picked from commit 30d456e) Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> * Revert LuaPerRoute source materialization for Lua (#9426) * Revert "[xds] stabilize listener-level Lua XDS filters to avoid listener drain (#8598)" This reverts commit 80b2762. Why: - Back out the LuaPerRoute stabilization layer together with #8355 while investigating the Gateway-scoped Lua memory regression from #9355. - #8598 only stabilizes per-route Lua HCM slot names; it still leaves Lua source materialized per route, so it is not sufficient for the memory issue. Test plan: - `go test ./internal/xds/translator` Signed-off-by: Arko Dasgupta <arkodg@gmail.com> * Revert "refactor/perf: use LuaPerRoute instead of FilterConfig (#8355)" This reverts commit f31ac4e. Why: - #8355 materialized Gateway-targeted Lua as per-route LuaPerRoute source code. - With large route tables, identical Gateway-scoped scripts are duplicated across route entries and worker Lua runtime state, matching the memory regression reported in #9355. - Restoring listener-level Lua source avoids scaling the Gateway-scoped script with route count. Test plan: - `go test ./internal/xds/translator` Fixes #9355 Signed-off-by: Arko Dasgupta <arkodg@gmail.com> * add filterContext in per route level Signed-off-by: Arko Dasgupta <arkodg@gmail.com> * [xds] scope Lua revert to translator changes Remove unrelated Gateway API status-merge and redirect regression files that were accidentally included with the filterContext follow-up. Add a breaking-change fragment documenting the listener-level Lua source layout and filter-key migration for EnvoyPatchPolicy and extension consumers. Test: make test Signed-off-by: Arko Dasgupta <arkodg@gmail.com> --------- Signed-off-by: Arko Dasgupta <arkodg@gmail.com> (cherry picked from commit 76bd888) Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> * fix: default backend TLS max version to 1.3 (#9412) Backend (upstream) TLS connections were silently capped at TLS 1.2. Apply the defaults (min 1.2, max 1.3) in applyBackendTLSSetting when not configured. Fixes #9395 Signed-off-by: vishwas-bm <b_m.vishwas@nokia.com> (cherry picked from commit 581a9c5) Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> * fix: add default retry policy for Envoy wasm module fetch (#9462) add default retry policy for Envoy wasm module fetch Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> (cherry picked from commit 3e18557) Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> * fix/refactor: deep copy status in translator for all resources (#9458) Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com> Co-authored-by: zirain <zirain2009@gmail.com> (cherry picked from commit e51b417) Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> * fix(logs): restore ISO 8601 timestamp format (#9493) * fix(logs): restore ISO 8601 timestamp format Signed-off-by: Florian Wiegand <florian.wiegand@sap.com> * fix(logs): add release note for ISO 8601 timestamp fix Signed-off-by: Florian Wiegand <florian.wiegand@sap.com> --------- Signed-off-by: Florian Wiegand <florian.wiegand@sap.com> (cherry picked from commit 2621405) Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> * fix: unreferenced Secret events trigger reconciliation when HTTPRouteFilter CRD exists (#9488) * fix: unreferenced Secret events trigger reconciliation when HTTPRouteFilter CRD exists isHTTPRouteFilterReferencingSecret returned true on both branches, so with the HTTPRouteFilter CRD installed (the default), every Secret write in the cluster passed validateSecretForReconcile and enqueued a full reconcile. Any high-frequency Secret writer (secret sync controllers, cert rotation) drives the controller to reconcile continuously. Return false when no HTTPRouteFilter references the Secret, matching the other is*ReferencingSecret helpers. Enable hrfCRDExists in the predicate test so the existing unreferenced-Secret case guards this path, and add positive/negative cases for HTTPRouteFilter credential injection refs. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: James Hong <james.hong@zapier.com> (cherry picked from commit 4d7686c) Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> --------- Signed-off-by: dxbjavid <dxbjavid@gmail.com> Signed-off-by: zirain <zirain2009@gmail.com> Signed-off-by: Javid Khan <dxbjavid@gmail.com> Signed-off-by: jukie <10012479+jukie@users.noreply.github.com> Signed-off-by: Arko Dasgupta <arkodg@gmail.com> Signed-off-by: vishwas-bm <b_m.vishwas@nokia.com> Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com> Signed-off-by: Florian Wiegand <florian.wiegand@sap.com> Signed-off-by: James Hong <james.hong@zapier.com> Co-authored-by: Javid Khan <dxbjavid@gmail.com> Co-authored-by: zirain <zirain2009@gmail.com> Co-authored-by: Arko Dasgupta <arkodg@users.noreply.github.com> Co-authored-by: vishwas-bm <b_m.vishwas@nokia.com> Co-authored-by: Rudrakh Panigrahi <rudrakh97@gmail.com> Co-authored-by: Florian Wiegand <36593900+wiegandf@users.noreply.github.com> Co-authored-by: James Hong <greyeye@gmail.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Uh oh!
There was an error while loading. Please reload this page.