Skip to content

Comments

feat: candid interface compatibility check#390

Open
adamspofford-dfinity wants to merge 5 commits intomainfrom
spofford/candid-compat-check
Open

feat: candid interface compatibility check#390
adamspofford-dfinity wants to merge 5 commits intomainfrom
spofford/candid-compat-check

Conversation

@adamspofford-dfinity
Copy link
Contributor

No description provided.

@adamspofford-dfinity adamspofford-dfinity marked this pull request as ready for review February 24, 2026 22:34
@adamspofford-dfinity adamspofford-dfinity requested a review from a team as a code owner February 24, 2026 22:34
Copy link
Contributor

@raymondk raymondk left a comment

Choose a reason for hiding this comment

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

As I understand it, a icp deploy will attempt to install all the canisters in parallel.
If one of the canisters has an incompatible interface only it will fail to install and the rest will succeed.

I thought it would be better to:

  • check all the canister interfaces in parallel, abort if one of them doesn't pass the check
  • install all the canisters

We could do this by making an "check candid interface" operation and making the deploy and install commands to the check, then the install.

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.

3 participants