Repository navigation
Add a workflow that records the Windows heap order on GitHub's runner - #29
Merged
Merged
Conversation
heap-profile runs scripts\train-heap.ps1 on windows-2025 with the latest release's runtime (when its signed RUNTIME_STAMP is this commit's), uploads profiles/pi-X.Y.Z as an artifact and pushes it to heap-profile/pi-X.Y.Z.
Kushalkhemka
approved these changes
Oct 15, 2026
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.
Adds
heap-profile, a manual workflow that runsscripts\train-heap.ps1on GitHub's windows-2025 runner, so a new Pi version's Windows heap order no longer needs a local Windows machine.runtime(ubuntu): reads the Pi version, checksprofiles/pi-X.Y.Z/bytecode.orderexists, and requiresscripts/runtime-stamp.shto equal the latest release'sRUNTIME_STAMP, taken from its signedSHA256SUMS.train(windows-2025): the setup of release.yml's Windows job (AVX2 check,pyshim, the release's runtime checked against its signed checksums,npm ci,npm run build:offline), thenscripts\train-heap.ps1; uploadsprofiles/pi-X.Y.Zas an artifact.branch(ubuntu,contents: write): commits the artifact and pushesheap-profile/pi-X.Y.Z. The pull request is opened by hand, since one opened with the workflow's token would not runci.docs/RELEASING.md step 2 of "A new Pi version" mentions it.
Generated by Claude Code