Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > OperationStatus

OperationStatus enum

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Enumeration defining potential states of an operation

Signature:

export declare enum OperationStatus 

Enumeration Members

Member

Value

Description

Aborted

"ABORTED"

(BETA) The Operation was aborted before it could execute.

Blocked

"BLOCKED"

(BETA) The Operation could not be executed because one or more of its dependencies failed

Executing

"EXECUTING"

(BETA) The Operation is currently executing

Failure

"FAILURE"

(BETA) The Operation failed

FromCache

"FROM CACHE"

(BETA) The Operation had its outputs restored from the build cache

NoOp

"NO OP"

(BETA) The Operation was a no-op (for example, it had an empty script)

Queued

"QUEUED"

(BETA) The Operation is Queued

Ready

"READY"

(BETA) The Operation is ready to execute. All its dependencies have succeeded.

Skipped

"SKIPPED"

(BETA) The Operation was skipped via the legacy incremental build logic

Success

"SUCCESS"

(BETA) The Operation completed successfully and did not write to standard output

SuccessWithWarning

"SUCCESS WITH WARNINGS"

(BETA) The Operation completed successfully, but wrote to standard output

Waiting

"WAITING"

(BETA) The Operation is waiting for one or more dependencies to complete.