mirrored from https://chromium.googlesource.com/infra/luci/luci-go
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds the following: * A new 'distributor' subpackage which defines the internal interface between DM and all distributor implementations (swarming, jobsim, etc.) * Scheduling logic in mutate; executions now get scheduled with distributors, distributors can ping back about the status of executions. * DM supports quest-controllable DM-side timeouts for interactions with the distributor. * The pRPC interface has been reduced to 4 rpcs for full functionality. Of those, ActivateExecution and FinishAttempt are very simple, and EnsureGraphData and WalkGraph have standardized on GraphData as their output format. * The persistent-state API has been implemented as part of the distributor interface. * The state machine flow has been simplified (elimination of 'adding deps' state, attempts now are in the executing state for the full duration of an outstanding execution, all failure states between attempts and executions are unified and separate from a successful finished state). Other misc changes: * "as_account" is part of the quest description * quests can be generated from templates as part of EnsureQuestData * a fake distributor implementation for testing * tests have been refactored to take advantage of fake distributor; the deps tests were getting really annoying to update and keep correct. BUG=550684 Review-Url: https://codereview.chromium.org/1537883002
- Loading branch information
Showing
97 changed files
with
6,099 additions
and
3,313 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
Oops, something went wrong.