Skip to content

Added check-runtime to CI#404

Draft
antkve wants to merge 10 commits into
mainfrom
ak-ci-add-check-runtime
Draft

Added check-runtime to CI#404
antkve wants to merge 10 commits into
mainfrom
ak-ci-add-check-runtime

Conversation

@antkve
Copy link
Copy Markdown
Contributor

@antkve antkve commented Apr 13, 2026

No description provided.

Proxy: pallet_proxy = 62,
}
);
#[frame_support::runtime(legacy_ordering)]
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.

@antkve we don't need to modify bulletin-polkadot solochain runtime, it will be remove soon

key: try-runtime-snapshot-${{ matrix.runtime.name }}-${{ steps.get-date.outputs.today }}


check-runtimes:
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.

@antkve please, add here some specific/short desc what @polkadot-api/check-runtime@latest is really checking

check-runtimes:
needs: [runtime-matrix]
runs-on: ubuntu-latest
if: github.event_name != 'schedule' && github.event_name != 'workflow_dispatch' && needs.runtime-matrix.outputs.check-runtime != '[]'
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.

@antkve can we just use that bool directly?

Suggested change
if: github.event_name != 'schedule' && github.event_name != 'workflow_dispatch' && needs.runtime-matrix.outputs.check-runtime != '[]'
if: github.event_name != 'schedule' && github.event_name != 'workflow_dispatch' && needs.runtime-matrix.outputs.runtime.check-runtime

I would remove:

# Filter runtimes with check_runtime enabled (metadata hash matches the live chain)
          CHECK_RUNTIME_TASKS=$(jq -c '[.[] | select(.check_runtime == true)]' scripts/runtimes-matrix.json)
          echo --- check-runtime tasks ---
          echo $CHECK_RUNTIME_TASKS
          echo "check-runtime=$CHECK_RUNTIME_TASKS" >> $GITHUB_OUTPUT

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@bkontur Yes have changed to use the bool directly. But if I remove that filter, the checks fail at the moment because paseo builds with the wrong metadata (it builds with enable_metadata_hash("WND", 12)). Have made a PR to build Paseo with the correct hash using build flags, changes here: e783dec

@bkontur
Copy link
Copy Markdown
Collaborator

bkontur commented May 7, 2026

@antkve can you please rebase?

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