Remove Epiphany job backend kind

This commit is contained in:
Meta Vens 2026-05-12 05:30:18 +01:00
commit b9ad3cdac7
24 changed files with 13 additions and 447 deletions

View file

@ -1307,12 +1307,6 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
@ -1327,16 +1321,6 @@
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",

View file

@ -1567,12 +1567,6 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
@ -1587,16 +1581,6 @@
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -4559,16 +4543,6 @@
"null"
]
},
"backendKind": {
"anyOf": [
{
"$ref": "#/definitions/ThreadEpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blockingReason": {
"type": [
"string",
@ -4647,12 +4621,6 @@
],
"type": "object"
},
"ThreadEpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"ThreadEpiphanyJobKind": {
"enum": [
"indexing",

View file

@ -8436,12 +8436,6 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
@ -8456,16 +8450,6 @@
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/v2/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -16160,16 +16144,6 @@
"null"
]
},
"backendKind": {
"anyOf": [
{
"$ref": "#/definitions/v2/ThreadEpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blockingReason": {
"type": [
"string",
@ -16248,12 +16222,6 @@
],
"type": "object"
},
"ThreadEpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"ThreadEpiphanyJobKind": {
"enum": [
"indexing",

View file

@ -4976,12 +4976,6 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
@ -4996,16 +4990,6 @@
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -14047,16 +14031,6 @@
"null"
]
},
"backendKind": {
"anyOf": [
{
"$ref": "#/definitions/ThreadEpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blockingReason": {
"type": [
"string",
@ -14135,12 +14109,6 @@
],
"type": "object"
},
"ThreadEpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"ThreadEpiphanyJobKind": {
"enum": [
"indexing",

View file

@ -21,16 +21,6 @@
"null"
]
},
"backendKind": {
"anyOf": [
{
"$ref": "#/definitions/ThreadEpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blockingReason": {
"type": [
"string",
@ -109,12 +99,6 @@
],
"type": "object"
},
"ThreadEpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"ThreadEpiphanyJobKind": {
"enum": [
"indexing",

View file

@ -566,12 +566,6 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
@ -586,16 +580,6 @@
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",

View file

@ -1014,12 +1014,6 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
@ -1034,16 +1028,6 @@
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",

View file

@ -955,12 +955,6 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
@ -975,16 +969,6 @@
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",

View file

@ -955,12 +955,6 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
@ -975,16 +969,6 @@
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",

View file

@ -955,12 +955,6 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
@ -975,16 +969,6 @@
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",

View file

@ -1014,12 +1014,6 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
@ -1034,16 +1028,6 @@
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",

View file

@ -955,12 +955,6 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
@ -975,16 +969,6 @@
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",

View file

@ -1014,12 +1014,6 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
@ -1034,16 +1028,6 @@
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",

View file

@ -955,12 +955,6 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
@ -975,16 +969,6 @@
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",

View file

@ -955,12 +955,6 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"heartbeat"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
@ -975,16 +969,6 @@
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",

View file

@ -3,4 +3,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { EpiphanyJobKind } from "./EpiphanyJobKind";
export type EpiphanyJobBinding = { id: string, kind: EpiphanyJobKind, scope: string, owner_role: string, launcher_job_id?: string | null, authority_scope?: string | null, backend_kind?: EpiphanyJobBackendKind | null, backend_job_id?: string | null, linked_subgoal_ids?: Array<string>, linked_graph_node_ids?: Array<string>, progress_note?: string | null, blocking_reason?: string | null, };
export type EpiphanyJobBinding = { id: string, kind: EpiphanyJobKind, scope: string, owner_role: string, launcher_job_id?: string | null, authority_scope?: string | null, backend_job_id?: string | null, linked_subgoal_ids?: Array<string>, linked_graph_node_ids?: Array<string>, progress_note?: string | null, blocking_reason?: string | null, };

View file

@ -1,8 +1,7 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ThreadEpiphanyJobBackendKind } from "./ThreadEpiphanyJobBackendKind";
import type { ThreadEpiphanyJobKind } from "./ThreadEpiphanyJobKind";
import type { ThreadEpiphanyJobStatus } from "./ThreadEpiphanyJobStatus";
export type ThreadEpiphanyJob = { id: string, kind: ThreadEpiphanyJobKind, scope: string, ownerRole: string, launcherJobId?: string | null, authorityScope?: string | null, backendKind?: ThreadEpiphanyJobBackendKind | null, backendJobId?: string | null, status: ThreadEpiphanyJobStatus, itemsProcessed?: number | null, itemsTotal?: number | null, progressNote?: string | null, lastCheckpointAtUnixSeconds?: bigint | null, blockingReason?: string | null, activeThreadIds?: Array<string>, linkedSubgoalIds?: Array<string>, linkedGraphNodeIds?: Array<string>, };
export type ThreadEpiphanyJob = { id: string, kind: ThreadEpiphanyJobKind, scope: string, ownerRole: string, launcherJobId?: string | null, authorityScope?: string | null, backendJobId?: string | null, status: ThreadEpiphanyJobStatus, itemsProcessed?: number | null, itemsTotal?: number | null, progressNote?: string | null, lastCheckpointAtUnixSeconds?: bigint | null, blockingReason?: string | null, activeThreadIds?: Array<string>, linkedSubgoalIds?: Array<string>, linkedGraphNodeIds?: Array<string>, };

View file

@ -1,5 +0,0 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type ThreadEpiphanyJobBackendKind = "heartbeat";

View file

@ -337,7 +337,6 @@ export type { ThreadEpiphanyGraphQueryMissing } from "./ThreadEpiphanyGraphQuery
export type { ThreadEpiphanyInvalidationInput } from "./ThreadEpiphanyInvalidationInput";
export type { ThreadEpiphanyInvalidationStatus } from "./ThreadEpiphanyInvalidationStatus";
export type { ThreadEpiphanyJob } from "./ThreadEpiphanyJob";
export type { ThreadEpiphanyJobBackendKind } from "./ThreadEpiphanyJobBackendKind";
export type { ThreadEpiphanyJobKind } from "./ThreadEpiphanyJobKind";
export type { ThreadEpiphanyJobStatus } from "./ThreadEpiphanyJobStatus";
export type { ThreadEpiphanyJobsSource } from "./ThreadEpiphanyJobsSource";