@shipfox/api-workflows-dto 12.3.0 → 12.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +6 -0
- package/dist/events.d.ts +6 -0
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +2 -1
- package/dist/events.js.map +1 -1
- package/dist/schemas/job.d.ts +4 -0
- package/dist/schemas/job.d.ts.map +1 -1
- package/dist/schemas/job.js +3 -1
- package/dist/schemas/job.js.map +1 -1
- package/dist/schemas/workflow-run-detail.d.ts +8 -0
- package/dist/schemas/workflow-run-detail.d.ts.map +1 -1
- package/dist/schemas/workflow-run-detail.js +1 -0
- package/dist/schemas/workflow-run-detail.js.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/events.test.ts +39 -0
- package/src/events.ts +1 -0
- package/src/schemas/job.test.ts +13 -0
- package/src/schemas/job.ts +2 -0
- package/src/schemas/workflow-run-detail.ts +1 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$ shipfox-swc
|
|
2
|
-
Successfully compiled: 16 files with swc (
|
|
2
|
+
Successfully compiled: 16 files with swc (548.29ms)
|
package/CHANGELOG.md
CHANGED
package/dist/events.d.ts
CHANGED
|
@@ -139,6 +139,8 @@ export declare const workflowsJobTerminatedSchema: z.ZodObject<{
|
|
|
139
139
|
condition_rejected: "condition_rejected";
|
|
140
140
|
default_gate_rejected: "default_gate_rejected";
|
|
141
141
|
dependency_not_completed: "dependency_not_completed";
|
|
142
|
+
output_invalid: "output_invalid";
|
|
143
|
+
output_too_large: "output_too_large";
|
|
142
144
|
run_cancelled: "run_cancelled";
|
|
143
145
|
runner_lost: "runner_lost";
|
|
144
146
|
step_failed: "step_failed";
|
|
@@ -146,6 +148,7 @@ export declare const workflowsJobTerminatedSchema: z.ZodObject<{
|
|
|
146
148
|
unknown: "unknown";
|
|
147
149
|
user_cancelled: "user_cancelled";
|
|
148
150
|
}>>;
|
|
151
|
+
statusReasonMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
149
152
|
}, z.core.$strip>;
|
|
150
153
|
export type WorkflowsJobTerminatedEventDto = z.infer<typeof workflowsJobTerminatedSchema>;
|
|
151
154
|
export declare const workflowsJobStepsSettledSchema: z.ZodObject<{
|
|
@@ -298,6 +301,8 @@ export declare const workflowsEventSchemas: {
|
|
|
298
301
|
condition_rejected: "condition_rejected";
|
|
299
302
|
default_gate_rejected: "default_gate_rejected";
|
|
300
303
|
dependency_not_completed: "dependency_not_completed";
|
|
304
|
+
output_invalid: "output_invalid";
|
|
305
|
+
output_too_large: "output_too_large";
|
|
301
306
|
run_cancelled: "run_cancelled";
|
|
302
307
|
runner_lost: "runner_lost";
|
|
303
308
|
step_failed: "step_failed";
|
|
@@ -305,6 +310,7 @@ export declare const workflowsEventSchemas: {
|
|
|
305
310
|
unknown: "unknown";
|
|
306
311
|
user_cancelled: "user_cancelled";
|
|
307
312
|
}>>;
|
|
313
|
+
statusReasonMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
308
314
|
}, z.core.$strip>;
|
|
309
315
|
"workflows.job.steps_settled": z.ZodObject<{
|
|
310
316
|
jobId: z.ZodString;
|
package/dist/events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAOtB,eAAO,MAAM,sCAAsC,EACjD,wCAAiD,CAAC;AAEpD,eAAO,MAAM,iCAAiC,EAAG,mCAA4C,CAAC;AAE9F,eAAO,MAAM,gCAAgC,EAAG,kCAA2C,CAAC;AAC5F,eAAO,MAAM,iCAAiC,EAAG,mCAA4C,CAAC;AAC9F,eAAO,MAAM,uBAAu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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWuB,CAAC"}
|
package/dist/events.js
CHANGED
|
@@ -123,7 +123,8 @@ export const workflowsJobTerminatedSchema = z.object({
|
|
|
123
123
|
workflowRunId: nonEmptyStringSchema,
|
|
124
124
|
workflowRunAttemptId: nonEmptyStringSchema,
|
|
125
125
|
status: jobTerminalStatusSchema,
|
|
126
|
-
statusReason: jobStatusReasonSchema.nullable()
|
|
126
|
+
statusReason: jobStatusReasonSchema.nullable(),
|
|
127
|
+
statusReasonMessage: z.string().nullable().optional()
|
|
127
128
|
});
|
|
128
129
|
const settledStatusSchema = z.enum([
|
|
129
130
|
'succeeded',
|
package/dist/events.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/events.ts"],"sourcesContent":["import {z} from 'zod';\nimport {jobStatusReasonSchema} from './schemas/job.js';\nimport {listeningTriggerSchema} from './schemas/job-listening.js';\nimport {logOutcomeSchema} from './schemas/log-outcome.js';\n\nconst nonEmptyStringSchema = z.string().nonempty();\n\nexport const WORKFLOWS_WORKFLOW_RUN_ATTEMPT_CREATED =\n 'workflows.workflow_run_attempt.created' as const;\n// Terminal fact for a workflow run, written in the same transaction as the status flip.\nexport const WORKFLOWS_WORKFLOW_RUN_TERMINATED = 'workflows.workflow_run.terminated' as const;\n// Intent fact for cooperative run cancellation. Consumers use this to stop orchestration.\nexport const WORKFLOWS_WORKFLOW_RUN_CANCELLED = 'workflows.workflow_run.cancelled' as const;\nexport const WORKFLOWS_JOB_EXECUTION_TIMED_OUT = 'workflows.job_execution.timed_out' as const;\nexport const WORKFLOWS_JOB_ACTIVATED = 'workflows.job.activated' as const;\nexport const WORKFLOWS_JOB_EVENT_DELIVERED = 'workflows.job_event.delivered' as const;\n// Terminal fact for a job: the single reliable \"this job is over\" signal, written in\n// the same transaction as the status flip, on every terminal path.\nexport const WORKFLOWS_JOB_TERMINATED = 'workflows.job.terminated' as const;\n// Internal signal, not a terminal fact: a job's steps have all settled, so the\n// on-job-steps-settled subscriber can raise the Temporal JOB_FINISHED_SIGNAL. Fires\n// before the job row is terminal; observe WORKFLOWS_JOB_TERMINATED for the outcome.\nexport const WORKFLOWS_JOB_STEPS_SETTLED = 'workflows.job.steps_settled' as const;\n// Written in the same transaction as a durable gate restart: the failed attempt\n// plus the rewind of the projection from `restart_from`. The pull-based runner\n// re-dispatches the rewound step on its next pull, so consumers must treat this\n// at-least-once outbox event as idempotent audit data.\nexport const WORKFLOWS_STEP_RESTART_ENQUEUED = 'workflows.step.restart_enqueued' as const;\nexport const WORKFLOWS_STEP_ATTEMPT_TERMINATED = 'workflows.step_attempt.terminated' as const;\n\nexport const workflowsWorkflowRunAttemptCreatedSchema = z.object({\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n attempt: z.number().int().positive(),\n workspaceId: nonEmptyStringSchema,\n projectId: nonEmptyStringSchema,\n definitionId: nonEmptyStringSchema,\n});\nexport type WorkflowsWorkflowRunAttemptCreatedEventDto = z.infer<\n typeof workflowsWorkflowRunAttemptCreatedSchema\n>;\n\n// Keep outbox terminal statuses narrower than the public status schemas, which\n// also carry pending/running and job-only skipped.\nexport const workflowRunTerminalStatusSchema = z.enum(['succeeded', 'failed', 'cancelled']);\nexport const jobTerminalStatusSchema = z.enum(['succeeded', 'failed', 'cancelled', 'skipped']);\nexport const terminalStatusSchema = workflowRunTerminalStatusSchema;\n\nexport const workflowsWorkflowRunTerminatedSchema = z.object({\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n projectId: nonEmptyStringSchema,\n status: workflowRunTerminalStatusSchema,\n});\nexport type WorkflowsWorkflowRunTerminatedEventDto = z.infer<\n typeof workflowsWorkflowRunTerminatedSchema\n>;\n\nexport const workflowsWorkflowRunCancelledSchema = z.object({\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n projectId: nonEmptyStringSchema,\n});\nexport type WorkflowsWorkflowRunCancelledEventDto = z.infer<\n typeof workflowsWorkflowRunCancelledSchema\n>;\n\nexport const workflowsJobExecutionTimedOutSchema = z.object({\n jobId: nonEmptyStringSchema,\n jobExecutionId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n});\nexport type WorkflowsJobExecutionTimedOutEventDto = z.infer<\n typeof workflowsJobExecutionTimedOutSchema\n>;\n\nconst workflowsJobActivatedBaseSchema = z.object({\n jobId: nonEmptyStringSchema,\n workflowRunId: nonEmptyStringSchema,\n workspaceId: nonEmptyStringSchema,\n});\n\n// Keep this passive DTO schema local so the transport package does not depend on expression runtime code.\nexport type ListenerFilterExpressionType =\n | 'string'\n | 'int'\n | 'double'\n | 'bool'\n | 'null'\n | 'timestamp'\n | {kind: 'object'; fields: Record<string, ListenerFilterExpressionType>}\n | {kind: 'map'}\n | {kind: 'list'; element: ListenerFilterExpressionType};\n\nconst listenerFilterExpressionTypeSchema: z.ZodType<ListenerFilterExpressionType> = z.lazy(() =>\n z.union([\n z.enum(['string', 'int', 'double', 'bool', 'null', 'timestamp']),\n z.object({\n kind: z.literal('object'),\n fields: z.record(z.string(), listenerFilterExpressionTypeSchema),\n }),\n z.object({kind: z.literal('map')}),\n z.object({kind: z.literal('list'), element: listenerFilterExpressionTypeSchema}),\n ]),\n);\n\nexport const listenerFilterOutputTypesSchema = z.record(\n z.string(),\n z.record(z.string(), listenerFilterExpressionTypeSchema),\n);\nexport type ListenerFilterOutputTypes = z.infer<typeof listenerFilterOutputTypesSchema>;\n\nconst resolvedListeningTriggerSchema = listeningTriggerSchema.extend({\n filter_snapshot: z.record(z.string(), z.unknown()).optional(),\n filter_output_types: listenerFilterOutputTypesSchema.optional(),\n});\n\nexport const workflowsJobActivatedSchema = z.discriminatedUnion('mode', [\n workflowsJobActivatedBaseSchema.extend({\n mode: z.literal('one_shot'),\n on: z.array(resolvedListeningTriggerSchema).nullable().optional(),\n until: z.array(resolvedListeningTriggerSchema).nullable().optional(),\n }),\n workflowsJobActivatedBaseSchema.extend({\n mode: z.literal('listening'),\n on: z.array(resolvedListeningTriggerSchema).nonempty(),\n until: z.array(resolvedListeningTriggerSchema).nullable(),\n }),\n]);\nexport type WorkflowsJobActivatedEventDto = z.infer<typeof workflowsJobActivatedSchema>;\n\nexport const workflowsJobEventDeliveredSchema = z.object({\n jobId: nonEmptyStringSchema,\n disposition: z.enum(['fire', 'resolve']),\n eventRef: nonEmptyStringSchema,\n eventName: nonEmptyStringSchema,\n});\nexport type WorkflowsJobEventDeliveredEventDto = z.infer<typeof workflowsJobEventDeliveredSchema>;\n\nexport const workflowsJobTerminatedSchema = z.object({\n jobId: nonEmptyStringSchema,\n // Optional for compatibility with terminal events written before the current execution\n // identity became part of the event contract. New events always include the value, or null\n // when the job was terminated before an execution was created.\n jobExecutionId: nonEmptyStringSchema.nullable().optional(),\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n status: jobTerminalStatusSchema,\n statusReason: jobStatusReasonSchema.nullable(),\n});\nexport type WorkflowsJobTerminatedEventDto = z.infer<typeof workflowsJobTerminatedSchema>;\n\nconst settledStatusSchema = z.enum(['succeeded', 'failed']);\n\nexport const workflowsJobStepsSettledSchema = z.object({\n jobId: nonEmptyStringSchema,\n jobExecutionId: nonEmptyStringSchema,\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n status: settledStatusSchema,\n});\nexport type WorkflowsJobStepsSettledEventDto = z.infer<typeof workflowsJobStepsSettledSchema>;\n\nexport const workflowsStepRestartEnqueuedSchema = z.object({\n jobId: nonEmptyStringSchema,\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n failedStepId: nonEmptyStringSchema,\n failedStepAttempt: z.number(),\n restartFromStepId: nonEmptyStringSchema,\n feedback: nonEmptyStringSchema,\n});\nexport type WorkflowsStepRestartEnqueuedEventDto = z.infer<\n typeof workflowsStepRestartEnqueuedSchema\n>;\n\nexport const workflowsStepAttemptTerminatedSchema = z.object({\n jobId: nonEmptyStringSchema,\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n workspaceId: nonEmptyStringSchema,\n projectId: nonEmptyStringSchema,\n stepId: nonEmptyStringSchema,\n attempt: z.number().int().positive(),\n // Optional so the subscriber can continue to consume terminal events written\n // before the status field was added. New outbox events always include it.\n status: terminalStatusSchema.optional(),\n logOutcome: logOutcomeSchema,\n});\nexport type WorkflowsStepAttemptTerminatedEventDto = z.infer<\n typeof workflowsStepAttemptTerminatedSchema\n>;\n\nexport interface WorkflowsEventMapDto {\n [WORKFLOWS_WORKFLOW_RUN_ATTEMPT_CREATED]: WorkflowsWorkflowRunAttemptCreatedEventDto;\n [WORKFLOWS_WORKFLOW_RUN_TERMINATED]: WorkflowsWorkflowRunTerminatedEventDto;\n [WORKFLOWS_WORKFLOW_RUN_CANCELLED]: WorkflowsWorkflowRunCancelledEventDto;\n [WORKFLOWS_JOB_EXECUTION_TIMED_OUT]: WorkflowsJobExecutionTimedOutEventDto;\n [WORKFLOWS_JOB_ACTIVATED]: WorkflowsJobActivatedEventDto;\n [WORKFLOWS_JOB_EVENT_DELIVERED]: WorkflowsJobEventDeliveredEventDto;\n [WORKFLOWS_JOB_TERMINATED]: WorkflowsJobTerminatedEventDto;\n [WORKFLOWS_JOB_STEPS_SETTLED]: WorkflowsJobStepsSettledEventDto;\n [WORKFLOWS_STEP_RESTART_ENQUEUED]: WorkflowsStepRestartEnqueuedEventDto;\n [WORKFLOWS_STEP_ATTEMPT_TERMINATED]: WorkflowsStepAttemptTerminatedEventDto;\n}\n\nexport const workflowsEventSchemas = {\n [WORKFLOWS_WORKFLOW_RUN_ATTEMPT_CREATED]: workflowsWorkflowRunAttemptCreatedSchema,\n [WORKFLOWS_WORKFLOW_RUN_TERMINATED]: workflowsWorkflowRunTerminatedSchema,\n [WORKFLOWS_WORKFLOW_RUN_CANCELLED]: workflowsWorkflowRunCancelledSchema,\n [WORKFLOWS_JOB_EXECUTION_TIMED_OUT]: workflowsJobExecutionTimedOutSchema,\n [WORKFLOWS_JOB_ACTIVATED]: workflowsJobActivatedSchema,\n [WORKFLOWS_JOB_EVENT_DELIVERED]: workflowsJobEventDeliveredSchema,\n [WORKFLOWS_JOB_TERMINATED]: workflowsJobTerminatedSchema,\n [WORKFLOWS_JOB_STEPS_SETTLED]: workflowsJobStepsSettledSchema,\n [WORKFLOWS_STEP_RESTART_ENQUEUED]: workflowsStepRestartEnqueuedSchema,\n [WORKFLOWS_STEP_ATTEMPT_TERMINATED]: workflowsStepAttemptTerminatedSchema,\n} satisfies Record<keyof WorkflowsEventMapDto, z.ZodType>;\n"],"names":["z","jobStatusReasonSchema","listeningTriggerSchema","logOutcomeSchema","nonEmptyStringSchema","string","nonempty","WORKFLOWS_WORKFLOW_RUN_ATTEMPT_CREATED","WORKFLOWS_WORKFLOW_RUN_TERMINATED","WORKFLOWS_WORKFLOW_RUN_CANCELLED","WORKFLOWS_JOB_EXECUTION_TIMED_OUT","WORKFLOWS_JOB_ACTIVATED","WORKFLOWS_JOB_EVENT_DELIVERED","WORKFLOWS_JOB_TERMINATED","WORKFLOWS_JOB_STEPS_SETTLED","WORKFLOWS_STEP_RESTART_ENQUEUED","WORKFLOWS_STEP_ATTEMPT_TERMINATED","workflowsWorkflowRunAttemptCreatedSchema","object","workflowRunId","workflowRunAttemptId","attempt","number","int","positive","workspaceId","projectId","definitionId","workflowRunTerminalStatusSchema","enum","jobTerminalStatusSchema","terminalStatusSchema","workflowsWorkflowRunTerminatedSchema","status","workflowsWorkflowRunCancelledSchema","workflowsJobExecutionTimedOutSchema","jobId","jobExecutionId","workflowsJobActivatedBaseSchema","listenerFilterExpressionTypeSchema","lazy","union","kind","literal","fields","record","element","listenerFilterOutputTypesSchema","resolvedListeningTriggerSchema","extend","filter_snapshot","unknown","optional","filter_output_types","workflowsJobActivatedSchema","discriminatedUnion","mode","on","array","nullable","until","workflowsJobEventDeliveredSchema","disposition","eventRef","eventName","workflowsJobTerminatedSchema","statusReason","settledStatusSchema","workflowsJobStepsSettledSchema","workflowsStepRestartEnqueuedSchema","failedStepId","failedStepAttempt","restartFromStepId","feedback","workflowsStepAttemptTerminatedSchema","stepId","logOutcome","workflowsEventSchemas"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AACtB,SAAQC,qBAAqB,QAAO,mBAAmB;AACvD,SAAQC,sBAAsB,QAAO,6BAA6B;AAClE,SAAQC,gBAAgB,QAAO,2BAA2B;AAE1D,MAAMC,uBAAuBJ,EAAEK,MAAM,GAAGC,QAAQ;AAEhD,OAAO,MAAMC,yCACX,yCAAkD;AACpD,wFAAwF;AACxF,OAAO,MAAMC,oCAAoC,oCAA6C;AAC9F,0FAA0F;AAC1F,OAAO,MAAMC,mCAAmC,mCAA4C;AAC5F,OAAO,MAAMC,oCAAoC,oCAA6C;AAC9F,OAAO,MAAMC,0BAA0B,0BAAmC;AAC1E,OAAO,MAAMC,gCAAgC,gCAAyC;AACtF,qFAAqF;AACrF,mEAAmE;AACnE,OAAO,MAAMC,2BAA2B,2BAAoC;AAC5E,+EAA+E;AAC/E,oFAAoF;AACpF,oFAAoF;AACpF,OAAO,MAAMC,8BAA8B,8BAAuC;AAClF,gFAAgF;AAChF,+EAA+E;AAC/E,gFAAgF;AAChF,uDAAuD;AACvD,OAAO,MAAMC,kCAAkC,kCAA2C;AAC1F,OAAO,MAAMC,oCAAoC,oCAA6C;AAE9F,OAAO,MAAMC,2CAA2CjB,EAAEkB,MAAM,CAAC;IAC/DC,eAAef;IACfgB,sBAAsBhB;IACtBiB,SAASrB,EAAEsB,MAAM,GAAGC,GAAG,GAAGC,QAAQ;IAClCC,aAAarB;IACbsB,WAAWtB;IACXuB,cAAcvB;AAChB,GAAG;AAKH,+EAA+E;AAC/E,mDAAmD;AACnD,OAAO,MAAMwB,kCAAkC5B,EAAE6B,IAAI,CAAC;IAAC;IAAa;IAAU;CAAY,EAAE;AAC5F,OAAO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hC;IACPe,eAAef;IACfgB,sBAAsBhB;IACtBkE,cAAclE;IACdmE,mBAAmBvE,EAAEsB,MAAM;IAC3BkD,mBAAmBpE;IACnBqE,UAAUrE;AACZ,GAAG;AAKH,OAAO,MAAMsE,uCAAuC1E,EAAEkB,MAAM,CAAC;IAC3DkB,OAAOhC;IACPe,eAAef;IACfgB,sBAAsBhB;IACtBqB,aAAarB;IACbsB,WAAWtB;IACXuE,QAAQvE;IACRiB,SAASrB,EAAEsB,MAAM,GAAGC,GAAG,GAAGC,QAAQ;IAClC,6EAA6E;IAC7E,0EAA0E;IAC1ES,QAAQF,qBAAqBqB,QAAQ;IACrCwB,YAAYzE;AACd,GAAG;AAkBH,OAAO,MAAM0E,wBAAwB;IACnC,CAACtE,uCAAuC,EAAEU;IAC1C,CAACT,kCAAkC,EAAEwB;IACrC,CAACvB,iCAAiC,EAAEyB;IACpC,CAACxB,kCAAkC,EAAEyB;IACrC,CAACxB,wBAAwB,EAAE2C;IAC3B,CAAC1C,8BAA8B,EAAEiD;IACjC,CAAChD,yBAAyB,EAAEoD;IAC5B,CAACnD,4BAA4B,EAAEsD;IAC/B,CAACrD,gCAAgC,EAAEsD;IACnC,CAACrD,kCAAkC,EAAE0D;AACvC,EAA0D"}
|
|
1
|
+
{"version":3,"sources":["../src/events.ts"],"sourcesContent":["import {z} from 'zod';\nimport {jobStatusReasonSchema} from './schemas/job.js';\nimport {listeningTriggerSchema} from './schemas/job-listening.js';\nimport {logOutcomeSchema} from './schemas/log-outcome.js';\n\nconst nonEmptyStringSchema = z.string().nonempty();\n\nexport const WORKFLOWS_WORKFLOW_RUN_ATTEMPT_CREATED =\n 'workflows.workflow_run_attempt.created' as const;\n// Terminal fact for a workflow run, written in the same transaction as the status flip.\nexport const WORKFLOWS_WORKFLOW_RUN_TERMINATED = 'workflows.workflow_run.terminated' as const;\n// Intent fact for cooperative run cancellation. Consumers use this to stop orchestration.\nexport const WORKFLOWS_WORKFLOW_RUN_CANCELLED = 'workflows.workflow_run.cancelled' as const;\nexport const WORKFLOWS_JOB_EXECUTION_TIMED_OUT = 'workflows.job_execution.timed_out' as const;\nexport const WORKFLOWS_JOB_ACTIVATED = 'workflows.job.activated' as const;\nexport const WORKFLOWS_JOB_EVENT_DELIVERED = 'workflows.job_event.delivered' as const;\n// Terminal fact for a job: the single reliable \"this job is over\" signal, written in\n// the same transaction as the status flip, on every terminal path.\nexport const WORKFLOWS_JOB_TERMINATED = 'workflows.job.terminated' as const;\n// Internal signal, not a terminal fact: a job's steps have all settled, so the\n// on-job-steps-settled subscriber can raise the Temporal JOB_FINISHED_SIGNAL. Fires\n// before the job row is terminal; observe WORKFLOWS_JOB_TERMINATED for the outcome.\nexport const WORKFLOWS_JOB_STEPS_SETTLED = 'workflows.job.steps_settled' as const;\n// Written in the same transaction as a durable gate restart: the failed attempt\n// plus the rewind of the projection from `restart_from`. The pull-based runner\n// re-dispatches the rewound step on its next pull, so consumers must treat this\n// at-least-once outbox event as idempotent audit data.\nexport const WORKFLOWS_STEP_RESTART_ENQUEUED = 'workflows.step.restart_enqueued' as const;\nexport const WORKFLOWS_STEP_ATTEMPT_TERMINATED = 'workflows.step_attempt.terminated' as const;\n\nexport const workflowsWorkflowRunAttemptCreatedSchema = z.object({\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n attempt: z.number().int().positive(),\n workspaceId: nonEmptyStringSchema,\n projectId: nonEmptyStringSchema,\n definitionId: nonEmptyStringSchema,\n});\nexport type WorkflowsWorkflowRunAttemptCreatedEventDto = z.infer<\n typeof workflowsWorkflowRunAttemptCreatedSchema\n>;\n\n// Keep outbox terminal statuses narrower than the public status schemas, which\n// also carry pending/running and job-only skipped.\nexport const workflowRunTerminalStatusSchema = z.enum(['succeeded', 'failed', 'cancelled']);\nexport const jobTerminalStatusSchema = z.enum(['succeeded', 'failed', 'cancelled', 'skipped']);\nexport const terminalStatusSchema = workflowRunTerminalStatusSchema;\n\nexport const workflowsWorkflowRunTerminatedSchema = z.object({\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n projectId: nonEmptyStringSchema,\n status: workflowRunTerminalStatusSchema,\n});\nexport type WorkflowsWorkflowRunTerminatedEventDto = z.infer<\n typeof workflowsWorkflowRunTerminatedSchema\n>;\n\nexport const workflowsWorkflowRunCancelledSchema = z.object({\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n projectId: nonEmptyStringSchema,\n});\nexport type WorkflowsWorkflowRunCancelledEventDto = z.infer<\n typeof workflowsWorkflowRunCancelledSchema\n>;\n\nexport const workflowsJobExecutionTimedOutSchema = z.object({\n jobId: nonEmptyStringSchema,\n jobExecutionId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n});\nexport type WorkflowsJobExecutionTimedOutEventDto = z.infer<\n typeof workflowsJobExecutionTimedOutSchema\n>;\n\nconst workflowsJobActivatedBaseSchema = z.object({\n jobId: nonEmptyStringSchema,\n workflowRunId: nonEmptyStringSchema,\n workspaceId: nonEmptyStringSchema,\n});\n\n// Keep this passive DTO schema local so the transport package does not depend on expression runtime code.\nexport type ListenerFilterExpressionType =\n | 'string'\n | 'int'\n | 'double'\n | 'bool'\n | 'null'\n | 'timestamp'\n | {kind: 'object'; fields: Record<string, ListenerFilterExpressionType>}\n | {kind: 'map'}\n | {kind: 'list'; element: ListenerFilterExpressionType};\n\nconst listenerFilterExpressionTypeSchema: z.ZodType<ListenerFilterExpressionType> = z.lazy(() =>\n z.union([\n z.enum(['string', 'int', 'double', 'bool', 'null', 'timestamp']),\n z.object({\n kind: z.literal('object'),\n fields: z.record(z.string(), listenerFilterExpressionTypeSchema),\n }),\n z.object({kind: z.literal('map')}),\n z.object({kind: z.literal('list'), element: listenerFilterExpressionTypeSchema}),\n ]),\n);\n\nexport const listenerFilterOutputTypesSchema = z.record(\n z.string(),\n z.record(z.string(), listenerFilterExpressionTypeSchema),\n);\nexport type ListenerFilterOutputTypes = z.infer<typeof listenerFilterOutputTypesSchema>;\n\nconst resolvedListeningTriggerSchema = listeningTriggerSchema.extend({\n filter_snapshot: z.record(z.string(), z.unknown()).optional(),\n filter_output_types: listenerFilterOutputTypesSchema.optional(),\n});\n\nexport const workflowsJobActivatedSchema = z.discriminatedUnion('mode', [\n workflowsJobActivatedBaseSchema.extend({\n mode: z.literal('one_shot'),\n on: z.array(resolvedListeningTriggerSchema).nullable().optional(),\n until: z.array(resolvedListeningTriggerSchema).nullable().optional(),\n }),\n workflowsJobActivatedBaseSchema.extend({\n mode: z.literal('listening'),\n on: z.array(resolvedListeningTriggerSchema).nonempty(),\n until: z.array(resolvedListeningTriggerSchema).nullable(),\n }),\n]);\nexport type WorkflowsJobActivatedEventDto = z.infer<typeof workflowsJobActivatedSchema>;\n\nexport const workflowsJobEventDeliveredSchema = z.object({\n jobId: nonEmptyStringSchema,\n disposition: z.enum(['fire', 'resolve']),\n eventRef: nonEmptyStringSchema,\n eventName: nonEmptyStringSchema,\n});\nexport type WorkflowsJobEventDeliveredEventDto = z.infer<typeof workflowsJobEventDeliveredSchema>;\n\nexport const workflowsJobTerminatedSchema = z.object({\n jobId: nonEmptyStringSchema,\n // Optional for compatibility with terminal events written before the current execution\n // identity became part of the event contract. New events always include the value, or null\n // when the job was terminated before an execution was created.\n jobExecutionId: nonEmptyStringSchema.nullable().optional(),\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n status: jobTerminalStatusSchema,\n statusReason: jobStatusReasonSchema.nullable(),\n statusReasonMessage: z.string().nullable().optional(),\n});\nexport type WorkflowsJobTerminatedEventDto = z.infer<typeof workflowsJobTerminatedSchema>;\n\nconst settledStatusSchema = z.enum(['succeeded', 'failed']);\n\nexport const workflowsJobStepsSettledSchema = z.object({\n jobId: nonEmptyStringSchema,\n jobExecutionId: nonEmptyStringSchema,\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n status: settledStatusSchema,\n});\nexport type WorkflowsJobStepsSettledEventDto = z.infer<typeof workflowsJobStepsSettledSchema>;\n\nexport const workflowsStepRestartEnqueuedSchema = z.object({\n jobId: nonEmptyStringSchema,\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n failedStepId: nonEmptyStringSchema,\n failedStepAttempt: z.number(),\n restartFromStepId: nonEmptyStringSchema,\n feedback: nonEmptyStringSchema,\n});\nexport type WorkflowsStepRestartEnqueuedEventDto = z.infer<\n typeof workflowsStepRestartEnqueuedSchema\n>;\n\nexport const workflowsStepAttemptTerminatedSchema = z.object({\n jobId: nonEmptyStringSchema,\n workflowRunId: nonEmptyStringSchema,\n workflowRunAttemptId: nonEmptyStringSchema,\n workspaceId: nonEmptyStringSchema,\n projectId: nonEmptyStringSchema,\n stepId: nonEmptyStringSchema,\n attempt: z.number().int().positive(),\n // Optional so the subscriber can continue to consume terminal events written\n // before the status field was added. New outbox events always include it.\n status: terminalStatusSchema.optional(),\n logOutcome: logOutcomeSchema,\n});\nexport type WorkflowsStepAttemptTerminatedEventDto = z.infer<\n typeof workflowsStepAttemptTerminatedSchema\n>;\n\nexport interface WorkflowsEventMapDto {\n [WORKFLOWS_WORKFLOW_RUN_ATTEMPT_CREATED]: WorkflowsWorkflowRunAttemptCreatedEventDto;\n [WORKFLOWS_WORKFLOW_RUN_TERMINATED]: WorkflowsWorkflowRunTerminatedEventDto;\n [WORKFLOWS_WORKFLOW_RUN_CANCELLED]: WorkflowsWorkflowRunCancelledEventDto;\n [WORKFLOWS_JOB_EXECUTION_TIMED_OUT]: WorkflowsJobExecutionTimedOutEventDto;\n [WORKFLOWS_JOB_ACTIVATED]: WorkflowsJobActivatedEventDto;\n [WORKFLOWS_JOB_EVENT_DELIVERED]: WorkflowsJobEventDeliveredEventDto;\n [WORKFLOWS_JOB_TERMINATED]: WorkflowsJobTerminatedEventDto;\n [WORKFLOWS_JOB_STEPS_SETTLED]: WorkflowsJobStepsSettledEventDto;\n [WORKFLOWS_STEP_RESTART_ENQUEUED]: WorkflowsStepRestartEnqueuedEventDto;\n [WORKFLOWS_STEP_ATTEMPT_TERMINATED]: WorkflowsStepAttemptTerminatedEventDto;\n}\n\nexport const workflowsEventSchemas = {\n [WORKFLOWS_WORKFLOW_RUN_ATTEMPT_CREATED]: workflowsWorkflowRunAttemptCreatedSchema,\n [WORKFLOWS_WORKFLOW_RUN_TERMINATED]: workflowsWorkflowRunTerminatedSchema,\n [WORKFLOWS_WORKFLOW_RUN_CANCELLED]: workflowsWorkflowRunCancelledSchema,\n [WORKFLOWS_JOB_EXECUTION_TIMED_OUT]: workflowsJobExecutionTimedOutSchema,\n [WORKFLOWS_JOB_ACTIVATED]: workflowsJobActivatedSchema,\n [WORKFLOWS_JOB_EVENT_DELIVERED]: workflowsJobEventDeliveredSchema,\n [WORKFLOWS_JOB_TERMINATED]: workflowsJobTerminatedSchema,\n [WORKFLOWS_JOB_STEPS_SETTLED]: workflowsJobStepsSettledSchema,\n [WORKFLOWS_STEP_RESTART_ENQUEUED]: workflowsStepRestartEnqueuedSchema,\n [WORKFLOWS_STEP_ATTEMPT_TERMINATED]: workflowsStepAttemptTerminatedSchema,\n} satisfies Record<keyof WorkflowsEventMapDto, z.ZodType>;\n"],"names":["z","jobStatusReasonSchema","listeningTriggerSchema","logOutcomeSchema","nonEmptyStringSchema","string","nonempty","WORKFLOWS_WORKFLOW_RUN_ATTEMPT_CREATED","WORKFLOWS_WORKFLOW_RUN_TERMINATED","WORKFLOWS_WORKFLOW_RUN_CANCELLED","WORKFLOWS_JOB_EXECUTION_TIMED_OUT","WORKFLOWS_JOB_ACTIVATED","WORKFLOWS_JOB_EVENT_DELIVERED","WORKFLOWS_JOB_TERMINATED","WORKFLOWS_JOB_STEPS_SETTLED","WORKFLOWS_STEP_RESTART_ENQUEUED","WORKFLOWS_STEP_ATTEMPT_TERMINATED","workflowsWorkflowRunAttemptCreatedSchema","object","workflowRunId","workflowRunAttemptId","attempt","number","int","positive","workspaceId","projectId","definitionId","workflowRunTerminalStatusSchema","enum","jobTerminalStatusSchema","terminalStatusSchema","workflowsWorkflowRunTerminatedSchema","status","workflowsWorkflowRunCancelledSchema","workflowsJobExecutionTimedOutSchema","jobId","jobExecutionId","workflowsJobActivatedBaseSchema","listenerFilterExpressionTypeSchema","lazy","union","kind","literal","fields","record","element","listenerFilterOutputTypesSchema","resolvedListeningTriggerSchema","extend","filter_snapshot","unknown","optional","filter_output_types","workflowsJobActivatedSchema","discriminatedUnion","mode","on","array","nullable","until","workflowsJobEventDeliveredSchema","disposition","eventRef","eventName","workflowsJobTerminatedSchema","statusReason","statusReasonMessage","settledStatusSchema","workflowsJobStepsSettledSchema","workflowsStepRestartEnqueuedSchema","failedStepId","failedStepAttempt","restartFromStepId","feedback","workflowsStepAttemptTerminatedSchema","stepId","logOutcome","workflowsEventSchemas"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AACtB,SAAQC,qBAAqB,QAAO,mBAAmB;AACvD,SAAQC,sBAAsB,QAAO,6BAA6B;AAClE,SAAQC,gBAAgB,QAAO,2BAA2B;AAE1D,MAAMC,uBAAuBJ,EAAEK,MAAM,GAAGC,QAAQ;AAEhD,OAAO,MAAMC,yCACX,yCAAkD;AACpD,wFAAwF;AACxF,OAAO,MAAMC,oCAAoC,oCAA6C;AAC9F,0FAA0F;AAC1F,OAAO,MAAMC,mCAAmC,mCAA4C;AAC5F,OAAO,MAAMC,oCAAoC,oCAA6C;AAC9F,OAAO,MAAMC,0BAA0B,0BAAmC;AAC1E,OAAO,MAAMC,gCAAgC,gCAAyC;AACtF,qFAAqF;AACrF,mEAAmE;AACnE,OAAO,MAAMC,2BAA2B,2BAAoC;AAC5E,+EAA+E;AAC/E,oFAAoF;AACpF,oFAAoF;AACpF,OAAO,MAAMC,8BAA8B,8BAAuC;AAClF,gFAAgF;AAChF,+EAA+E;AAC/E,gFAAgF;AAChF,uDAAuD;AACvD,OAAO,MAAMC,kCAAkC,kCAA2C;AAC1F,OAAO,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8 @@ export declare const jobStatusReasonSchema: z.ZodEnum<{
|
|
|
13
13
|
condition_rejected: "condition_rejected";
|
|
14
14
|
default_gate_rejected: "default_gate_rejected";
|
|
15
15
|
dependency_not_completed: "dependency_not_completed";
|
|
16
|
+
output_invalid: "output_invalid";
|
|
17
|
+
output_too_large: "output_too_large";
|
|
16
18
|
run_cancelled: "run_cancelled";
|
|
17
19
|
runner_lost: "runner_lost";
|
|
18
20
|
step_failed: "step_failed";
|
|
@@ -43,6 +45,8 @@ export declare const jobDtoSchema: z.ZodObject<{
|
|
|
43
45
|
condition_rejected: "condition_rejected";
|
|
44
46
|
default_gate_rejected: "default_gate_rejected";
|
|
45
47
|
dependency_not_completed: "dependency_not_completed";
|
|
48
|
+
output_invalid: "output_invalid";
|
|
49
|
+
output_too_large: "output_too_large";
|
|
46
50
|
run_cancelled: "run_cancelled";
|
|
47
51
|
runner_lost: "runner_lost";
|
|
48
52
|
step_failed: "step_failed";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job.d.ts","sourceRoot":"","sources":["../../src/schemas/job.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAStB,eAAO,MAAM,eAAe;;;;;;;EAO1B,CAAC;AAEH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"job.d.ts","sourceRoot":"","sources":["../../src/schemas/job.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAStB,eAAO,MAAM,eAAe;;;;;;;EAO1B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;EAchC,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoBvB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAClD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAC3D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
package/dist/schemas/job.js
CHANGED
|
@@ -19,8 +19,10 @@ export const jobStatusReasonSchema = z.enum([
|
|
|
19
19
|
'run_cancelled',
|
|
20
20
|
'timed_out',
|
|
21
21
|
'runner_lost',
|
|
22
|
+
'output_too_large',
|
|
22
23
|
'step_failed',
|
|
23
|
-
'unknown'
|
|
24
|
+
'unknown',
|
|
25
|
+
'output_invalid'
|
|
24
26
|
]);
|
|
25
27
|
export const jobDtoSchema = z.object({
|
|
26
28
|
id: z.string().uuid(),
|
package/dist/schemas/job.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/schemas/job.ts"],"sourcesContent":["import {z} from 'zod';\nimport {evaluationTraceSchema} from './evaluation-trace.js';\nimport {\n jobListeningSchema,\n jobModeSchema,\n listenerStatusSchema,\n resolutionReasonSchema,\n} from './job-listening.js';\n\nexport const jobStatusSchema = z.enum([\n 'pending',\n 'running',\n 'succeeded',\n 'failed',\n 'cancelled',\n 'skipped',\n]);\n\nexport const jobStatusReasonSchema = z.enum([\n 'dependency_not_completed',\n 'condition_false',\n 'default_gate_rejected',\n 'condition_rejected',\n 'condition_errored',\n 'user_cancelled',\n 'run_cancelled',\n 'timed_out',\n 'runner_lost',\n 'step_failed',\n 'unknown',\n]);\n\nexport const jobDtoSchema = z.object({\n id: z.string().uuid(),\n run_attempt_id: z.string().uuid(),\n key: z.string(),\n name: z.string().nullable(),\n mode: jobModeSchema,\n status: jobStatusSchema,\n status_reason: jobStatusReasonSchema.nullable(),\n carried_over: z.boolean(),\n success: z.string().nullable(),\n runner: z.array(z.string()).nullable(),\n evaluation_trace: evaluationTraceSchema.nullable(),\n listening: jobListeningSchema.nullable(),\n listener_status: listenerStatusSchema,\n resolution_reason: resolutionReasonSchema.nullable(),\n outputs: z.record(z.string(), z.unknown()).nullable(),\n dependencies: z.array(z.string()),\n position: z.number(),\n created_at: z.string(),\n updated_at: z.string(),\n});\n\nexport type JobDto = z.infer<typeof jobDtoSchema>;\nexport type JobStatusDto = z.infer<typeof jobStatusSchema>;\nexport type JobStatusReasonDto = z.infer<typeof jobStatusReasonSchema>;\n"],"names":["z","evaluationTraceSchema","jobListeningSchema","jobModeSchema","listenerStatusSchema","resolutionReasonSchema","jobStatusSchema","enum","jobStatusReasonSchema","jobDtoSchema","object","id","string","uuid","run_attempt_id","key","name","nullable","mode","status","status_reason","carried_over","boolean","success","runner","array","evaluation_trace","listening","listener_status","resolution_reason","outputs","record","unknown","dependencies","position","number","created_at","updated_at"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AACtB,SAAQC,qBAAqB,QAAO,wBAAwB;AAC5D,SACEC,kBAAkB,EAClBC,aAAa,EACbC,oBAAoB,EACpBC,sBAAsB,QACjB,qBAAqB;AAE5B,OAAO,MAAMC,kBAAkBN,EAAEO,IAAI,CAAC;IACpC;IACA;IACA;IACA;IACA;IACA;CACD,EAAE;AAEH,OAAO,MAAMC,wBAAwBR,EAAEO,IAAI,CAAC;IAC1C;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD,EAAE;AAEH,OAAO,MAAME,eAAeT,EAAEU,MAAM,CAAC;IACnCC,IAAIX,EAAEY,MAAM,GAAGC,IAAI;IACnBC,gBAAgBd,EAAEY,MAAM,GAAGC,IAAI;IAC/BE,KAAKf,EAAEY,MAAM;IACbI,MAAMhB,EAAEY,MAAM,GAAGK,QAAQ;IACzBC,MAAMf;IACNgB,QAAQb;IACRc,eAAeZ,sBAAsBS,QAAQ;IAC7CI,cAAcrB,EAAEsB,OAAO;IACvBC,SAASvB,EAAEY,MAAM,GAAGK,QAAQ;IAC5BO,QAAQxB,EAAEyB,KAAK,CAACzB,EAAEY,MAAM,IAAIK,QAAQ;IACpCS,kBAAkBzB,sBAAsBgB,QAAQ;IAChDU,WAAWzB,mBAAmBe,QAAQ;IACtCW,iBAAiBxB;IACjByB,mBAAmBxB,uBAAuBY,QAAQ;IAClDa,SAAS9B,EAAE+B,MAAM,CAAC/B,EAAEY,MAAM,IAAIZ,EAAEgC,OAAO,IAAIf,QAAQ;IACnDgB,cAAcjC,EAAEyB,KAAK,CAACzB,EAAEY,MAAM;IAC9BsB,UAAUlC,EAAEmC,MAAM;IAClBC,YAAYpC,EAAEY,MAAM;IACpByB,YAAYrC,EAAEY,MAAM;AACtB,GAAG"}
|
|
1
|
+
{"version":3,"sources":["../../src/schemas/job.ts"],"sourcesContent":["import {z} from 'zod';\nimport {evaluationTraceSchema} from './evaluation-trace.js';\nimport {\n jobListeningSchema,\n jobModeSchema,\n listenerStatusSchema,\n resolutionReasonSchema,\n} from './job-listening.js';\n\nexport const jobStatusSchema = z.enum([\n 'pending',\n 'running',\n 'succeeded',\n 'failed',\n 'cancelled',\n 'skipped',\n]);\n\nexport const jobStatusReasonSchema = z.enum([\n 'dependency_not_completed',\n 'condition_false',\n 'default_gate_rejected',\n 'condition_rejected',\n 'condition_errored',\n 'user_cancelled',\n 'run_cancelled',\n 'timed_out',\n 'runner_lost',\n 'output_too_large',\n 'step_failed',\n 'unknown',\n 'output_invalid',\n]);\n\nexport const jobDtoSchema = z.object({\n id: z.string().uuid(),\n run_attempt_id: z.string().uuid(),\n key: z.string(),\n name: z.string().nullable(),\n mode: jobModeSchema,\n status: jobStatusSchema,\n status_reason: jobStatusReasonSchema.nullable(),\n carried_over: z.boolean(),\n success: z.string().nullable(),\n runner: z.array(z.string()).nullable(),\n evaluation_trace: evaluationTraceSchema.nullable(),\n listening: jobListeningSchema.nullable(),\n listener_status: listenerStatusSchema,\n resolution_reason: resolutionReasonSchema.nullable(),\n outputs: z.record(z.string(), z.unknown()).nullable(),\n dependencies: z.array(z.string()),\n position: z.number(),\n created_at: z.string(),\n updated_at: z.string(),\n});\n\nexport type JobDto = z.infer<typeof jobDtoSchema>;\nexport type JobStatusDto = z.infer<typeof jobStatusSchema>;\nexport type JobStatusReasonDto = z.infer<typeof jobStatusReasonSchema>;\n"],"names":["z","evaluationTraceSchema","jobListeningSchema","jobModeSchema","listenerStatusSchema","resolutionReasonSchema","jobStatusSchema","enum","jobStatusReasonSchema","jobDtoSchema","object","id","string","uuid","run_attempt_id","key","name","nullable","mode","status","status_reason","carried_over","boolean","success","runner","array","evaluation_trace","listening","listener_status","resolution_reason","outputs","record","unknown","dependencies","position","number","created_at","updated_at"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AACtB,SAAQC,qBAAqB,QAAO,wBAAwB;AAC5D,SACEC,kBAAkB,EAClBC,aAAa,EACbC,oBAAoB,EACpBC,sBAAsB,QACjB,qBAAqB;AAE5B,OAAO,MAAMC,kBAAkBN,EAAEO,IAAI,CAAC;IACpC;IACA;IACA;IACA;IACA;IACA;CACD,EAAE;AAEH,OAAO,MAAMC,wBAAwBR,EAAEO,IAAI,CAAC;IAC1C;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD,EAAE;AAEH,OAAO,MAAME,eAAeT,EAAEU,MAAM,CAAC;IACnCC,IAAIX,EAAEY,MAAM,GAAGC,IAAI;IACnBC,gBAAgBd,EAAEY,MAAM,GAAGC,IAAI;IAC/BE,KAAKf,EAAEY,MAAM;IACbI,MAAMhB,EAAEY,MAAM,GAAGK,QAAQ;IACzBC,MAAMf;IACNgB,QAAQb;IACRc,eAAeZ,sBAAsBS,QAAQ;IAC7CI,cAAcrB,EAAEsB,OAAO;IACvBC,SAASvB,EAAEY,MAAM,GAAGK,QAAQ;IAC5BO,QAAQxB,EAAEyB,KAAK,CAACzB,EAAEY,MAAM,IAAIK,QAAQ;IACpCS,kBAAkBzB,sBAAsBgB,QAAQ;IAChDU,WAAWzB,mBAAmBe,QAAQ;IACtCW,iBAAiBxB;IACjByB,mBAAmBxB,uBAAuBY,QAAQ;IAClDa,SAAS9B,EAAE+B,MAAM,CAAC/B,EAAEY,MAAM,IAAIZ,EAAEgC,OAAO,IAAIf,QAAQ;IACnDgB,cAAcjC,EAAEyB,KAAK,CAACzB,EAAEY,MAAM;IAC9BsB,UAAUlC,EAAEmC,MAAM;IAClBC,YAAYpC,EAAEY,MAAM;IACpByB,YAAYrC,EAAEY,MAAM;AACtB,GAAG"}
|
|
@@ -19,6 +19,7 @@ export declare const jobExecutionDtoSchema: z.ZodObject<{
|
|
|
19
19
|
succeeded: "succeeded";
|
|
20
20
|
}>;
|
|
21
21
|
status_reason: z.ZodNullable<z.ZodString>;
|
|
22
|
+
status_reason_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
23
|
runner: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
23
24
|
trigger_events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
24
25
|
source: z.ZodString;
|
|
@@ -240,6 +241,7 @@ export declare const workflowRunJobExecutionDetailDtoSchema: z.ZodObject<{
|
|
|
240
241
|
succeeded: "succeeded";
|
|
241
242
|
}>;
|
|
242
243
|
status_reason: z.ZodNullable<z.ZodString>;
|
|
244
|
+
status_reason_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
243
245
|
runner: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
244
246
|
trigger_events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
245
247
|
source: z.ZodString;
|
|
@@ -447,6 +449,8 @@ export declare const workflowRunJobDetailDtoSchema: z.ZodObject<{
|
|
|
447
449
|
condition_rejected: "condition_rejected";
|
|
448
450
|
default_gate_rejected: "default_gate_rejected";
|
|
449
451
|
dependency_not_completed: "dependency_not_completed";
|
|
452
|
+
output_invalid: "output_invalid";
|
|
453
|
+
output_too_large: "output_too_large";
|
|
450
454
|
run_cancelled: "run_cancelled";
|
|
451
455
|
runner_lost: "runner_lost";
|
|
452
456
|
step_failed: "step_failed";
|
|
@@ -529,6 +533,7 @@ export declare const workflowRunJobDetailDtoSchema: z.ZodObject<{
|
|
|
529
533
|
succeeded: "succeeded";
|
|
530
534
|
}>;
|
|
531
535
|
status_reason: z.ZodNullable<z.ZodString>;
|
|
536
|
+
status_reason_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
532
537
|
runner: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
533
538
|
trigger_events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
534
539
|
source: z.ZodString;
|
|
@@ -791,6 +796,8 @@ export declare const workflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
791
796
|
condition_rejected: "condition_rejected";
|
|
792
797
|
default_gate_rejected: "default_gate_rejected";
|
|
793
798
|
dependency_not_completed: "dependency_not_completed";
|
|
799
|
+
output_invalid: "output_invalid";
|
|
800
|
+
output_too_large: "output_too_large";
|
|
794
801
|
run_cancelled: "run_cancelled";
|
|
795
802
|
runner_lost: "runner_lost";
|
|
796
803
|
step_failed: "step_failed";
|
|
@@ -873,6 +880,7 @@ export declare const workflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
873
880
|
succeeded: "succeeded";
|
|
874
881
|
}>;
|
|
875
882
|
status_reason: z.ZodNullable<z.ZodString>;
|
|
883
|
+
status_reason_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
876
884
|
runner: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
877
885
|
trigger_events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
878
886
|
source: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-run-detail.d.ts","sourceRoot":"","sources":["../../src/schemas/workflow-run-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAOtB,eAAO,MAAM,wBAAwB;;;;;;EAMnC,CAAC;AAEH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAExC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAIpF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG1C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|
|
@@ -18,6 +18,7 @@ export const jobExecutionDtoSchema = z.object({
|
|
|
18
18
|
name: z.string(),
|
|
19
19
|
status: jobExecutionStatusSchema,
|
|
20
20
|
status_reason: z.string().nullable(),
|
|
21
|
+
status_reason_message: z.string().nullable().optional(),
|
|
21
22
|
runner: z.array(z.string()).nullable(),
|
|
22
23
|
trigger_events: z.array(workflowExecutionEventSchema).default([]),
|
|
23
24
|
outputs: z.record(z.string(), z.unknown()).nullable(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/schemas/workflow-run-detail.ts"],"sourcesContent":["import {z} from 'zod';\nimport {evaluationTraceSchema} from './evaluation-trace.js';\nimport {jobDtoSchema} from './job.js';\nimport {workflowExecutionEventSchema} from './job-listening.js';\nimport {stepAttemptDetailDtoSchema, stepAttemptDtoSchema, stepDtoSchema} from './step.js';\nimport {workflowRunAttemptDtoSchema, workflowRunResponseSchema} from './workflow-run.js';\n\nexport const jobExecutionStatusSchema = z.enum([\n 'pending',\n 'running',\n 'succeeded',\n 'failed',\n 'cancelled',\n]);\n\nexport const jobExecutionDtoSchema = z.object({\n id: z.string().uuid(),\n job_id: z.string().uuid(),\n sequence: z.number().int().positive(),\n name: z.string(),\n status: jobExecutionStatusSchema,\n status_reason: z.string().nullable(),\n runner: z.array(z.string()).nullable(),\n trigger_events: z.array(workflowExecutionEventSchema).default([]),\n outputs: z.record(z.string(), z.unknown()).nullable(),\n evaluation_trace: evaluationTraceSchema.nullable(),\n queued_at: z.string().nullable(),\n started_at: z.string().nullable(),\n finished_at: z.string().nullable(),\n timed_out_at: z.string().nullable(),\n created_at: z.string(),\n updated_at: z.string(),\n});\n\nexport type JobExecutionDto = z.infer<typeof jobExecutionDtoSchema>;\n\n// A step with its attempt history: one entry per dispatched attempt (a restarted\n// step has more than one). `current_attempt` on the step points at the latest.\nexport const workflowRunStepDetailDtoSchema = stepDtoSchema.extend({\n exit_code: z.number().int().nullable(),\n outputs: z.record(z.string(), z.unknown()).nullable(),\n response: z.string().nullable(),\n gate_result: stepAttemptDtoSchema.shape.gate_result,\n attempts: z.array(stepAttemptDtoSchema),\n});\n\nexport type WorkflowRunStepDetailDto = z.infer<typeof workflowRunStepDetailDtoSchema>;\n\nexport const stepAttemptDetailResponseSchema = z.object({\n step_id: z.string().uuid(),\n attempt: stepAttemptDetailDtoSchema.shape.attempt,\n authored_config: z.record(z.string(), z.unknown()).nullable(),\n config: stepAttemptDetailDtoSchema.shape.config,\n evaluation_trace: stepAttemptDetailDtoSchema.shape.evaluation_trace,\n});\n\nexport type StepAttemptDetailResponseDto = z.infer<typeof stepAttemptDetailResponseSchema>;\n\nexport const workflowRunJobExecutionDetailDtoSchema = jobExecutionDtoSchema.extend({\n steps: z.array(workflowRunStepDetailDtoSchema),\n});\n\nexport type WorkflowRunJobExecutionDetailDto = z.infer<\n typeof workflowRunJobExecutionDetailDtoSchema\n>;\n\nexport const workflowRunJobDetailDtoSchema = jobDtoSchema.extend({\n job_executions: z.array(workflowRunJobExecutionDetailDtoSchema),\n});\n\nexport type WorkflowRunJobDetailDto = z.infer<typeof workflowRunJobDetailDtoSchema>;\n\n// The run detail read model returned by `GET /workflows/runs/:id`: a run plus its\n// jobs, each job's steps, and each step's attempt history.\nexport const workflowRunDetailResponseSchema = workflowRunResponseSchema.extend({\n run_attempt: workflowRunAttemptDtoSchema,\n jobs: z.array(workflowRunJobDetailDtoSchema),\n});\n\nexport type WorkflowRunDetailResponseDto = z.infer<typeof workflowRunDetailResponseSchema>;\n"],"names":["z","evaluationTraceSchema","jobDtoSchema","workflowExecutionEventSchema","stepAttemptDetailDtoSchema","stepAttemptDtoSchema","stepDtoSchema","workflowRunAttemptDtoSchema","workflowRunResponseSchema","jobExecutionStatusSchema","enum","jobExecutionDtoSchema","object","id","string","uuid","job_id","sequence","number","int","positive","name","status","status_reason","nullable","runner","array","trigger_events","default","outputs","record","unknown","evaluation_trace","queued_at","started_at","finished_at","timed_out_at","created_at","updated_at","workflowRunStepDetailDtoSchema","extend","exit_code","response","gate_result","shape","attempts","stepAttemptDetailResponseSchema","step_id","attempt","authored_config","config","workflowRunJobExecutionDetailDtoSchema","steps","workflowRunJobDetailDtoSchema","job_executions","workflowRunDetailResponseSchema","run_attempt","jobs"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AACtB,SAAQC,qBAAqB,QAAO,wBAAwB;AAC5D,SAAQC,YAAY,QAAO,WAAW;AACtC,SAAQC,4BAA4B,QAAO,qBAAqB;AAChE,SAAQC,0BAA0B,EAAEC,oBAAoB,EAAEC,aAAa,QAAO,YAAY;AAC1F,SAAQC,2BAA2B,EAAEC,yBAAyB,QAAO,oBAAoB;AAEzF,OAAO,MAAMC,2BAA2BT,EAAEU,IAAI,CAAC;IAC7C;IACA;IACA;IACA;IACA;CACD,EAAE;AAEH,OAAO,MAAMC,wBAAwBX,EAAEY,MAAM,CAAC;IAC5CC,IAAIb,EAAEc,MAAM,GAAGC,IAAI;IACnBC,QAAQhB,EAAEc,MAAM,GAAGC,IAAI;IACvBE,UAAUjB,EAAEkB,MAAM,GAAGC,GAAG,GAAGC,QAAQ;IACnCC,MAAMrB,EAAEc,MAAM;IACdQ,QAAQb;IACRc,eAAevB,EAAEc,MAAM,GAAGU,QAAQ;IAClCC,
|
|
1
|
+
{"version":3,"sources":["../../src/schemas/workflow-run-detail.ts"],"sourcesContent":["import {z} from 'zod';\nimport {evaluationTraceSchema} from './evaluation-trace.js';\nimport {jobDtoSchema} from './job.js';\nimport {workflowExecutionEventSchema} from './job-listening.js';\nimport {stepAttemptDetailDtoSchema, stepAttemptDtoSchema, stepDtoSchema} from './step.js';\nimport {workflowRunAttemptDtoSchema, workflowRunResponseSchema} from './workflow-run.js';\n\nexport const jobExecutionStatusSchema = z.enum([\n 'pending',\n 'running',\n 'succeeded',\n 'failed',\n 'cancelled',\n]);\n\nexport const jobExecutionDtoSchema = z.object({\n id: z.string().uuid(),\n job_id: z.string().uuid(),\n sequence: z.number().int().positive(),\n name: z.string(),\n status: jobExecutionStatusSchema,\n status_reason: z.string().nullable(),\n status_reason_message: z.string().nullable().optional(),\n runner: z.array(z.string()).nullable(),\n trigger_events: z.array(workflowExecutionEventSchema).default([]),\n outputs: z.record(z.string(), z.unknown()).nullable(),\n evaluation_trace: evaluationTraceSchema.nullable(),\n queued_at: z.string().nullable(),\n started_at: z.string().nullable(),\n finished_at: z.string().nullable(),\n timed_out_at: z.string().nullable(),\n created_at: z.string(),\n updated_at: z.string(),\n});\n\nexport type JobExecutionDto = z.infer<typeof jobExecutionDtoSchema>;\n\n// A step with its attempt history: one entry per dispatched attempt (a restarted\n// step has more than one). `current_attempt` on the step points at the latest.\nexport const workflowRunStepDetailDtoSchema = stepDtoSchema.extend({\n exit_code: z.number().int().nullable(),\n outputs: z.record(z.string(), z.unknown()).nullable(),\n response: z.string().nullable(),\n gate_result: stepAttemptDtoSchema.shape.gate_result,\n attempts: z.array(stepAttemptDtoSchema),\n});\n\nexport type WorkflowRunStepDetailDto = z.infer<typeof workflowRunStepDetailDtoSchema>;\n\nexport const stepAttemptDetailResponseSchema = z.object({\n step_id: z.string().uuid(),\n attempt: stepAttemptDetailDtoSchema.shape.attempt,\n authored_config: z.record(z.string(), z.unknown()).nullable(),\n config: stepAttemptDetailDtoSchema.shape.config,\n evaluation_trace: stepAttemptDetailDtoSchema.shape.evaluation_trace,\n});\n\nexport type StepAttemptDetailResponseDto = z.infer<typeof stepAttemptDetailResponseSchema>;\n\nexport const workflowRunJobExecutionDetailDtoSchema = jobExecutionDtoSchema.extend({\n steps: z.array(workflowRunStepDetailDtoSchema),\n});\n\nexport type WorkflowRunJobExecutionDetailDto = z.infer<\n typeof workflowRunJobExecutionDetailDtoSchema\n>;\n\nexport const workflowRunJobDetailDtoSchema = jobDtoSchema.extend({\n job_executions: z.array(workflowRunJobExecutionDetailDtoSchema),\n});\n\nexport type WorkflowRunJobDetailDto = z.infer<typeof workflowRunJobDetailDtoSchema>;\n\n// The run detail read model returned by `GET /workflows/runs/:id`: a run plus its\n// jobs, each job's steps, and each step's attempt history.\nexport const workflowRunDetailResponseSchema = workflowRunResponseSchema.extend({\n run_attempt: workflowRunAttemptDtoSchema,\n jobs: z.array(workflowRunJobDetailDtoSchema),\n});\n\nexport type WorkflowRunDetailResponseDto = z.infer<typeof workflowRunDetailResponseSchema>;\n"],"names":["z","evaluationTraceSchema","jobDtoSchema","workflowExecutionEventSchema","stepAttemptDetailDtoSchema","stepAttemptDtoSchema","stepDtoSchema","workflowRunAttemptDtoSchema","workflowRunResponseSchema","jobExecutionStatusSchema","enum","jobExecutionDtoSchema","object","id","string","uuid","job_id","sequence","number","int","positive","name","status","status_reason","nullable","status_reason_message","optional","runner","array","trigger_events","default","outputs","record","unknown","evaluation_trace","queued_at","started_at","finished_at","timed_out_at","created_at","updated_at","workflowRunStepDetailDtoSchema","extend","exit_code","response","gate_result","shape","attempts","stepAttemptDetailResponseSchema","step_id","attempt","authored_config","config","workflowRunJobExecutionDetailDtoSchema","steps","workflowRunJobDetailDtoSchema","job_executions","workflowRunDetailResponseSchema","run_attempt","jobs"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AACtB,SAAQC,qBAAqB,QAAO,wBAAwB;AAC5D,SAAQC,YAAY,QAAO,WAAW;AACtC,SAAQC,4BAA4B,QAAO,qBAAqB;AAChE,SAAQC,0BAA0B,EAAEC,oBAAoB,EAAEC,aAAa,QAAO,YAAY;AAC1F,SAAQC,2BAA2B,EAAEC,yBAAyB,QAAO,oBAAoB;AAEzF,OAAO,MAAMC,2BAA2BT,EAAEU,IAAI,CAAC;IAC7C;IACA;IACA;IACA;IACA;CACD,EAAE;AAEH,OAAO,MAAMC,wBAAwBX,EAAEY,MAAM,CAAC;IAC5CC,IAAIb,EAAEc,MAAM,GAAGC,IAAI;IACnBC,QAAQhB,EAAEc,MAAM,GAAGC,IAAI;IACvBE,UAAUjB,EAAEkB,MAAM,GAAGC,GAAG,GAAGC,QAAQ;IACnCC,MAAMrB,EAAEc,MAAM;IACdQ,QAAQb;IACRc,eAAevB,EAAEc,MAAM,GAAGU,QAAQ;IAClCC,uBAAuBzB,EAAEc,MAAM,GAAGU,QAAQ,GAAGE,QAAQ;IACrDC,QAAQ3B,EAAE4B,KAAK,CAAC5B,EAAEc,MAAM,IAAIU,QAAQ;IACpCK,gBAAgB7B,EAAE4B,KAAK,CAACzB,8BAA8B2B,OAAO,CAAC,EAAE;IAChEC,SAAS/B,EAAEgC,MAAM,CAAChC,E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