Repository navigation
Add bootstrapper checksums for 2.9.0 and 2.9.1 - #2650
Merged
glopesdev merged 1 commit intoJul 28, 2026
Merged
Conversation
Opening a workflow in a local environment pinned to 2.9.0 or 2.9.1 now starts that bootstrapper, downloading it if needed, instead of failing as an unsupported version. Closes bonsai-rx#2649
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.
The
knownChecksumstable inEnvironmentSelectorhad static entries only up to 2.8.5, plus a dynamic entry for the version of the running launcher. A local environment pinned to a released version with no entry is rejected outright, so opening a workflow in a project pinned to 2.9.0 would fail with an unhandledApplicationExceptionunder the 2.9.1 launcher. Adding the two entries makes those environments start their own bootstrapper again, downloading it first when the executable is not already present.How the values were obtained
Each value is the SHA256 of the
Bonsai.exeinside theBonsai.ziprelease asset for that version, which is the fileDownloadBootstrapperExecutableAsynccompares against after extracting the archive. To reproduce, per version:bonsai --infoprints the resolved bootstrapper path, version and checksum for the current directory without launching or downloading anything. To check the behaviour, run this command in a project whose.bonsai/Bonsai.configpins 2.9.0. The bootstrapper will report an empty checksum before this change and the new value after.What this does not fix
Launchers already installed at 2.9.1 carry the incomplete table, so they keep rejecting 2.9.0 environments until they are updated. The workaround in the meantime is to place the 2.9.0
Bonsai.exein the.bonsaifolder and run it directly rather than through the installed launcher.Closes #2649