Skip to content

Conversation

dragomirp
Copy link
Contributor

Don't remove revision unless on safe Juju version.

Checklist

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

@dragomirp dragomirp added the bug Something isn't working as expected label Oct 10, 2025
Copy link

codecov bot commented Oct 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.79%. Comparing base (5870ee7) to head (2dd794e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1214      +/-   ##
==========================================
+ Coverage   75.73%   75.79%   +0.06%     
==========================================
  Files          16       16              
  Lines        4170     4173       +3     
  Branches      629      630       +1     
==========================================
+ Hits         3158     3163       +5     
+ Misses        792      790       -2     
  Partials      220      220              

☔ 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.

@dragomirp dragomirp force-pushed the revision-removal-version-check branch from 90ed72b to 9b6db1d Compare October 10, 2025 13:38
@dragomirp dragomirp marked this pull request as ready for review October 10, 2025 13:39
Copy link
Member

@marceloneppel marceloneppel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks, Dragomir.

I tested this PR on the following Juju versions:

  • 3.6.11 (built from commit 37e3e7fec0dd8f287e55f03b4055bad2a927697e - coming from juju/juju#20796 - mentioned on #1195 (comment)) - correctly removes the previous secret revision.
  • 3.6.9 - correctly skip previous secret revision removal.

Copy link
Contributor

@taurus-forever taurus-forever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To sign this I need to test Juju 3.6.11 which I have trouble to compile. :-( WIP

@taurus-forever taurus-forever changed the title [MISC] Check juju version before removing revision [DPE-8550] Check juju version before removing revision Oct 13, 2025
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants