Skip to content

Source Canton dashboard version from Splice release-line#606

Draft
danielporterda wants to merge 2 commits into
mainfrom
issue-480-canton-release-line-source-main
Draft

Source Canton dashboard version from Splice release-line#606
danielporterda wants to merge 2 commits into
mainfrom
issue-480-canton-release-line-source-main

Conversation

@danielporterda
Copy link
Copy Markdown
Contributor

Summary

  • Automates the dashboard Canton row instead of leaving it manual.
  • Reads each network's live Splice version from /info, derives the matching canton-network/splice release-line-<version> branch, and reads version from nix/canton-sources.json on that branch.
  • Uses release-line branches instead of Splice tags, following Itai's advice that branches are safer because updates go through review while tags can be moved.
  • Regenerates config/repo-version-config.json and docs-main/snippets/generated/version-dashboard-data.mdx with the sourced Canton values.

Follow-up to #598.

Source path

Network Splice source Splice version Canton source Canton value
MainNet https://docs.global.canton.network.sync.global/info 0.6.2 https://github.com/canton-network/splice/blob/release-line-0.6.2/nix/canton-sources.json 3.5.1-snapshot.20260429.18795.0.v9fec8f12
TestNet https://docs.test.global.canton.network.sync.global/info 0.6.3 https://github.com/canton-network/splice/blob/release-line-0.6.3/nix/canton-sources.json 3.5.1-snapshot.20260505.18818.0.v8b3615fe
DevNet https://docs.dev.global.canton.network.sync.global/info 0.6.4 https://github.com/canton-network/splice/blob/release-line-0.6.4/nix/canton-sources.json 3.5.1-snapshot.20260513.18867.0.vbe205abb

Screenshot

Dashboard after sourcing Canton from Splice release-line branches:

Version dashboard with release-line-sourced Canton values

Validation

  • direnv allow
  • direnv exec . npm run generate:version-compatibility-dashboard
  • direnv exec . python3 -m py_compile scripts/generate_network_component_versions.py scripts/generate_external_snippets.py
  • direnv exec . python3 scripts/generate_network_component_versions.py --dry-run plus jq empty
  • jq empty config/repo-version-config.json
  • node --check scripts/helpers/updateVersionDashboardData.js
  • git diff --check
  • direnv exec . sh -lc 'cd docs-main && npx mintlify validate'
  • Local screenshot check at http://127.0.0.1:3041/shared/version-compatibility-dashboard: found all three release-line-derived Canton snapshot values; browser console/page errors: 0

@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented May 21, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
cantonfoundation 🟢 Ready View Preview May 21, 2026, 3:31 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

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.

1 participant