-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a new data field meta_internal_extra_params to CommandExecutorConfig
Summary: To better support meta internal infra in buck without extending CommandExecutorConfig every time when a new data needs to add, add a generic data field meta_internal_extra_params to hold any future meta internal parameters. Meta: For RL physical devices (remote execution platform=riot), we need to pass in setup_preference_key to specify the device state, otherwise, the leased devices will be with random OS build/APK versions and random device state (wifi, nux, etc). This will leads to test flakiness. The setup_preference_key is in [the thrift struct TExecutionPolicy](https://www.internalfb.com/code/fbsource/[da3da7c7fda1]/fbcode/remote_execution/lib/if/common.thrift?lines=528). Add the support for the remote execution policy in buck. This data is similar to the remote_execution_properties and remote_execution_use_case, which will be passed down from bzl for RL on device tests. Reviewed By: JakobDegen Differential Revision: D68185161 fbshipit-source-id: f5ce79b044c98383797b1fafa572856215ea645e
- Loading branch information
1 parent
becb5be
commit 51314c5
Showing
11 changed files
with
149 additions
and
2 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
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
Oops, something went wrong.