mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add queue_position and queue_size to provisioner jobs (#8074)
This commit is contained in:
@@ -641,6 +641,8 @@ export interface ProvisionerJob {
|
||||
readonly worker_id?: string
|
||||
readonly file_id: string
|
||||
readonly tags: Record<string, string>
|
||||
readonly queue_position: number
|
||||
readonly queue_size: number
|
||||
}
|
||||
|
||||
// From codersdk/provisionerdaemons.go
|
||||
|
||||
@@ -286,6 +286,8 @@ export const MockProvisionerJob: TypesGen.ProvisionerJob = {
|
||||
file_id: MockOrganization.id,
|
||||
completed_at: "2022-05-17T17:39:01.382927298Z",
|
||||
tags: {},
|
||||
queue_position: 0,
|
||||
queue_size: 0,
|
||||
}
|
||||
|
||||
export const MockFailedProvisionerJob: TypesGen.ProvisionerJob = {
|
||||
|
||||
Reference in New Issue
Block a user