Repository navigation
ci: the release checks the Windows and macOS packages on mainnet before publishing them, and a weekly check of the published release - #119
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ly check - platform-sync.yml is callable: release.yml runs it on the packages of its own run, and publishes the Windows and macOS packages only if it passes (the PUBLISH_PLATFORMS switch goes); the Linux packages are still published at once - it can check a published release (a scheduled run on Sundays, a manual run without inputs, a platform-sync-* tag): the packages are downloaded as users do and checked against the checksum files - the comparison also requires a clean stop: Linux and macOS exit with status 0, macOS leaves no crash report Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <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
First steps of running the CI on Linux, Windows and macOS instead of Linux only.
platform-sync.ymlis callable.release.ymlruns it on the packages of its own run (jobPlatform consensus check): a node of each system restores the published snapshot, syncs mainnet to its head and logs state digests, and a job compares them block by block.Publish the Windows and macOS packagesruns only if it passed. The Linux packages are published at once, as before. The manualPUBLISH_PLATFORMSswitch is gone. A pull request that touches the packaging still builds the packages only; the check runs for a release and for a manual run.platform-sync-*tag take the latest published community release (ortag), download its packages as a user would, check them againstSHA256SUMS*and run the same check.Re-run failed jobs), and the job that publishes follows.Test plan
platform-sync.ymlon the published community.14 (manual run, packages from the release, checksums checked): Linux, Windows and macOS in agreement on 22 blocks, 0 differences, clean stopsrelease.ymlfrom this branch withpublish=false: build, packages, platform check (all three systems and the comparison) green,Publish the Windows and macOS packagesskipped🤖 Generated with Claude Code