Skip to content

Remove builder options nodes; store and check builder options by phase. #3983

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

davidmorgan
Copy link
Contributor

@davidmorgan davidmorgan commented Apr 23, 2025

For #3811.

Prior to this PR builder options are stored as nodes in the asset graph, with each generation / post generation pointing to its builder options node. This is used to know to rerun generations when builder options change.

Builder options are set per phase in BuildPhases, so instead map the list of phases to a list of digests, and store/compare that, removing builder options entirely from the asset graph.

Checking whether in-build and post build actions rerun when options change is already covered by tests.

Copy link

github-actions bot commented Apr 23, 2025

PR Health

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

@davidmorgan davidmorgan force-pushed the build-options-to-phases branch 11 times, most recently from fe432fd to 164d4b9 Compare April 24, 2025 08:52
@davidmorgan davidmorgan force-pushed the build-options-to-phases branch from 164d4b9 to c041360 Compare April 24, 2025 09:03
@davidmorgan davidmorgan marked this pull request as ready for review April 24, 2025 09:15
@davidmorgan davidmorgan requested a review from jensjoha April 24, 2025 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants