Backport #12341: fix(CI): bootstrap.py no longer reuses a stale package database - #12353
Merged
Conversation
(cherry picked from commit 72fa62f)
zlonast
approved these changes
Sep 12, 2026
2 tasks
Contributor
Author
Merge Queue Status
This pull request spent 10 minutes 53 seconds in the queue, including 5 seconds running CI. Required conditions to merge
|
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:
This is an automatic backport of pull request #12341 done by [Mergify](https://mergify.com).