cozystack/pkg/registry/core/tenantmodule
Andrei Kvapil d910f9facc
fix(apiserver): properly handle Watch resourceVersion and bookmarks
- Add resourceVersion handling for Watch requests by filtering ADDED events
  based on the resourceVersion provided by the client
- Forward bookmark events from underlying HelmRelease watchers to clients
  for proper resourceVersion synchronization
- Extract MaxResourceVersion helper using meta.EachListItem for cleaner code
- This ensures clients don't receive duplicate objects they already have
  from List+Watch patterns

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-01-16 16:02:44 +01:00
..
rest.go fix(apiserver): properly handle Watch resourceVersion and bookmarks 2026-01-16 16:02:44 +01:00
rest_test.go [registry] Add alphabetical sorting to resource lists 2025-12-26 12:48:25 +03:00