kr8s-org / kr8s

A batteries-included Python client library for Kubernetes that feels familiar for folks who already know how to use kubectl
https://kr8s.org
BSD 3-Clause "New" or "Revised" License
799 stars 43 forks source link

Handle 410 Gone response when watching resources #478

Closed florianvazelle closed 1 month ago

florianvazelle commented 1 month ago

Closes https://github.com/kr8s-org/kr8s/issues/476

This MR:

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 70.58824% with 5 lines in your changes missing coverage. Please review.

Project coverage is 94.98%. Comparing base (87063fc) to head (e5e35aa). Report is 111 commits behind head on main.

Files with missing lines Patch % Lines
kr8s/_api.py 70.58% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #478 +/- ## ========================================== + Coverage 94.61% 94.98% +0.36% ========================================== Files 29 30 +1 Lines 3141 3909 +768 ========================================== + Hits 2972 3713 +741 - Misses 169 196 +27 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

florianvazelle commented 1 month ago

@jacobtomlinson thanks for your help, it was more complicated than I thought :sweat_smile: