Skip to content

feat: script to certify all assets - #211

Merged
peterpeterparker merged 1 commit into
mainfrom
feat/certify-script
Apr 16, 2026
Merged

feat: script to certify all assets#211
peterpeterparker merged 1 commit into
mainfrom
feat/certify-script

Conversation

@peterpeterparker

@peterpeterparker peterpeterparker commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

Motivation

Mo assets, mo problem.

Solution

This PR introduces a script that can be executed via the Juno CLI or GitHub Actions to iteratively re-certify all assets in both heap and stable memory.

What's left TODO

While the script should be run manually when something is off, it should also be included in the current release process (with some modifications, or unless the deployment process is changed). While deploying the assets is likely and hopefully fine, the additional step that re-applies the configuration on every deployment will likely fail. If this pattern is required, the command should actually be removed from the actions, and another script should be written, as the Satellite now exposes a new endpoint that applies the configuration without running the certification.

Both the custom certification and the new configuration endpoint are not yet available in the Juno CLI, because there is currently no other client besides this project that requires them.

Changes

  • Install required libraries
  • Bump few existing libraries to avoid conflicts between @dfinity/agent and @icp-sdk/core
  • Provide script which I run yesterday evening

Notes

The script can be run by an administrator as follow locally with the Juno CLI:

juno run --src ./juno.certify.ts

@peterpeterparker
peterpeterparker requested a review from a team as a code owner April 15, 2026 16:53
Copilot AI review requested due to automatic review settings April 15, 2026 16:53

This comment was marked as spam.

@peterpeterparker
peterpeterparker merged commit 444a700 into main Apr 16, 2026
14 checks passed
@peterpeterparker
peterpeterparker deleted the feat/certify-script branch April 16, 2026 11:51
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