Skip to content

Conversation

@mraszyk
Copy link
Contributor

@mraszyk mraszyk commented Nov 28, 2025

This PR drops the AddCanisterChangeToHistory enum by inlining the canister history update to CanisterManager::uninstall_code.

The motivation for this change is to decouple RoundLimits update due to uninstalling code and due to updating canister history: those steps will be performed separately (in a follow-up PR) when taking a canister snapshot and uninstalling its code atomically (and thus setting RoundLimits to None would conveniently skip the RoundLimits update in the helper function uninstall_canister).

@mraszyk mraszyk marked this pull request as ready for review December 1, 2025 13:49
@mraszyk mraszyk requested a review from a team as a code owner December 1, 2025 13:49
@mraszyk mraszyk added this pull request to the merge queue Dec 2, 2025
Merged via the queue into master with commit f66f0b6 Dec 2, 2025
42 checks passed
@mraszyk mraszyk deleted the mraszyk/drop-add-canister-change-to-history-enum branch December 2, 2025 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants