diff --git a/common/changes/@rushstack/operation-graph/bmiddha-ws0-t5-operation-status.json b/common/changes/@rushstack/operation-graph/bmiddha-ws0-t5-operation-status.json new file mode 100644 index 0000000000..0fad320648 --- /dev/null +++ b/common/changes/@rushstack/operation-graph/bmiddha-ws0-t5-operation-status.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "packageName": "@rushstack/operation-graph", + "comment": "Add Rush-compatible operation statuses in preparation for graph convergence.", + "type": "minor" + } + ], + "packageName": "@rushstack/operation-graph", + "email": "5100938+bmiddha@users.noreply.github.com" +} diff --git a/common/reviews/api/operation-graph.api.md b/common/reviews/api/operation-graph.api.md index 261057fb62..9f42710c67 100644 --- a/common/reviews/api/operation-graph.api.md +++ b/common/reviews/api/operation-graph.api.md @@ -222,9 +222,13 @@ export enum OperationStatus { Blocked = "BLOCKED", Executing = "EXECUTING", Failure = "FAILURE", + FromCache = "FROM CACHE", NoOp = "NO OP", + Queued = "QUEUED", Ready = "READY", + Skipped = "SKIPPED", Success = "SUCCESS", + SuccessWithWarning = "SUCCESS WITH WARNINGS", Waiting = "WAITING" } diff --git a/libraries/operation-graph/src/Operation.ts b/libraries/operation-graph/src/Operation.ts index 2094be60e7..23fb674970 100644 --- a/libraries/operation-graph/src/Operation.ts +++ b/libraries/operation-graph/src/Operation.ts @@ -290,6 +290,7 @@ export class Operation