Skip to content

fix: recreate headless service if deleted externally#1349

Draft
marceloneppel wants to merge 2 commits into16/edgefrom
recreate-endpoints-16
Draft

fix: recreate headless service if deleted externally#1349
marceloneppel wants to merge 2 commits into16/edgefrom
recreate-endpoints-16

Conversation

@marceloneppel
Copy link
Member

@marceloneppel marceloneppel commented Mar 13, 2026

Issue

Solution

Port of #1348.

Checklist

  • I have added or updated any relevant documentation.
  • I have cleaned any remaining cloud resources from my accounts.

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
@github-actions github-actions bot added the Libraries: Out of sync The charm libs used are out-of-sync label Mar 13, 2026
@codecov
Copy link

codecov bot commented Mar 13, 2026

Codecov Report

❌ Patch coverage is 39.13043% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.46%. Comparing base (4a9810c) to head (e625db8).

Files with missing lines Patch % Lines
src/charm.py 39.13% 13 Missing and 1 partial ⚠️

❌ Your project check has failed because the head coverage (68.46%) is below the target coverage (70.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff             @@
##           16/edge    #1349      +/-   ##
===========================================
- Coverage    68.64%   68.46%   -0.18%     
===========================================
  Files           16       16              
  Lines         3881     3904      +23     
  Branches       590      592       +2     
===========================================
+ Hits          2664     2673       +9     
- Misses        1009     1022      +13     
- Partials       208      209       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@marceloneppel marceloneppel added the bug Something isn't working as expected label Mar 13, 2026
Add integration test verifying charm recreates the headless endpoints
service after deletion. Includes spread task configuration for CI.

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected Libraries: Out of sync The charm libs used are out-of-sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant