Skip to content

Conversation

@vincent-dfinity
Copy link
Contributor

@vincent-dfinity vincent-dfinity commented Oct 28, 2025

Description

Implement

  • dfx canister migrate-id.
  • dfx canister migration-status

Fixes # (issue)

SDK-2046

How Has This Been Tested?

A new e2e test added.

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@vincent-dfinity vincent-dfinity changed the title feat: implement 'dfx canister rename' feat: implement 'dfx canister migrate-id' Oct 28, 2025
if !opts.yes {
ask_for_consent(
env,
&format!("Canister '{source_canister}' will be removed from its own subnet. Continue?"),
Copy link
Contributor

Choose a reason for hiding this comment

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

We could additionally check if the canister is uninstalled and has any data - e.g., snapshots.

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.

2 participants