ci(try-runtime): test staging path (do not merge)#704
Draft
jaxter03 wants to merge 8 commits into
Draft
Conversation
Split try-runtime check out of ci.yaml so it fires only on PRs into dev (devnet/cere-dev-runtime) or staging (testnet/cere-runtime), with per-PR concurrency cancellation and a path filter to skip non-runtime PRs. Add a daily snapshot workflow that pulls devnet and testnet state via try-runtime create-snapshot and stores them in the Actions cache keyed by date. The check workflow restores the latest snapshot and runs the on-runtime-upgrade check against snap --path, falling back to live if no snapshot is cached yet. The try-runtime-cli binary is also cached across runs to skip the ~3-5 min cargo install. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Will be removed before merging to dev. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
try-runtime-cli's litep2p dep needs protoc at build time; without it cargo install fails with "Could not find protoc". Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…tion Will be removed before merging to dev. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
try-runtime refuses to run on-runtime-upgrade unless spec_version is bumped vs the snapshot. For CI sanity checks (which run on branches that often don't bump spec_version) we want the check to execute regardless — same intent as the existing --disable-idempotency-checks. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Snapshots from 2026-05-19 were evicted from the Actions cache by the 10 GB LRU policy (cargo build caches outweighed them). Touching the snapshot workflow file to re-fire its push trigger and repopulate. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Draft PR to validate
check-try-runtime.yamlagainst the staging base — exercises the testnet snapshot path +cere-runtimebuild.Not for merge — same content as the dev-targeted PR being prepared.
Test plan
check-try-runtimejob triggers on this PR withbase_ref=stagingtry-runtime-snap-testnet-*from cache (warm)cere-runtimepackage only (not cere-dev-runtime)try-runtime on-runtime-upgrade snap --path(not live)🤖 Generated with Claude Code