forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ArtifactNestedSetKeys dependencies to rewind graph for propagatin…
…g actions. If a propagating action ("mayInsensitivelyPropagateInputs" returns true) has input artifacts in a nested set, those nested sets are not invalidated as part of the rewinding if the action needs to be rewound. This is not currently an issue because the only such action is SkyframeFilesetManifestAction, which has its own special rewinding logic with FilesetEntryFunction. However we plan to remove this, so we require that this case is correctly handled. Care needs to be taken that we don't break existing code to add ArtifactNestedSetKeys to the rewind graph, which assumes there are no such keys in the graph already. The new code to add keys is called near this process so this interaction is more obvious. PiperOrigin-RevId: 725983745 Change-Id: I08db9d85f8190a863c21cad17fc2d342c766ef52
- Loading branch information
1 parent
90fc642
commit f35080a
Showing
2 changed files
with
64 additions
and
4 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