fix(CI): bootstrap.py no longer reuses a stale package database - #12341
Open
zlonast wants to merge 1 commit into
Open
fix(CI): bootstrap.py no longer reuses a stale package database#12341zlonast wants to merge 1 commit into
zlonast wants to merge 1 commit into
Conversation
ffaf1
approved these changes
Sep 9, 2026
54 tasks
ulysses4ever
approved these changes
Sep 9, 2026
ulysses4ever
left a comment
Collaborator
There was a problem hiding this comment.
Sounds good to me.
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.
fix: #12311
The package database is now deleted and recreated from scratch on every
bootstrap run, making the script idempotent with respect to a dirty or
polluted
_build. Additionally, theBootstrapworkflow now hashes the.cabalfiles of the local packages into its cache key, so caches are nolonger shared between branches that build different versions of the local
packages.
$ python3 bootstrap/bootstrap.py --bootstrap-sources bootstrap-sources.tar.gz + Deleting stale package database _build/packages.conf Creating package database _build/packages.conf Using ...Template B: This PR does not modify behaviour or interface
E.g. the PR only touches documentation or tests, does refactorings, etc.
Include the following checklist in your PR: