@trigger.dev/core 0.0.0-prerelease-20250916133650 → 0.0.0-prerelease-20251007140052
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/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +5 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +31 -0
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +88 -61
- package/dist/commonjs/v3/runEngineWorker/workload/http.js +36 -6
- package/dist/commonjs/v3/runEngineWorker/workload/http.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +31 -0
- package/dist/commonjs/v3/schemas/api.d.ts +101 -6
- package/dist/commonjs/v3/schemas/api.js +13 -3
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/openTelemetry.d.ts +183 -0
- package/dist/commonjs/v3/schemas/openTelemetry.js +20 -2
- package/dist/commonjs/v3/schemas/openTelemetry.js.map +1 -1
- package/dist/commonjs/v3/schemas/runEngine.d.ts +25 -0
- package/dist/commonjs/v3/schemas/runEngine.js +1 -0
- package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
- package/dist/commonjs/v3/semanticInternalAttributes.d.ts +3 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js +3 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/index.d.ts +1 -0
- package/dist/commonjs/v3/serverOnly/index.js +1 -0
- package/dist/commonjs/v3/serverOnly/index.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/resourceMonitor.d.ts +190 -0
- package/dist/commonjs/v3/serverOnly/resourceMonitor.js +596 -0
- package/dist/commonjs/v3/serverOnly/resourceMonitor.js.map +1 -0
- package/dist/commonjs/v3/utils/flattenAttributes.d.ts +1 -1
- package/dist/commonjs/v3/utils/flattenAttributes.js +4 -1
- package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +5 -0
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +31 -0
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +88 -61
- package/dist/esm/v3/runEngineWorker/workload/http.js +36 -6
- package/dist/esm/v3/runEngineWorker/workload/http.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +31 -0
- package/dist/esm/v3/schemas/api.d.ts +101 -6
- package/dist/esm/v3/schemas/api.js +10 -0
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/openTelemetry.d.ts +183 -0
- package/dist/esm/v3/schemas/openTelemetry.js +18 -1
- package/dist/esm/v3/schemas/openTelemetry.js.map +1 -1
- package/dist/esm/v3/schemas/runEngine.d.ts +25 -0
- package/dist/esm/v3/schemas/runEngine.js +1 -0
- package/dist/esm/v3/schemas/runEngine.js.map +1 -1
- package/dist/esm/v3/semanticInternalAttributes.d.ts +3 -0
- package/dist/esm/v3/semanticInternalAttributes.js +3 -0
- package/dist/esm/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/esm/v3/serverOnly/index.d.ts +1 -0
- package/dist/esm/v3/serverOnly/index.js +1 -0
- package/dist/esm/v3/serverOnly/index.js.map +1 -1
- package/dist/esm/v3/serverOnly/resourceMonitor.d.ts +190 -0
- package/dist/esm/v3/serverOnly/resourceMonitor.js +589 -0
- package/dist/esm/v3/serverOnly/resourceMonitor.js.map +1 -0
- package/dist/esm/v3/utils/flattenAttributes.d.ts +1 -1
- package/dist/esm/v3/utils/flattenAttributes.js +4 -1
- package/dist/esm/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.js +1 -1
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +2 -2
|
@@ -89,6 +89,68 @@ export declare const CancellationSpanEvent: z.ZodObject<{
|
|
|
89
89
|
time: Date;
|
|
90
90
|
}>;
|
|
91
91
|
export type CancellationSpanEvent = z.infer<typeof CancellationSpanEvent>;
|
|
92
|
+
export declare const AttemptFailedSpanEvent: z.ZodObject<{
|
|
93
|
+
name: z.ZodLiteral<"attempt_failed">;
|
|
94
|
+
time: z.ZodDate;
|
|
95
|
+
properties: z.ZodObject<{
|
|
96
|
+
exception: z.ZodObject<{
|
|
97
|
+
type: z.ZodOptional<z.ZodString>;
|
|
98
|
+
message: z.ZodOptional<z.ZodString>;
|
|
99
|
+
stacktrace: z.ZodOptional<z.ZodString>;
|
|
100
|
+
}, "strip", z.ZodTypeAny, {
|
|
101
|
+
message?: string | undefined;
|
|
102
|
+
type?: string | undefined;
|
|
103
|
+
stacktrace?: string | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
message?: string | undefined;
|
|
106
|
+
type?: string | undefined;
|
|
107
|
+
stacktrace?: string | undefined;
|
|
108
|
+
}>;
|
|
109
|
+
attemptNumber: z.ZodNumber;
|
|
110
|
+
runId: z.ZodString;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
runId: string;
|
|
113
|
+
attemptNumber: number;
|
|
114
|
+
exception: {
|
|
115
|
+
message?: string | undefined;
|
|
116
|
+
type?: string | undefined;
|
|
117
|
+
stacktrace?: string | undefined;
|
|
118
|
+
};
|
|
119
|
+
}, {
|
|
120
|
+
runId: string;
|
|
121
|
+
attemptNumber: number;
|
|
122
|
+
exception: {
|
|
123
|
+
message?: string | undefined;
|
|
124
|
+
type?: string | undefined;
|
|
125
|
+
stacktrace?: string | undefined;
|
|
126
|
+
};
|
|
127
|
+
}>;
|
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
|
129
|
+
name: "attempt_failed";
|
|
130
|
+
properties: {
|
|
131
|
+
runId: string;
|
|
132
|
+
attemptNumber: number;
|
|
133
|
+
exception: {
|
|
134
|
+
message?: string | undefined;
|
|
135
|
+
type?: string | undefined;
|
|
136
|
+
stacktrace?: string | undefined;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
time: Date;
|
|
140
|
+
}, {
|
|
141
|
+
name: "attempt_failed";
|
|
142
|
+
properties: {
|
|
143
|
+
runId: string;
|
|
144
|
+
attemptNumber: number;
|
|
145
|
+
exception: {
|
|
146
|
+
message?: string | undefined;
|
|
147
|
+
type?: string | undefined;
|
|
148
|
+
stacktrace?: string | undefined;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
time: Date;
|
|
152
|
+
}>;
|
|
153
|
+
export type AttemptFailedSpanEvent = z.infer<typeof AttemptFailedSpanEvent>;
|
|
92
154
|
export declare const OtherSpanEvent: z.ZodObject<{
|
|
93
155
|
name: z.ZodString;
|
|
94
156
|
time: z.ZodDate;
|
|
@@ -175,6 +237,66 @@ export declare const SpanEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
175
237
|
reason: string;
|
|
176
238
|
};
|
|
177
239
|
time: Date;
|
|
240
|
+
}>, z.ZodObject<{
|
|
241
|
+
name: z.ZodLiteral<"attempt_failed">;
|
|
242
|
+
time: z.ZodDate;
|
|
243
|
+
properties: z.ZodObject<{
|
|
244
|
+
exception: z.ZodObject<{
|
|
245
|
+
type: z.ZodOptional<z.ZodString>;
|
|
246
|
+
message: z.ZodOptional<z.ZodString>;
|
|
247
|
+
stacktrace: z.ZodOptional<z.ZodString>;
|
|
248
|
+
}, "strip", z.ZodTypeAny, {
|
|
249
|
+
message?: string | undefined;
|
|
250
|
+
type?: string | undefined;
|
|
251
|
+
stacktrace?: string | undefined;
|
|
252
|
+
}, {
|
|
253
|
+
message?: string | undefined;
|
|
254
|
+
type?: string | undefined;
|
|
255
|
+
stacktrace?: string | undefined;
|
|
256
|
+
}>;
|
|
257
|
+
attemptNumber: z.ZodNumber;
|
|
258
|
+
runId: z.ZodString;
|
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
|
260
|
+
runId: string;
|
|
261
|
+
attemptNumber: number;
|
|
262
|
+
exception: {
|
|
263
|
+
message?: string | undefined;
|
|
264
|
+
type?: string | undefined;
|
|
265
|
+
stacktrace?: string | undefined;
|
|
266
|
+
};
|
|
267
|
+
}, {
|
|
268
|
+
runId: string;
|
|
269
|
+
attemptNumber: number;
|
|
270
|
+
exception: {
|
|
271
|
+
message?: string | undefined;
|
|
272
|
+
type?: string | undefined;
|
|
273
|
+
stacktrace?: string | undefined;
|
|
274
|
+
};
|
|
275
|
+
}>;
|
|
276
|
+
}, "strip", z.ZodTypeAny, {
|
|
277
|
+
name: "attempt_failed";
|
|
278
|
+
properties: {
|
|
279
|
+
runId: string;
|
|
280
|
+
attemptNumber: number;
|
|
281
|
+
exception: {
|
|
282
|
+
message?: string | undefined;
|
|
283
|
+
type?: string | undefined;
|
|
284
|
+
stacktrace?: string | undefined;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
time: Date;
|
|
288
|
+
}, {
|
|
289
|
+
name: "attempt_failed";
|
|
290
|
+
properties: {
|
|
291
|
+
runId: string;
|
|
292
|
+
attemptNumber: number;
|
|
293
|
+
exception: {
|
|
294
|
+
message?: string | undefined;
|
|
295
|
+
type?: string | undefined;
|
|
296
|
+
stacktrace?: string | undefined;
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
time: Date;
|
|
178
300
|
}>, z.ZodObject<{
|
|
179
301
|
name: z.ZodString;
|
|
180
302
|
time: z.ZodDate;
|
|
@@ -261,6 +383,66 @@ export declare const SpanEvents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
|
261
383
|
reason: string;
|
|
262
384
|
};
|
|
263
385
|
time: Date;
|
|
386
|
+
}>, z.ZodObject<{
|
|
387
|
+
name: z.ZodLiteral<"attempt_failed">;
|
|
388
|
+
time: z.ZodDate;
|
|
389
|
+
properties: z.ZodObject<{
|
|
390
|
+
exception: z.ZodObject<{
|
|
391
|
+
type: z.ZodOptional<z.ZodString>;
|
|
392
|
+
message: z.ZodOptional<z.ZodString>;
|
|
393
|
+
stacktrace: z.ZodOptional<z.ZodString>;
|
|
394
|
+
}, "strip", z.ZodTypeAny, {
|
|
395
|
+
message?: string | undefined;
|
|
396
|
+
type?: string | undefined;
|
|
397
|
+
stacktrace?: string | undefined;
|
|
398
|
+
}, {
|
|
399
|
+
message?: string | undefined;
|
|
400
|
+
type?: string | undefined;
|
|
401
|
+
stacktrace?: string | undefined;
|
|
402
|
+
}>;
|
|
403
|
+
attemptNumber: z.ZodNumber;
|
|
404
|
+
runId: z.ZodString;
|
|
405
|
+
}, "strip", z.ZodTypeAny, {
|
|
406
|
+
runId: string;
|
|
407
|
+
attemptNumber: number;
|
|
408
|
+
exception: {
|
|
409
|
+
message?: string | undefined;
|
|
410
|
+
type?: string | undefined;
|
|
411
|
+
stacktrace?: string | undefined;
|
|
412
|
+
};
|
|
413
|
+
}, {
|
|
414
|
+
runId: string;
|
|
415
|
+
attemptNumber: number;
|
|
416
|
+
exception: {
|
|
417
|
+
message?: string | undefined;
|
|
418
|
+
type?: string | undefined;
|
|
419
|
+
stacktrace?: string | undefined;
|
|
420
|
+
};
|
|
421
|
+
}>;
|
|
422
|
+
}, "strip", z.ZodTypeAny, {
|
|
423
|
+
name: "attempt_failed";
|
|
424
|
+
properties: {
|
|
425
|
+
runId: string;
|
|
426
|
+
attemptNumber: number;
|
|
427
|
+
exception: {
|
|
428
|
+
message?: string | undefined;
|
|
429
|
+
type?: string | undefined;
|
|
430
|
+
stacktrace?: string | undefined;
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
time: Date;
|
|
434
|
+
}, {
|
|
435
|
+
name: "attempt_failed";
|
|
436
|
+
properties: {
|
|
437
|
+
runId: string;
|
|
438
|
+
attemptNumber: number;
|
|
439
|
+
exception: {
|
|
440
|
+
message?: string | undefined;
|
|
441
|
+
type?: string | undefined;
|
|
442
|
+
stacktrace?: string | undefined;
|
|
443
|
+
};
|
|
444
|
+
};
|
|
445
|
+
time: Date;
|
|
264
446
|
}>, z.ZodObject<{
|
|
265
447
|
name: z.ZodString;
|
|
266
448
|
time: z.ZodDate;
|
|
@@ -277,6 +459,7 @@ export declare const SpanEvents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
|
277
459
|
export type SpanEvents = z.infer<typeof SpanEvents>;
|
|
278
460
|
export declare function isExceptionSpanEvent(event: SpanEvent): event is ExceptionSpanEvent;
|
|
279
461
|
export declare function isCancellationSpanEvent(event: SpanEvent): event is CancellationSpanEvent;
|
|
462
|
+
export declare function isAttemptFailedSpanEvent(event: SpanEvent): event is AttemptFailedSpanEvent;
|
|
280
463
|
export declare const SpanMessagingEvent: z.ZodObject<{
|
|
281
464
|
system: z.ZodOptional<z.ZodString>;
|
|
282
465
|
client_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SpanMessagingEvent = exports.SpanEvents = exports.SpanEvent = exports.OtherSpanEvent = exports.CancellationSpanEvent = exports.ExceptionSpanEvent = exports.ExceptionEventProperties = void 0;
|
|
3
|
+
exports.SpanMessagingEvent = exports.SpanEvents = exports.SpanEvent = exports.OtherSpanEvent = exports.AttemptFailedSpanEvent = exports.CancellationSpanEvent = exports.ExceptionSpanEvent = exports.ExceptionEventProperties = void 0;
|
|
4
4
|
exports.isExceptionSpanEvent = isExceptionSpanEvent;
|
|
5
5
|
exports.isCancellationSpanEvent = isCancellationSpanEvent;
|
|
6
|
+
exports.isAttemptFailedSpanEvent = isAttemptFailedSpanEvent;
|
|
6
7
|
const zod_1 = require("zod");
|
|
7
8
|
exports.ExceptionEventProperties = zod_1.z.object({
|
|
8
9
|
type: zod_1.z.string().optional(),
|
|
@@ -23,12 +24,26 @@ exports.CancellationSpanEvent = zod_1.z.object({
|
|
|
23
24
|
reason: zod_1.z.string(),
|
|
24
25
|
}),
|
|
25
26
|
});
|
|
27
|
+
exports.AttemptFailedSpanEvent = zod_1.z.object({
|
|
28
|
+
name: zod_1.z.literal("attempt_failed"),
|
|
29
|
+
time: zod_1.z.coerce.date(),
|
|
30
|
+
properties: zod_1.z.object({
|
|
31
|
+
exception: exports.ExceptionEventProperties,
|
|
32
|
+
attemptNumber: zod_1.z.number(),
|
|
33
|
+
runId: zod_1.z.string(),
|
|
34
|
+
}),
|
|
35
|
+
});
|
|
26
36
|
exports.OtherSpanEvent = zod_1.z.object({
|
|
27
37
|
name: zod_1.z.string(),
|
|
28
38
|
time: zod_1.z.coerce.date(),
|
|
29
39
|
properties: zod_1.z.record(zod_1.z.unknown()),
|
|
30
40
|
});
|
|
31
|
-
exports.SpanEvent = zod_1.z.union([
|
|
41
|
+
exports.SpanEvent = zod_1.z.union([
|
|
42
|
+
exports.ExceptionSpanEvent,
|
|
43
|
+
exports.CancellationSpanEvent,
|
|
44
|
+
exports.AttemptFailedSpanEvent,
|
|
45
|
+
exports.OtherSpanEvent,
|
|
46
|
+
]);
|
|
32
47
|
exports.SpanEvents = zod_1.z.array(exports.SpanEvent);
|
|
33
48
|
function isExceptionSpanEvent(event) {
|
|
34
49
|
return event.name === "exception";
|
|
@@ -36,6 +51,9 @@ function isExceptionSpanEvent(event) {
|
|
|
36
51
|
function isCancellationSpanEvent(event) {
|
|
37
52
|
return event.name === "cancellation";
|
|
38
53
|
}
|
|
54
|
+
function isAttemptFailedSpanEvent(event) {
|
|
55
|
+
return event.name === "attempt_failed";
|
|
56
|
+
}
|
|
39
57
|
exports.SpanMessagingEvent = zod_1.z.object({
|
|
40
58
|
system: zod_1.z.string().optional(),
|
|
41
59
|
client_id: zod_1.z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openTelemetry.js","sourceRoot":"","sources":["../../../../src/v3/schemas/openTelemetry.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"openTelemetry.js","sourceRoot":"","sources":["../../../../src/v3/schemas/openTelemetry.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.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
180
|
+
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
180
181
|
}, "strip", z.ZodTypeAny, {
|
|
181
182
|
status: TaskRunStatus;
|
|
182
183
|
id: string;
|
|
183
184
|
friendlyId: string;
|
|
184
185
|
attemptNumber?: number | null | undefined;
|
|
186
|
+
taskEventStore?: string | undefined;
|
|
185
187
|
}, {
|
|
186
188
|
status: TaskRunStatus;
|
|
187
189
|
id: string;
|
|
188
190
|
friendlyId: string;
|
|
189
191
|
attemptNumber?: number | null | undefined;
|
|
192
|
+
taskEventStore?: string | undefined;
|
|
190
193
|
}>;
|
|
191
194
|
}, "strip", z.ZodTypeAny, {
|
|
192
195
|
run: {
|
|
@@ -194,6 +197,7 @@ export declare const ExecutionResult: z.ZodObject<{
|
|
|
194
197
|
id: string;
|
|
195
198
|
friendlyId: string;
|
|
196
199
|
attemptNumber?: number | null | undefined;
|
|
200
|
+
taskEventStore?: string | undefined;
|
|
197
201
|
};
|
|
198
202
|
snapshot: {
|
|
199
203
|
id: string;
|
|
@@ -208,6 +212,7 @@ export declare const ExecutionResult: z.ZodObject<{
|
|
|
208
212
|
id: string;
|
|
209
213
|
friendlyId: string;
|
|
210
214
|
attemptNumber?: number | null | undefined;
|
|
215
|
+
taskEventStore?: string | undefined;
|
|
211
216
|
};
|
|
212
217
|
snapshot: {
|
|
213
218
|
id: string;
|
|
@@ -244,16 +249,19 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
244
249
|
friendlyId: z.ZodString;
|
|
245
250
|
status: z.ZodEnum<[TaskRunStatus]>;
|
|
246
251
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
252
|
+
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
247
253
|
}, "strip", z.ZodTypeAny, {
|
|
248
254
|
status: TaskRunStatus;
|
|
249
255
|
id: string;
|
|
250
256
|
friendlyId: string;
|
|
251
257
|
attemptNumber?: number | null | undefined;
|
|
258
|
+
taskEventStore?: string | undefined;
|
|
252
259
|
}, {
|
|
253
260
|
status: TaskRunStatus;
|
|
254
261
|
id: string;
|
|
255
262
|
friendlyId: string;
|
|
256
263
|
attemptNumber?: number | null | undefined;
|
|
264
|
+
taskEventStore?: string | undefined;
|
|
257
265
|
}>;
|
|
258
266
|
}, "strip", z.ZodTypeAny, {
|
|
259
267
|
run: {
|
|
@@ -261,6 +269,7 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
261
269
|
id: string;
|
|
262
270
|
friendlyId: string;
|
|
263
271
|
attemptNumber?: number | null | undefined;
|
|
272
|
+
taskEventStore?: string | undefined;
|
|
264
273
|
};
|
|
265
274
|
snapshot: {
|
|
266
275
|
id: string;
|
|
@@ -275,6 +284,7 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
275
284
|
id: string;
|
|
276
285
|
friendlyId: string;
|
|
277
286
|
attemptNumber?: number | null | undefined;
|
|
287
|
+
taskEventStore?: string | undefined;
|
|
278
288
|
};
|
|
279
289
|
snapshot: {
|
|
280
290
|
id: string;
|
|
@@ -1068,16 +1078,19 @@ export declare const CompleteRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
1068
1078
|
friendlyId: z.ZodString;
|
|
1069
1079
|
status: z.ZodEnum<[TaskRunStatus]>;
|
|
1070
1080
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1081
|
+
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
1071
1082
|
}, "strip", z.ZodTypeAny, {
|
|
1072
1083
|
status: TaskRunStatus;
|
|
1073
1084
|
id: string;
|
|
1074
1085
|
friendlyId: string;
|
|
1075
1086
|
attemptNumber?: number | null | undefined;
|
|
1087
|
+
taskEventStore?: string | undefined;
|
|
1076
1088
|
}, {
|
|
1077
1089
|
status: TaskRunStatus;
|
|
1078
1090
|
id: string;
|
|
1079
1091
|
friendlyId: string;
|
|
1080
1092
|
attemptNumber?: number | null | undefined;
|
|
1093
|
+
taskEventStore?: string | undefined;
|
|
1081
1094
|
}>;
|
|
1082
1095
|
}, "strip", z.ZodTypeAny, {
|
|
1083
1096
|
run: {
|
|
@@ -1085,6 +1098,7 @@ export declare const CompleteRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
1085
1098
|
id: string;
|
|
1086
1099
|
friendlyId: string;
|
|
1087
1100
|
attemptNumber?: number | null | undefined;
|
|
1101
|
+
taskEventStore?: string | undefined;
|
|
1088
1102
|
};
|
|
1089
1103
|
snapshot: {
|
|
1090
1104
|
id: string;
|
|
@@ -1099,6 +1113,7 @@ export declare const CompleteRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
1099
1113
|
id: string;
|
|
1100
1114
|
friendlyId: string;
|
|
1101
1115
|
attemptNumber?: number | null | undefined;
|
|
1116
|
+
taskEventStore?: string | undefined;
|
|
1102
1117
|
};
|
|
1103
1118
|
snapshot: {
|
|
1104
1119
|
id: string;
|
|
@@ -1184,16 +1199,19 @@ export declare const RunExecutionData: z.ZodObject<{
|
|
|
1184
1199
|
friendlyId: z.ZodString;
|
|
1185
1200
|
status: z.ZodEnum<[TaskRunStatus]>;
|
|
1186
1201
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1202
|
+
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
1187
1203
|
}, "strip", z.ZodTypeAny, {
|
|
1188
1204
|
status: TaskRunStatus;
|
|
1189
1205
|
id: string;
|
|
1190
1206
|
friendlyId: string;
|
|
1191
1207
|
attemptNumber?: number | null | undefined;
|
|
1208
|
+
taskEventStore?: string | undefined;
|
|
1192
1209
|
}, {
|
|
1193
1210
|
status: TaskRunStatus;
|
|
1194
1211
|
id: string;
|
|
1195
1212
|
friendlyId: string;
|
|
1196
1213
|
attemptNumber?: number | null | undefined;
|
|
1214
|
+
taskEventStore?: string | undefined;
|
|
1197
1215
|
}>;
|
|
1198
1216
|
batch: z.ZodOptional<z.ZodObject<{
|
|
1199
1217
|
id: z.ZodString;
|
|
@@ -1335,6 +1353,7 @@ export declare const RunExecutionData: z.ZodObject<{
|
|
|
1335
1353
|
id: string;
|
|
1336
1354
|
friendlyId: string;
|
|
1337
1355
|
attemptNumber?: number | null | undefined;
|
|
1356
|
+
taskEventStore?: string | undefined;
|
|
1338
1357
|
};
|
|
1339
1358
|
snapshot: {
|
|
1340
1359
|
id: string;
|
|
@@ -1386,6 +1405,7 @@ export declare const RunExecutionData: z.ZodObject<{
|
|
|
1386
1405
|
id: string;
|
|
1387
1406
|
friendlyId: string;
|
|
1388
1407
|
attemptNumber?: number | null | undefined;
|
|
1408
|
+
taskEventStore?: string | undefined;
|
|
1389
1409
|
};
|
|
1390
1410
|
snapshot: {
|
|
1391
1411
|
id: string;
|
|
@@ -1482,16 +1502,19 @@ export declare const CreateCheckpointResult: z.ZodDiscriminatedUnion<"ok", [z.Zo
|
|
|
1482
1502
|
friendlyId: z.ZodString;
|
|
1483
1503
|
status: z.ZodEnum<[TaskRunStatus]>;
|
|
1484
1504
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1505
|
+
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
1485
1506
|
}, "strip", z.ZodTypeAny, {
|
|
1486
1507
|
status: TaskRunStatus;
|
|
1487
1508
|
id: string;
|
|
1488
1509
|
friendlyId: string;
|
|
1489
1510
|
attemptNumber?: number | null | undefined;
|
|
1511
|
+
taskEventStore?: string | undefined;
|
|
1490
1512
|
}, {
|
|
1491
1513
|
status: TaskRunStatus;
|
|
1492
1514
|
id: string;
|
|
1493
1515
|
friendlyId: string;
|
|
1494
1516
|
attemptNumber?: number | null | undefined;
|
|
1517
|
+
taskEventStore?: string | undefined;
|
|
1495
1518
|
}>;
|
|
1496
1519
|
}, "strip", z.ZodTypeAny, {
|
|
1497
1520
|
ok: true;
|
|
@@ -1500,6 +1523,7 @@ export declare const CreateCheckpointResult: z.ZodDiscriminatedUnion<"ok", [z.Zo
|
|
|
1500
1523
|
id: string;
|
|
1501
1524
|
friendlyId: string;
|
|
1502
1525
|
attemptNumber?: number | null | undefined;
|
|
1526
|
+
taskEventStore?: string | undefined;
|
|
1503
1527
|
};
|
|
1504
1528
|
snapshot: {
|
|
1505
1529
|
id: string;
|
|
@@ -1523,6 +1547,7 @@ export declare const CreateCheckpointResult: z.ZodDiscriminatedUnion<"ok", [z.Zo
|
|
|
1523
1547
|
id: string;
|
|
1524
1548
|
friendlyId: string;
|
|
1525
1549
|
attemptNumber?: number | null | undefined;
|
|
1550
|
+
taskEventStore?: string | undefined;
|
|
1526
1551
|
};
|
|
1527
1552
|
snapshot: {
|
|
1528
1553
|
id: string;
|
|
@@ -91,6 +91,7 @@ const BaseRunMetadata = zod_1.z.object({
|
|
|
91
91
|
friendlyId: zod_1.z.string(),
|
|
92
92
|
status: zod_1.z.enum(Object.values(exports.TaskRunStatus)),
|
|
93
93
|
attemptNumber: zod_1.z.number().nullish(),
|
|
94
|
+
taskEventStore: zod_1.z.string().optional(),
|
|
94
95
|
});
|
|
95
96
|
exports.ExecutionResult = zod_1.z.object({
|
|
96
97
|
snapshot: ExecutionSnapshot,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runEngine.js","sourceRoot":"","sources":["../../../../src/v3/schemas/runEngine.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,2CAA4F;AAC5F,6CAA+C;AAGlC,QAAA,sBAAsB,GAAG;IACpC,WAAW,EAAE,aAAa;IAC1B,MAAM,EAAE,QAAQ;IAChB,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,SAAS,EAAE,WAAW;IACtB,yBAAyB,EAAE,2BAA2B;IACtD,SAAS,EAAE,WAAW;IACtB,cAAc,EAAE,gBAAgB;IAChC,QAAQ,EAAE,UAAU;CAC2B,CAAC;AAKrC,QAAA,aAAa,GAAG;IAC3B,OAAO,EAAE,SA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CAAC,QAAQ,EAAE;CAChD,CAAC,CAAC"}
|
|
@@ -26,6 +26,7 @@ export declare const SemanticInternalAttributes: {
|
|
|
26
26
|
SKIP_SPAN_PARTIAL: string;
|
|
27
27
|
SPAN_PARTIAL: string;
|
|
28
28
|
SPAN_ID: string;
|
|
29
|
+
SPAN: string;
|
|
29
30
|
ENTITY_TYPE: string;
|
|
30
31
|
ENTITY_ID: string;
|
|
31
32
|
OUTPUT: string;
|
|
@@ -53,6 +54,7 @@ export declare const SemanticInternalAttributes: {
|
|
|
53
54
|
IDEMPOTENCY_KEY: string;
|
|
54
55
|
USAGE_DURATION_MS: string;
|
|
55
56
|
USAGE_COST_IN_CENTS: string;
|
|
57
|
+
USAGE: string;
|
|
56
58
|
RATE_LIMIT_LIMIT: string;
|
|
57
59
|
RATE_LIMIT_REMAINING: string;
|
|
58
60
|
RATE_LIMIT_RESET: string;
|
|
@@ -61,4 +63,5 @@ export declare const SemanticInternalAttributes: {
|
|
|
61
63
|
EXECUTION_ENVIRONMENT: string;
|
|
62
64
|
WARM_START: string;
|
|
63
65
|
ATTEMPT_EXECUTION_COUNT: string;
|
|
66
|
+
TASK_EVENT_STORE: string;
|
|
64
67
|
};
|
|
@@ -29,6 +29,7 @@ exports.SemanticInternalAttributes = {
|
|
|
29
29
|
SKIP_SPAN_PARTIAL: "$span.skip_partial",
|
|
30
30
|
SPAN_PARTIAL: "$span.partial",
|
|
31
31
|
SPAN_ID: "$span.span_id",
|
|
32
|
+
SPAN: "$span",
|
|
32
33
|
ENTITY_TYPE: "$entity.type",
|
|
33
34
|
ENTITY_ID: "$entity.id",
|
|
34
35
|
OUTPUT: "$output",
|
|
@@ -56,6 +57,7 @@ exports.SemanticInternalAttributes = {
|
|
|
56
57
|
IDEMPOTENCY_KEY: "ctx.run.idempotencyKey",
|
|
57
58
|
USAGE_DURATION_MS: "$usage.durationMs",
|
|
58
59
|
USAGE_COST_IN_CENTS: "$usage.costInCents",
|
|
60
|
+
USAGE: "$usage",
|
|
59
61
|
RATE_LIMIT_LIMIT: "response.rateLimit.limit",
|
|
60
62
|
RATE_LIMIT_REMAINING: "response.rateLimit.remaining",
|
|
61
63
|
RATE_LIMIT_RESET: "response.rateLimit.reset",
|
|
@@ -64,5 +66,6 @@ exports.SemanticInternalAttributes = {
|
|
|
64
66
|
EXECUTION_ENVIRONMENT: "exec_env",
|
|
65
67
|
WARM_START: "warm_start",
|
|
66
68
|
ATTEMPT_EXECUTION_COUNT: "$trigger.executionCount",
|
|
69
|
+
TASK_EVENT_STORE: "$trigger.taskEventStore",
|
|
67
70
|
};
|
|
68
71
|
//# sourceMappingURL=semanticInternalAttributes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"semanticInternalAttributes.js","sourceRoot":"","sources":["../../../src/v3/semanticInternalAttributes.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG;IACxC,cAAc,EAAE,oBAAoB;IACpC,gBAAgB,EAAE,sBAAsB;IACxC,eAAe,EAAE,qBAAqB;IACtC,iBAAiB,EAAE,uBAAuB;IAC1C,iBAAiB,EAAE,uBAAuB;IAC1C,UAAU,EAAE,gBAAgB;IAC5B,WAAW,EAAE,iBAAiB;IAC9B,YAAY,EAAE,mBAAmB;IACjC,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,gBAAgB;IAC5B,cAAc,EAAE,oBAAoB;IACpC,MAAM,EAAE,YAAY;IACpB,WAAW,EAAE,gBAAgB;IAC7B,eAAe,EAAE,kBAAkB;IACnC,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,aAAa;IACxB,SAAS,EAAE,mBAAmB;IAC9B,gBAAgB,EAAE,qBAAqB;IACvC,UAAU,EAAE,gBAAgB;IAC5B,QAAQ,EAAE,cAAc;IACxB,mBAAmB,EAAE,kBAAkB;IACvC,kBAAkB,EAAE,iBAAiB;IACrC,qBAAqB,EAAE,oBAAoB;IAC3C,2BAA2B,EAAE,wBAAwB;IACrD,iBAAiB,EAAE,oBAAoB;IACvC,YAAY,EAAE,eAAe;IAC7B,OAAO,EAAE,eAAe;IACxB,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,YAAY;IACvB,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE,mBAAmB;IAChC,KAAK,EAAE,QAAQ;IACf,UAAU,EAAE,aAAa;IACzB,aAAa,EAAE,gBAAgB;IAC/B,eAAe,EAAE,kBAAkB;IACnC,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,UAAU;IACnB,YAAY,EAAE,oBAAoB;IAClC,IAAI,EAAE,OAAO;IACb,YAAY,EAAE,eAAe;IAC7B,SAAS,EAAE,WAAW;IACtB,cAAc,EAAE,gBAAgB;IAChC,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,aAAa;IACzB,eAAe,EAAE,wBAAwB;IACzC,iBAAiB,EAAE,mBAAmB;IACtC,mBAAmB,EAAE,oBAAoB;IACzC,gBAAgB,EAAE,0BAA0B;IAC5C,oBAAoB,EAAE,8BAA8B;IACpD,gBAAgB,EAAE,0BAA0B;IAC5C,YAAY,EAAE,eAAe;IAC7B,aAAa,EAAE,iBAAiB;IAChC,qBAAqB,EAAE,UAAU;IACjC,UAAU,EAAE,YAAY;IACxB,uBAAuB,EAAE,yBAAyB;
|
|
1
|
+
{"version":3,"file":"semanticInternalAttributes.js","sourceRoot":"","sources":["../../../src/v3/semanticInternalAttributes.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG;IACxC,cAAc,EAAE,oBAAoB;IACpC,gBAAgB,EAAE,sBAAsB;IACxC,eAAe,EAAE,qBAAqB;IACtC,iBAAiB,EAAE,uBAAuB;IAC1C,iBAAiB,EAAE,uBAAuB;IAC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wBAAwB;IACzC,iBAAiB,EAAE,mBAAmB;IACtC,mBAAmB,EAAE,oBAAoB;IACzC,KAAK,EAAE,QAAQ;IACf,gBAAgB,EAAE,0BAA0B;IAC5C,oBAAoB,EAAE,8BAA8B;IACpD,gBAAgB,EAAE,0BAA0B;IAC5C,YAAY,EAAE,eAAe;IAC7B,aAAa,EAAE,iBAAiB;IAChC,qBAAqB,EAAE,UAAU;IACjC,UAAU,EAAE,YAAY;IACxB,uBAAuB,EAAE,yBAAyB;IAClD,gBAAgB,EAAE,yBAAyB;CAC5C,CAAC"}
|
|
@@ -23,4 +23,5 @@ __exportStar(require("./k8s.js"), exports);
|
|
|
23
23
|
__exportStar(require("./jumpHash.js"), exports);
|
|
24
24
|
__exportStar(require("../apiClient/version.js"), exports);
|
|
25
25
|
__exportStar(require("./placementTags.js"), exports);
|
|
26
|
+
__exportStar(require("./resourceMonitor.js"), exports);
|
|
26
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v3/serverOnly/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,sDAAoC;AACpC,kDAAgC;AAChC,iDAA+B;AAC/B,uDAAqC;AACrC,2CAAyB;AACzB,gDAA8B;AAC9B,0DAAwC;AACxC,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v3/serverOnly/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,sDAAoC;AACpC,kDAAgC;AAChC,iDAA+B;AAC/B,uDAAqC;AACrC,2CAAyB;AACzB,gDAA8B;AAC9B,0DAAwC;AACxC,qDAAmC;AACnC,uDAAqC"}
|