Skip to content

try-runtime job for PreviewNet#140

Open
rosarp wants to merge 9 commits into
devfrom
rs-try-runtime-ci-job
Open

try-runtime job for PreviewNet#140
rosarp wants to merge 9 commits into
devfrom
rs-try-runtime-ci-job

Conversation

@rosarp

@rosarp rosarp commented Jun 5, 2026

Copy link
Copy Markdown
Member

Fixes #103

@rosarp rosarp marked this pull request as draft June 5, 2026 12:51
@rosarp rosarp marked this pull request as ready for review June 6, 2026 20:10

@ilchu ilchu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nothing blocking, but I did find a few followups. Feel free to add them in this PR or I'd appreciate if you could create issues.

The biggest one that wasn't your code related: across the 3 main pallets (storage provider, s3 registry and drive registry) the latter doesn't have the try-runtime feature at all. We'd definitely need that for completeness of this CI check, but whether you want to do it separately or on top of this is up to you.

Comment thread .github/env
Comment thread justfile Outdated
Comment thread scripts/runtimes-matrix.json Outdated
Comment thread scripts/runtimes-matrix.json Outdated

@bkontur bkontur left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ilchu added 4 commits June 12, 2026 15:21
.github/env is now the single source of truth for tool versions: the
justfile loads it via dotenv (shell-exported vars still override file
values) instead of duplicating version strings. The try-runtime download
is verified against pinned SHA256s, mirroring the bulletin-chain setup.
The migration-check workflow no longer needs to pass the version into
just, which also removes a template-injection surface in its run blocks.
pallet-drive-registry was the only one of the three main pallets without
a try-runtime feature, so the new migration-check CI job built the
runtimes with the pallet's try-runtime hooks disabled. Add the feature
and propagate it through the precompile and both runtimes.
Set persist-credentials: false on all three checkouts (artipacked) and
accept the runtime-resolved CI_IMAGE container ref in .github/zizmor.yml
(unpinned-images), matching the existing exceptions for the other
set-image consumers. The template-injection findings were already
resolved by sourcing the try-runtime version from .github/env.
@ilchu ilchu enabled auto-merge (squash) June 12, 2026 08:14
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.

[CI] Add try-runtime CI job, runtime matrix, check for PreviewNet

3 participants