-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api/GetAction: add handling for failed build action
When an invocation failed because of a non-test(aka build) action, the TargetCompleted event will not contains the relevant output files. Relevant stderr/stdout of the failed action can be found in the ActionCompleted event instead. Enhance the GetAction rpc logic by only handling successful TargetCompleted events. For the failed cases, add additional logic to create Action entries from ActionCompleted events. Refactor FillActionFromBuildEvent to switch on event id instead of event payload.
- Loading branch information
Showing
3 changed files
with
89 additions
and
31 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