Add Epiphany thin job launcher seam

This commit is contained in:
Meta Vens 2026-04-26 15:58:18 +01:00
commit c66695eefc
34 changed files with 1029 additions and 93 deletions

View file

@ -1159,8 +1159,36 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"agent_jobs"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
"type": [
"string",
"null"
]
},
"backend_job_id": {
"type": [
"string",
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -1173,6 +1201,12 @@
"kind": {
"$ref": "#/definitions/EpiphanyJobKind"
},
"launcher_job_id": {
"type": [
"string",
"null"
]
},
"linked_graph_node_ids": {
"items": {
"type": "string"

View file

@ -1419,8 +1419,36 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"agent_jobs"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
"type": [
"string",
"null"
]
},
"backend_job_id": {
"type": [
"string",
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -1433,6 +1461,12 @@
"kind": {
"$ref": "#/definitions/EpiphanyJobKind"
},
"launcher_job_id": {
"type": [
"string",
"null"
]
},
"linked_graph_node_ids": {
"items": {
"type": "string"
@ -3864,6 +3898,28 @@
},
"type": "array"
},
"authorityScope": {
"type": [
"string",
"null"
]
},
"backendJobId": {
"type": [
"string",
"null"
]
},
"backendKind": {
"anyOf": [
{
"$ref": "#/definitions/ThreadEpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blockingReason": {
"type": [
"string",
@ -3899,6 +3955,12 @@
"null"
]
},
"launcherJobId": {
"type": [
"string",
"null"
]
},
"linkedGraphNodeIds": {
"items": {
"type": "string"
@ -3942,6 +4004,12 @@
],
"type": "object"
},
"ThreadEpiphanyJobBackendKind": {
"enum": [
"agentJobs"
],
"type": "string"
},
"ThreadEpiphanyJobKind": {
"enum": [
"indexing",

View file

@ -8288,8 +8288,36 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"agent_jobs"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
"type": [
"string",
"null"
]
},
"backend_job_id": {
"type": [
"string",
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/v2/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -8302,6 +8330,12 @@
"kind": {
"$ref": "#/definitions/v2/EpiphanyJobKind"
},
"launcher_job_id": {
"type": [
"string",
"null"
]
},
"linked_graph_node_ids": {
"items": {
"type": "string"
@ -15240,6 +15274,28 @@
},
"type": "array"
},
"authorityScope": {
"type": [
"string",
"null"
]
},
"backendJobId": {
"type": [
"string",
"null"
]
},
"backendKind": {
"anyOf": [
{
"$ref": "#/definitions/v2/ThreadEpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blockingReason": {
"type": [
"string",
@ -15275,6 +15331,12 @@
"null"
]
},
"launcherJobId": {
"type": [
"string",
"null"
]
},
"linkedGraphNodeIds": {
"items": {
"type": "string"
@ -15318,6 +15380,12 @@
],
"type": "object"
},
"ThreadEpiphanyJobBackendKind": {
"enum": [
"agentJobs"
],
"type": "string"
},
"ThreadEpiphanyJobKind": {
"enum": [
"indexing",

View file

@ -4828,8 +4828,36 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"agent_jobs"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
"type": [
"string",
"null"
]
},
"backend_job_id": {
"type": [
"string",
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -4842,6 +4870,12 @@
"kind": {
"$ref": "#/definitions/EpiphanyJobKind"
},
"launcher_job_id": {
"type": [
"string",
"null"
]
},
"linked_graph_node_ids": {
"items": {
"type": "string"
@ -13127,6 +13161,28 @@
},
"type": "array"
},
"authorityScope": {
"type": [
"string",
"null"
]
},
"backendJobId": {
"type": [
"string",
"null"
]
},
"backendKind": {
"anyOf": [
{
"$ref": "#/definitions/ThreadEpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blockingReason": {
"type": [
"string",
@ -13162,6 +13218,12 @@
"null"
]
},
"launcherJobId": {
"type": [
"string",
"null"
]
},
"linkedGraphNodeIds": {
"items": {
"type": "string"
@ -13205,6 +13267,12 @@
],
"type": "object"
},
"ThreadEpiphanyJobBackendKind": {
"enum": [
"agentJobs"
],
"type": "string"
},
"ThreadEpiphanyJobKind": {
"enum": [
"indexing",

View file

@ -9,6 +9,28 @@
},
"type": "array"
},
"authorityScope": {
"type": [
"string",
"null"
]
},
"backendJobId": {
"type": [
"string",
"null"
]
},
"backendKind": {
"anyOf": [
{
"$ref": "#/definitions/ThreadEpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blockingReason": {
"type": [
"string",
@ -44,6 +66,12 @@
"null"
]
},
"launcherJobId": {
"type": [
"string",
"null"
]
},
"linkedGraphNodeIds": {
"items": {
"type": "string"
@ -87,6 +115,12 @@
],
"type": "object"
},
"ThreadEpiphanyJobBackendKind": {
"enum": [
"agentJobs"
],
"type": "string"
},
"ThreadEpiphanyJobKind": {
"enum": [
"indexing",

View file

@ -418,8 +418,36 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"agent_jobs"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
"type": [
"string",
"null"
]
},
"backend_job_id": {
"type": [
"string",
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -432,6 +460,12 @@
"kind": {
"$ref": "#/definitions/EpiphanyJobKind"
},
"launcher_job_id": {
"type": [
"string",
"null"
]
},
"linked_graph_node_ids": {
"items": {
"type": "string"

View file

@ -866,8 +866,36 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"agent_jobs"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
"type": [
"string",
"null"
]
},
"backend_job_id": {
"type": [
"string",
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -880,6 +908,12 @@
"kind": {
"$ref": "#/definitions/EpiphanyJobKind"
},
"launcher_job_id": {
"type": [
"string",
"null"
]
},
"linked_graph_node_ids": {
"items": {
"type": "string"

View file

@ -807,8 +807,36 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"agent_jobs"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
"type": [
"string",
"null"
]
},
"backend_job_id": {
"type": [
"string",
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -821,6 +849,12 @@
"kind": {
"$ref": "#/definitions/EpiphanyJobKind"
},
"launcher_job_id": {
"type": [
"string",
"null"
]
},
"linked_graph_node_ids": {
"items": {
"type": "string"

View file

@ -807,8 +807,36 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"agent_jobs"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
"type": [
"string",
"null"
]
},
"backend_job_id": {
"type": [
"string",
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -821,6 +849,12 @@
"kind": {
"$ref": "#/definitions/EpiphanyJobKind"
},
"launcher_job_id": {
"type": [
"string",
"null"
]
},
"linked_graph_node_ids": {
"items": {
"type": "string"

View file

@ -807,8 +807,36 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"agent_jobs"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
"type": [
"string",
"null"
]
},
"backend_job_id": {
"type": [
"string",
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -821,6 +849,12 @@
"kind": {
"$ref": "#/definitions/EpiphanyJobKind"
},
"launcher_job_id": {
"type": [
"string",
"null"
]
},
"linked_graph_node_ids": {
"items": {
"type": "string"

View file

@ -866,8 +866,36 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"agent_jobs"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
"type": [
"string",
"null"
]
},
"backend_job_id": {
"type": [
"string",
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -880,6 +908,12 @@
"kind": {
"$ref": "#/definitions/EpiphanyJobKind"
},
"launcher_job_id": {
"type": [
"string",
"null"
]
},
"linked_graph_node_ids": {
"items": {
"type": "string"

View file

@ -807,8 +807,36 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"agent_jobs"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
"type": [
"string",
"null"
]
},
"backend_job_id": {
"type": [
"string",
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -821,6 +849,12 @@
"kind": {
"$ref": "#/definitions/EpiphanyJobKind"
},
"launcher_job_id": {
"type": [
"string",
"null"
]
},
"linked_graph_node_ids": {
"items": {
"type": "string"

View file

@ -866,8 +866,36 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"agent_jobs"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
"type": [
"string",
"null"
]
},
"backend_job_id": {
"type": [
"string",
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -880,6 +908,12 @@
"kind": {
"$ref": "#/definitions/EpiphanyJobKind"
},
"launcher_job_id": {
"type": [
"string",
"null"
]
},
"linked_graph_node_ids": {
"items": {
"type": "string"

View file

@ -807,8 +807,36 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"agent_jobs"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
"type": [
"string",
"null"
]
},
"backend_job_id": {
"type": [
"string",
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -821,6 +849,12 @@
"kind": {
"$ref": "#/definitions/EpiphanyJobKind"
},
"launcher_job_id": {
"type": [
"string",
"null"
]
},
"linked_graph_node_ids": {
"items": {
"type": "string"

View file

@ -807,8 +807,36 @@
],
"type": "string"
},
"EpiphanyJobBackendKind": {
"enum": [
"agent_jobs"
],
"type": "string"
},
"EpiphanyJobBinding": {
"properties": {
"authority_scope": {
"type": [
"string",
"null"
]
},
"backend_job_id": {
"type": [
"string",
"null"
]
},
"backend_kind": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyJobBackendKind"
},
{
"type": "null"
}
]
},
"blocking_reason": {
"type": [
"string",
@ -821,6 +849,12 @@
"kind": {
"$ref": "#/definitions/EpiphanyJobKind"
},
"launcher_job_id": {
"type": [
"string",
"null"
]
},
"linked_graph_node_ids": {
"items": {
"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, runtime_agent_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_kind?: EpiphanyJobBackendKind | null, backend_job_id?: string | null, runtime_agent_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,7 +1,8 @@
// 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, status: ThreadEpiphanyJobStatus, runtimeAgentJobId?: string | null, 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, backendKind?: ThreadEpiphanyJobBackendKind | null, backendJobId?: string | null, status: ThreadEpiphanyJobStatus, runtimeAgentJobId?: string | null, 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

@ -0,0 +1,5 @@
// 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 = "agentJobs";

View file

@ -328,6 +328,7 @@ export type { ThreadEpiphanyGraphFreshnessStatus } from "./ThreadEpiphanyGraphFr
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";