-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reclassify RemoteActionFileSystem as an in-memory filesystem, and ren…
…ame the ActionFileSystemType enum values to better match reality. RemoteActionFileSystem, the action filesystem implementation used by Bazel, became an in-memory filesystem in revision 2876569. Its ActionFileSystemType must be recognized as such so that Skyframe creates output directories prior to local action execution. The correspondence between old -> new enum values is as follows: DISABLED -> DISABLED STAGE_REMOTE_FILES -> REMOTE_FILE_SYSTEM IN_MEMORY_FILE_SYSTEM -> IN_MEMORY_ONLY_FILE_SYSTEM IN_MEMORY_FILE_SYSTEM_AND_STAGE_REMOTE_FILES -> STAGE_REMOTE_FILES_FILE_SYSTEM Also fix a call site where a capability check was made by comparing with the enum value instead of calling the accessor. PiperOrigin-RevId: 482270459 Change-Id: I8ba6a0f32d8570e81281e1e1a29b232df2ac6c85
- Loading branch information
1 parent
f8d516e
commit dfccbf9
Showing
6 changed files
with
32 additions
and
28 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
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