-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat buckconfig change as universal change
Summary: (reported from [a few posts](https://fb.workplace.com/groups/td.users/permalink/3347502112212451/)) Let BTD return everything if certain "universal" file is touched. This list of file matcher is more strict than the condition to "rerun" everything, as we will skip checking hash etc. Usually this condition is met when diff touches buck configs which implicitly used by certain mode, and it not directly reflected in targets themselves (only take effect when we try to execute some target with these configs). Around 15 such changes every day: https://fburl.com/daiquery/9yzyej76 , hopefully we have enough filtering in later stages (Verse) to avoid flooding sandcastle fleet. An alternative is to let diff author have more control (eg. through an explicit directive) to tell BTD to treat everything as affected. With a very restricted list, this "pessimistic" approach will not require diff author add additional directives, while may cause unnecessary cost. (diff author may still use other directives to focusing on a subset of targets) Reviewed By: ndmitchell, aniketmathur, 8Keep Differential Revision: D58345671 fbshipit-source-id: ee44a2bc15f8ad6e6cf38d872d5011eed56b4895
- Loading branch information
1 parent
6ad1655
commit acb88d1
Showing
4 changed files
with
111 additions
and
34 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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