Closed lastmjs closed 7 months ago
We will wait for default or named cross-canister call callbacks at the protocol level to get a proper solution to this. For now, locally the errors should be displayed, just not in production.
dfx now supports larger Wasm binaries, and this issue is resolved
Because of our new chunk-uploading post_install installation process, we no longer receive any indication if there were errors in
init
orpost_upgrade
of our Kybra canisters. The cross-canister call that thekybra_deployer
canister uses toinstall_code
with the actual application Wasm is a notify, and not a full request/response. This is because the Wasm binary is swapped out, and the response attempts to call a basically random function on the new Wasm. This caused undefined behavior and very scary intermittent test failures. Thus, we use notify.There are two main drawbacks to this currently.
There are a few possible solutions to this problem: