Skip to content

fix: watch.Filter panic with kooper v2.10 / client-go v0.35#64

Closed
Kaushik-Vijayakumar wants to merge 5 commits into
freshworks-oss:dependabot/go_modules/github.com/spotahome/kooper/v2-2.10.0from
Kaushik-Vijayakumar:fix/watch-filter-before-kooper-bump
Closed

fix: watch.Filter panic with kooper v2.10 / client-go v0.35#64
Kaushik-Vijayakumar wants to merge 5 commits into
freshworks-oss:dependabot/go_modules/github.com/spotahome/kooper/v2-2.10.0from
Kaushik-Vijayakumar:fix/watch-filter-before-kooper-bump

Conversation

@Kaushik-Vijayakumar
Copy link
Copy Markdown

Fixes the integration test panic seen when merging dependabot PR #59 (kooper v2.5.0 → v2.10.0, k8s client-go v0.35).

  • Return watch API errors before calling watch.Filter (avoids nil-pointer in filteredWatch.loop).
  • Opt out of client-go WatchList semantics on the custom RedisFailover ListWatch (IsWatchListSemanticsUnSupported).
  • Add ListWithContextFunc / WatchFuncWithContext for client-go v0.35 reflectors.
    Includes the same go.mod / go.sum changes as Bump github.com/spotahome/kooper/v2 from 2.5.0 to 2.10.0 #59.

Related

Test plan

Sasidharan3094 and others added 5 commits May 14, 2026 15:05
Signed-off-by: Sasidharan3094 <sasidharan.gopal94@gmail.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [azure/setup-helm](https://github.com/azure/setup-helm) from 4 to 5.
- [Release notes](https://github.com/azure/setup-helm/releases)
- [Changelog](https://github.com/Azure/setup-helm/blob/main/CHANGELOG.md)
- [Commits](Azure/setup-helm@v4...v5)

---
updated-dependencies:
- dependency-name: azure/setup-helm
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Return the API watch error before wrapping with watch.Filter so a nil
watcher cannot panic the informer. Opt out of client-go WatchList semantics
for the custom ListWatch and add context-aware list/watch funcs for
compatibility with client-go v0.35+ and the kooper dependency bump.
Bumps [github.com/spotahome/kooper/v2](https://github.com/spotahome/kooper) from 2.5.0 to 2.10.0.
- [Release notes](https://github.com/spotahome/kooper/releases)
- [Changelog](https://github.com/spotahome/kooper/blob/master/CHANGELOG.md)
- [Commits](spotahome/kooper@v2.5.0...v2.10.0)

---
updated-dependencies:
- dependency-name: github.com/spotahome/kooper/v2
  dependency-version: 2.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.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