Skip to content

Conversation

@FrederikBolding
Copy link
Member

@FrederikBolding FrederikBolding commented Aug 28, 2025

Our current rollback approach did not account for initialConnections, which are handled separately from other permissions because they are somewhat complicated to apply. If a Snap failed to update, we would not correctly roll back the changes to the initialConnections. This PR fixes that issue.

Fixes #3619

@codecov
Copy link

codecov bot commented Aug 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.28%. Comparing base (a932d61) to head (ce4e5ff).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3618   +/-   ##
=======================================
  Coverage   98.28%   98.28%           
=======================================
  Files         417      417           
  Lines       11772    11777    +5     
  Branches     1832     1834    +2     
=======================================
+ Hits        11570    11575    +5     
  Misses        202      202           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@FrederikBolding FrederikBolding force-pushed the fb/roll-back-initial-connections branch from 6f0c4c0 to ce4e5ff Compare August 29, 2025 10:02
@FrederikBolding FrederikBolding marked this pull request as ready for review August 29, 2025 10:02
@FrederikBolding FrederikBolding requested a review from a team as a code owner August 29, 2025 10:02
Copy link
Contributor

@cryptodev-2s cryptodev-2s left a comment

Choose a reason for hiding this comment

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

LGTM!

@FrederikBolding FrederikBolding added this pull request to the merge queue Sep 1, 2025
Merged via the queue into main with commit 141e3bf Sep 1, 2025
120 checks passed
@FrederikBolding FrederikBolding deleted the fb/roll-back-initial-connections branch September 1, 2025 07:24
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.

initialConnections are not properly rolled back if an update fails

3 participants