Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change TaskStatus to UserDefinedValue #2250

Merged
merged 1 commit into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
242 changes: 4 additions & 238 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 2 additions & 22 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions specification/tasks/_types/TaskInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
* under the License.
*/

import { TaskStatus } from '@tasks/_types/TaskStatus'
import { NodeId, TaskId } from '@_types/common'
import { long } from '@_types/Numeric'
import { Dictionary } from '@spec_utils/Dictionary'
Expand All @@ -28,6 +27,7 @@ import {
UnitMillis,
UnitNanos
} from '@_types/Time'
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'

export class TaskInfo {
action: string
Expand All @@ -40,7 +40,8 @@ export class TaskInfo {
running_time?: Duration
running_time_in_nanos: DurationValue<UnitNanos>
start_time_in_millis: EpochTime<UnitMillis>
status?: TaskStatus
/** Task status information can vary wildly from task to task. */
status?: UserDefinedValue
type: string
parent_task_id?: TaskId
}
42 changes: 0 additions & 42 deletions specification/tasks/_types/TaskStatus.ts

This file was deleted.

Loading
Loading