Nguyễn Gia Phong <[email protected]> writes:
BTW subsitute* are visible as imported modules (via package-arguments or origin-modules), so opting in cannot be done per-module but per-package.
Oh right, the builder's environment is not the same as the package module's. I failed to consider that.
If we're going with opt-out, we will have 1 complete rebuild for the change to substitute*, then for each failing layer we fix all blocking builds at once and have 1 partial rebuild. With opt-in, we will have 1 complete rebuilds at the end, before which 1 partial rebuild for each passing layer. This assume someone analyzes the package graph to do this in the most efficient way (bottom-up and balanced layers).
That sounds like it would be disruptive to other folks depending on QA. Is there actual precedent for breaking the build deliberately during large-scale refactoring work?
Jason
