@onlyflows/servicenow-mcp 2.2.0-dev.1 → 2.2.0-dev.2
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/CHANGELOG.md +32 -0
- package/README.md +14 -8
- package/dist/atf-form.d.ts +27 -0
- package/dist/atf-form.d.ts.map +1 -0
- package/dist/atf-form.js +110 -0
- package/dist/atf-form.js.map +1 -0
- package/dist/atf-policy.d.ts +1 -1
- package/dist/atf-policy.d.ts.map +1 -1
- package/dist/atf-policy.js +2 -0
- package/dist/atf-policy.js.map +1 -1
- package/dist/atf-result-cache.d.ts +10 -6
- package/dist/atf-result-cache.d.ts.map +1 -1
- package/dist/atf-result-cache.js +14 -1
- package/dist/atf-result-cache.js.map +1 -1
- package/dist/client.d.ts +6 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +35 -7
- package/dist/client.js.map +1 -1
- package/dist/field-policy.d.ts.map +1 -1
- package/dist/field-policy.js +6 -1
- package/dist/field-policy.js.map +1 -1
- package/dist/metadata-cache.d.ts.map +1 -1
- package/dist/metadata-cache.js +1 -0
- package/dist/metadata-cache.js.map +1 -1
- package/dist/setup.js +3 -3
- package/dist/setup.js.map +1 -1
- package/dist/structured-query.d.ts +2 -2
- package/dist/tool-table-access.js +2 -4
- package/dist/tool-table-access.js.map +1 -1
- package/dist/tools/aggregate.d.ts +1 -1
- package/dist/tools/atf-author-module.d.ts +67 -4
- package/dist/tools/atf-author-module.d.ts.map +1 -1
- package/dist/tools/atf-author-module.js +25 -10
- package/dist/tools/atf-author-module.js.map +1 -1
- package/dist/tools/atf-contracts.d.ts +734 -0
- package/dist/tools/atf-contracts.d.ts.map +1 -0
- package/dist/tools/atf-contracts.js +30 -0
- package/dist/tools/atf-contracts.js.map +1 -0
- package/dist/tools/atf-readiness-module.d.ts +2 -0
- package/dist/tools/atf-readiness-module.d.ts.map +1 -0
- package/dist/tools/atf-readiness-module.js +153 -0
- package/dist/tools/atf-readiness-module.js.map +1 -0
- package/dist/tools/atf-renderers.d.ts +2 -0
- package/dist/tools/atf-renderers.d.ts.map +1 -0
- package/dist/tools/atf-renderers.js +39 -0
- package/dist/tools/atf-renderers.js.map +1 -0
- package/dist/tools/atf-results-module.d.ts +2 -0
- package/dist/tools/atf-results-module.d.ts.map +1 -0
- package/dist/tools/atf-results-module.js +58 -0
- package/dist/tools/atf-results-module.js.map +1 -0
- package/dist/tools/atf-run-module.d.ts +3 -0
- package/dist/tools/atf-run-module.d.ts.map +1 -0
- package/dist/tools/atf-run-module.js +96 -0
- package/dist/tools/atf-run-module.js.map +1 -0
- package/dist/tools/atf-shared.d.ts +31 -0
- package/dist/tools/atf-shared.d.ts.map +1 -0
- package/dist/tools/atf-shared.js +182 -0
- package/dist/tools/atf-shared.js.map +1 -0
- package/dist/tools/atf-step-catalog.d.ts +96 -0
- package/dist/tools/atf-step-catalog.d.ts.map +1 -0
- package/dist/tools/atf-step-catalog.js +237 -0
- package/dist/tools/atf-step-catalog.js.map +1 -0
- package/dist/tools/atf-step-definitions.json +533 -0
- package/dist/tools/atf.d.ts +4 -4
- package/dist/tools/atf.d.ts.map +1 -1
- package/dist/tools/atf.js +4 -234
- package/dist/tools/atf.js.map +1 -1
- package/dist/tools/attach.d.ts +1 -1
- package/dist/tools/batch.d.ts +2 -2
- package/dist/tools/catalog.d.ts +2 -3
- package/dist/tools/catalog.d.ts.map +1 -1
- package/dist/tools/catalog.js +7 -2
- package/dist/tools/catalog.js.map +1 -1
- package/dist/tools/discover.d.ts +1 -1
- package/dist/tools/index.d.ts +3 -3
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +3 -10
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/relationships.d.ts +2 -2
- package/dist/tools/result-envelope.d.ts +763 -33
- package/dist/tools/result-envelope.d.ts.map +1 -1
- package/dist/tools/result-envelope.js +20 -6
- package/dist/tools/result-envelope.js.map +1 -1
- package/dist/tools/syslog.d.ts +2 -2
- package/dist/tools/tool-module.d.ts +2 -0
- package/dist/tools/tool-module.d.ts.map +1 -1
- package/dist/tools/tool-module.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/ATF-WORKFLOW.md +115 -0
- package/docs/CLIENT-SETUP.md +2 -2
- package/docs/CONTAINER-DEPLOYMENT.md +2 -2
- package/docs/CROSS-CLIENT-RELEASE-MATRIX.md +1 -1
- package/docs/PROFILE-CREDENTIALS.md +14 -12
- package/docs/RELEASE-VALIDATION.md +2 -2
- package/docs/TESTING-OAUTH.md +1 -1
- package/docs/V2-MIGRATION.md +4 -4
- package/package.json +4 -2
|
@@ -24,36 +24,36 @@ export declare const resultPaginationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
24
24
|
limit: number;
|
|
25
25
|
order_by: string[];
|
|
26
26
|
offset: number;
|
|
27
|
-
has_more: boolean;
|
|
28
27
|
mode: "offset";
|
|
29
28
|
returned: number;
|
|
29
|
+
has_more: boolean;
|
|
30
30
|
next_offset?: number | undefined;
|
|
31
31
|
recovery?: "adjust_request_and_retry_same_offset" | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
limit: number;
|
|
34
34
|
order_by: string[];
|
|
35
35
|
offset: number;
|
|
36
|
-
has_more: boolean;
|
|
37
36
|
mode: "offset";
|
|
38
37
|
returned: number;
|
|
38
|
+
has_more: boolean;
|
|
39
39
|
next_offset?: number | undefined;
|
|
40
40
|
recovery?: "adjust_request_and_retry_same_offset" | undefined;
|
|
41
41
|
}>, {
|
|
42
42
|
limit: number;
|
|
43
43
|
order_by: string[];
|
|
44
44
|
offset: number;
|
|
45
|
-
has_more: boolean;
|
|
46
45
|
mode: "offset";
|
|
47
46
|
returned: number;
|
|
47
|
+
has_more: boolean;
|
|
48
48
|
next_offset?: number | undefined;
|
|
49
49
|
recovery?: "adjust_request_and_retry_same_offset" | undefined;
|
|
50
50
|
}, {
|
|
51
51
|
limit: number;
|
|
52
52
|
order_by: string[];
|
|
53
53
|
offset: number;
|
|
54
|
-
has_more: boolean;
|
|
55
54
|
mode: "offset";
|
|
56
55
|
returned: number;
|
|
56
|
+
has_more: boolean;
|
|
57
57
|
next_offset?: number | undefined;
|
|
58
58
|
recovery?: "adjust_request_and_retry_same_offset" | undefined;
|
|
59
59
|
}>]>;
|
|
@@ -89,36 +89,36 @@ export declare const resultMetadataSchema: z.ZodObject<{
|
|
|
89
89
|
limit: number;
|
|
90
90
|
order_by: string[];
|
|
91
91
|
offset: number;
|
|
92
|
-
has_more: boolean;
|
|
93
92
|
mode: "offset";
|
|
94
93
|
returned: number;
|
|
94
|
+
has_more: boolean;
|
|
95
95
|
next_offset?: number | undefined;
|
|
96
96
|
recovery?: "adjust_request_and_retry_same_offset" | undefined;
|
|
97
97
|
}, {
|
|
98
98
|
limit: number;
|
|
99
99
|
order_by: string[];
|
|
100
100
|
offset: number;
|
|
101
|
-
has_more: boolean;
|
|
102
101
|
mode: "offset";
|
|
103
102
|
returned: number;
|
|
103
|
+
has_more: boolean;
|
|
104
104
|
next_offset?: number | undefined;
|
|
105
105
|
recovery?: "adjust_request_and_retry_same_offset" | undefined;
|
|
106
106
|
}>, {
|
|
107
107
|
limit: number;
|
|
108
108
|
order_by: string[];
|
|
109
109
|
offset: number;
|
|
110
|
-
has_more: boolean;
|
|
111
110
|
mode: "offset";
|
|
112
111
|
returned: number;
|
|
112
|
+
has_more: boolean;
|
|
113
113
|
next_offset?: number | undefined;
|
|
114
114
|
recovery?: "adjust_request_and_retry_same_offset" | undefined;
|
|
115
115
|
}, {
|
|
116
116
|
limit: number;
|
|
117
117
|
order_by: string[];
|
|
118
118
|
offset: number;
|
|
119
|
-
has_more: boolean;
|
|
120
119
|
mode: "offset";
|
|
121
120
|
returned: number;
|
|
121
|
+
has_more: boolean;
|
|
122
122
|
next_offset?: number | undefined;
|
|
123
123
|
recovery?: "adjust_request_and_retry_same_offset" | undefined;
|
|
124
124
|
}>]>;
|
|
@@ -146,9 +146,9 @@ export declare const resultMetadataSchema: z.ZodObject<{
|
|
|
146
146
|
limit: number;
|
|
147
147
|
order_by: string[];
|
|
148
148
|
offset: number;
|
|
149
|
-
has_more: boolean;
|
|
150
149
|
mode: "offset";
|
|
151
150
|
returned: number;
|
|
151
|
+
has_more: boolean;
|
|
152
152
|
next_offset?: number | undefined;
|
|
153
153
|
recovery?: "adjust_request_and_retry_same_offset" | undefined;
|
|
154
154
|
} | {
|
|
@@ -170,9 +170,9 @@ export declare const resultMetadataSchema: z.ZodObject<{
|
|
|
170
170
|
limit: number;
|
|
171
171
|
order_by: string[];
|
|
172
172
|
offset: number;
|
|
173
|
-
has_more: boolean;
|
|
174
173
|
mode: "offset";
|
|
175
174
|
returned: number;
|
|
175
|
+
has_more: boolean;
|
|
176
176
|
next_offset?: number | undefined;
|
|
177
177
|
recovery?: "adjust_request_and_retry_same_offset" | undefined;
|
|
178
178
|
} | {
|
|
@@ -212,8 +212,8 @@ declare const productionDataSchemas: Readonly<{
|
|
|
212
212
|
results: z.ZodArray<z.ZodUnknown, "many">;
|
|
213
213
|
}, "strict", z.ZodTypeAny, {
|
|
214
214
|
results: unknown[];
|
|
215
|
-
record_count: number;
|
|
216
215
|
has_more: boolean;
|
|
216
|
+
record_count: number;
|
|
217
217
|
next_offset?: number | undefined;
|
|
218
218
|
truncated?: boolean | undefined;
|
|
219
219
|
dropped_records?: number | undefined;
|
|
@@ -221,8 +221,8 @@ declare const productionDataSchemas: Readonly<{
|
|
|
221
221
|
total?: number | undefined;
|
|
222
222
|
}, {
|
|
223
223
|
results: unknown[];
|
|
224
|
-
record_count: number;
|
|
225
224
|
has_more: boolean;
|
|
225
|
+
record_count: number;
|
|
226
226
|
next_offset?: number | undefined;
|
|
227
227
|
truncated?: boolean | undefined;
|
|
228
228
|
dropped_records?: number | undefined;
|
|
@@ -313,16 +313,16 @@ declare const productionDataSchemas: Readonly<{
|
|
|
313
313
|
processed: z.ZodOptional<z.ZodNumber>;
|
|
314
314
|
failed: z.ZodOptional<z.ZodNumber>;
|
|
315
315
|
}, "strict", z.ZodTypeAny, {
|
|
316
|
-
table: string;
|
|
317
316
|
action: "delete" | "update";
|
|
317
|
+
table: string;
|
|
318
318
|
matched: number;
|
|
319
319
|
message?: string | undefined;
|
|
320
320
|
failed?: number | undefined;
|
|
321
321
|
dry_run?: boolean | undefined;
|
|
322
322
|
processed?: number | undefined;
|
|
323
323
|
}, {
|
|
324
|
-
table: string;
|
|
325
324
|
action: "delete" | "update";
|
|
325
|
+
table: string;
|
|
326
326
|
matched: number;
|
|
327
327
|
message?: string | undefined;
|
|
328
328
|
failed?: number | undefined;
|
|
@@ -332,9 +332,9 @@ declare const productionDataSchemas: Readonly<{
|
|
|
332
332
|
sn_aggregate: z.ZodObject<{
|
|
333
333
|
result: z.ZodUnion<[z.ZodNull, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
|
|
334
334
|
}, "strict", z.ZodTypeAny, {
|
|
335
|
-
result: string | number | boolean | Record<string, unknown> |
|
|
335
|
+
result: string | number | boolean | unknown[] | Record<string, unknown> | null;
|
|
336
336
|
}, {
|
|
337
|
-
result: string | number | boolean | Record<string, unknown> |
|
|
337
|
+
result: string | number | boolean | unknown[] | Record<string, unknown> | null;
|
|
338
338
|
}>;
|
|
339
339
|
sn_schema: z.ZodObject<{
|
|
340
340
|
fields: z.ZodArray<z.ZodUnknown, "many">;
|
|
@@ -354,11 +354,11 @@ declare const productionDataSchemas: Readonly<{
|
|
|
354
354
|
action: z.ZodEnum<["list", "download", "upload"]>;
|
|
355
355
|
result: z.ZodUnion<[z.ZodNull, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
|
|
356
356
|
}, "strict", z.ZodTypeAny, {
|
|
357
|
-
result: string | number | boolean | Record<string, unknown> | unknown[] | null;
|
|
358
357
|
action: "list" | "download" | "upload";
|
|
358
|
+
result: string | number | boolean | unknown[] | Record<string, unknown> | null;
|
|
359
359
|
}, {
|
|
360
|
-
result: string | number | boolean | Record<string, unknown> | unknown[] | null;
|
|
361
360
|
action: "list" | "download" | "upload";
|
|
361
|
+
result: string | number | boolean | unknown[] | Record<string, unknown> | null;
|
|
362
362
|
}>;
|
|
363
363
|
sn_relationships: z.ZodObject<{
|
|
364
364
|
root: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -387,8 +387,8 @@ declare const productionDataSchemas: Readonly<{
|
|
|
387
387
|
results: z.ZodArray<z.ZodUnknown, "many">;
|
|
388
388
|
}, "strict", z.ZodTypeAny, {
|
|
389
389
|
results: unknown[];
|
|
390
|
-
record_count: number;
|
|
391
390
|
has_more: boolean;
|
|
391
|
+
record_count: number;
|
|
392
392
|
next_offset?: number | undefined;
|
|
393
393
|
truncated?: boolean | undefined;
|
|
394
394
|
dropped_records?: number | undefined;
|
|
@@ -396,8 +396,8 @@ declare const productionDataSchemas: Readonly<{
|
|
|
396
396
|
total?: number | undefined;
|
|
397
397
|
}, {
|
|
398
398
|
results: unknown[];
|
|
399
|
-
record_count: number;
|
|
400
399
|
has_more: boolean;
|
|
400
|
+
record_count: number;
|
|
401
401
|
next_offset?: number | undefined;
|
|
402
402
|
truncated?: boolean | undefined;
|
|
403
403
|
dropped_records?: number | undefined;
|
|
@@ -428,48 +428,757 @@ declare const productionDataSchemas: Readonly<{
|
|
|
428
428
|
action: z.ZodEnum<["list", "suites", "run", "run-suite", "results"]>;
|
|
429
429
|
result: z.ZodUnion<[z.ZodNull, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>;
|
|
430
430
|
}, "strict", z.ZodTypeAny, {
|
|
431
|
-
result: string | number | boolean | Record<string, unknown> | unknown[] | null;
|
|
432
431
|
action: "suites" | "run" | "list" | "results" | "run-suite";
|
|
432
|
+
result: string | number | boolean | unknown[] | Record<string, unknown> | null;
|
|
433
433
|
}, {
|
|
434
|
-
result: string | number | boolean | Record<string, unknown> | unknown[] | null;
|
|
435
434
|
action: "suites" | "run" | "list" | "results" | "run-suite";
|
|
435
|
+
result: string | number | boolean | unknown[] | Record<string, unknown> | null;
|
|
436
|
+
}>;
|
|
437
|
+
sn_atf_run: z.ZodObject<{
|
|
438
|
+
outcome: z.ZodEnum<["running", "completed", "unavailable"]>;
|
|
439
|
+
progress_id: z.ZodOptional<z.ZodString>;
|
|
440
|
+
result_id: z.ZodOptional<z.ZodString>;
|
|
441
|
+
suite_id: z.ZodOptional<z.ZodString>;
|
|
442
|
+
suite_name: z.ZodOptional<z.ZodString>;
|
|
443
|
+
run: z.ZodOptional<z.ZodObject<{
|
|
444
|
+
runId: z.ZodString;
|
|
445
|
+
suiteId: z.ZodString;
|
|
446
|
+
startedAt: z.ZodString;
|
|
447
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
448
|
+
status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
|
|
449
|
+
durationMs: z.ZodNumber;
|
|
450
|
+
counts: z.ZodObject<{
|
|
451
|
+
passed: z.ZodNumber;
|
|
452
|
+
failed: z.ZodNumber;
|
|
453
|
+
errors: z.ZodNumber;
|
|
454
|
+
skipped: z.ZodNumber;
|
|
455
|
+
}, "strict", z.ZodTypeAny, {
|
|
456
|
+
skipped: number;
|
|
457
|
+
passed: number;
|
|
458
|
+
failed: number;
|
|
459
|
+
errors: number;
|
|
460
|
+
}, {
|
|
461
|
+
skipped: number;
|
|
462
|
+
passed: number;
|
|
463
|
+
failed: number;
|
|
464
|
+
errors: number;
|
|
465
|
+
}>;
|
|
466
|
+
tests: z.ZodArray<z.ZodObject<{
|
|
467
|
+
testId: z.ZodString;
|
|
468
|
+
status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
|
|
469
|
+
firstFailure: z.ZodOptional<z.ZodString>;
|
|
470
|
+
}, "strict", z.ZodTypeAny, {
|
|
471
|
+
testId: string;
|
|
472
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
473
|
+
firstFailure?: string | undefined;
|
|
474
|
+
}, {
|
|
475
|
+
testId: string;
|
|
476
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
477
|
+
firstFailure?: string | undefined;
|
|
478
|
+
}>, "many">;
|
|
479
|
+
}, "strict", z.ZodTypeAny, {
|
|
480
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
481
|
+
runId: string;
|
|
482
|
+
suiteId: string;
|
|
483
|
+
startedAt: string;
|
|
484
|
+
durationMs: number;
|
|
485
|
+
counts: {
|
|
486
|
+
skipped: number;
|
|
487
|
+
passed: number;
|
|
488
|
+
failed: number;
|
|
489
|
+
errors: number;
|
|
490
|
+
};
|
|
491
|
+
tests: {
|
|
492
|
+
testId: string;
|
|
493
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
494
|
+
firstFailure?: string | undefined;
|
|
495
|
+
}[];
|
|
496
|
+
finishedAt?: string | undefined;
|
|
497
|
+
}, {
|
|
498
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
499
|
+
runId: string;
|
|
500
|
+
suiteId: string;
|
|
501
|
+
startedAt: string;
|
|
502
|
+
durationMs: number;
|
|
503
|
+
counts: {
|
|
504
|
+
skipped: number;
|
|
505
|
+
passed: number;
|
|
506
|
+
failed: number;
|
|
507
|
+
errors: number;
|
|
508
|
+
};
|
|
509
|
+
tests: {
|
|
510
|
+
testId: string;
|
|
511
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
512
|
+
firstFailure?: string | undefined;
|
|
513
|
+
}[];
|
|
514
|
+
finishedAt?: string | undefined;
|
|
515
|
+
}>>;
|
|
516
|
+
failures: z.ZodArray<z.ZodObject<{
|
|
517
|
+
test_id: z.ZodString;
|
|
518
|
+
test_name: z.ZodString;
|
|
519
|
+
step: z.ZodString;
|
|
520
|
+
message: z.ZodString;
|
|
521
|
+
}, "strict", z.ZodTypeAny, {
|
|
522
|
+
message: string;
|
|
523
|
+
step: string;
|
|
524
|
+
test_id: string;
|
|
525
|
+
test_name: string;
|
|
526
|
+
}, {
|
|
527
|
+
message: string;
|
|
528
|
+
step: string;
|
|
529
|
+
test_id: string;
|
|
530
|
+
test_name: string;
|
|
531
|
+
}>, "many">;
|
|
532
|
+
comparison: z.ZodOptional<z.ZodObject<{
|
|
533
|
+
previous_run: z.ZodString;
|
|
534
|
+
current_run: z.ZodString;
|
|
535
|
+
new_failures: z.ZodArray<z.ZodString, "many">;
|
|
536
|
+
fixed: z.ZodArray<z.ZodString, "many">;
|
|
537
|
+
still_failing: z.ZodArray<z.ZodString, "many">;
|
|
538
|
+
flaky: z.ZodArray<z.ZodString, "many">;
|
|
539
|
+
duration_change_ms: z.ZodNumber;
|
|
540
|
+
duration_regression: z.ZodBoolean;
|
|
541
|
+
}, "strict", z.ZodTypeAny, {
|
|
542
|
+
fixed: string[];
|
|
543
|
+
previous_run: string;
|
|
544
|
+
current_run: string;
|
|
545
|
+
new_failures: string[];
|
|
546
|
+
still_failing: string[];
|
|
547
|
+
flaky: string[];
|
|
548
|
+
duration_change_ms: number;
|
|
549
|
+
duration_regression: boolean;
|
|
550
|
+
}, {
|
|
551
|
+
fixed: string[];
|
|
552
|
+
previous_run: string;
|
|
553
|
+
current_run: string;
|
|
554
|
+
new_failures: string[];
|
|
555
|
+
still_failing: string[];
|
|
556
|
+
flaky: string[];
|
|
557
|
+
duration_change_ms: number;
|
|
558
|
+
duration_regression: boolean;
|
|
559
|
+
}>>;
|
|
560
|
+
warnings: z.ZodArray<z.ZodString, "many">;
|
|
561
|
+
}, "strict", z.ZodTypeAny, {
|
|
562
|
+
outcome: "running" | "completed" | "unavailable";
|
|
563
|
+
failures: {
|
|
564
|
+
message: string;
|
|
565
|
+
step: string;
|
|
566
|
+
test_id: string;
|
|
567
|
+
test_name: string;
|
|
568
|
+
}[];
|
|
569
|
+
warnings: string[];
|
|
570
|
+
run?: {
|
|
571
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
572
|
+
runId: string;
|
|
573
|
+
suiteId: string;
|
|
574
|
+
startedAt: string;
|
|
575
|
+
durationMs: number;
|
|
576
|
+
counts: {
|
|
577
|
+
skipped: number;
|
|
578
|
+
passed: number;
|
|
579
|
+
failed: number;
|
|
580
|
+
errors: number;
|
|
581
|
+
};
|
|
582
|
+
tests: {
|
|
583
|
+
testId: string;
|
|
584
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
585
|
+
firstFailure?: string | undefined;
|
|
586
|
+
}[];
|
|
587
|
+
finishedAt?: string | undefined;
|
|
588
|
+
} | undefined;
|
|
589
|
+
suite_name?: string | undefined;
|
|
590
|
+
progress_id?: string | undefined;
|
|
591
|
+
result_id?: string | undefined;
|
|
592
|
+
suite_id?: string | undefined;
|
|
593
|
+
comparison?: {
|
|
594
|
+
fixed: string[];
|
|
595
|
+
previous_run: string;
|
|
596
|
+
current_run: string;
|
|
597
|
+
new_failures: string[];
|
|
598
|
+
still_failing: string[];
|
|
599
|
+
flaky: string[];
|
|
600
|
+
duration_change_ms: number;
|
|
601
|
+
duration_regression: boolean;
|
|
602
|
+
} | undefined;
|
|
603
|
+
}, {
|
|
604
|
+
outcome: "running" | "completed" | "unavailable";
|
|
605
|
+
failures: {
|
|
606
|
+
message: string;
|
|
607
|
+
step: string;
|
|
608
|
+
test_id: string;
|
|
609
|
+
test_name: string;
|
|
610
|
+
}[];
|
|
611
|
+
warnings: string[];
|
|
612
|
+
run?: {
|
|
613
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
614
|
+
runId: string;
|
|
615
|
+
suiteId: string;
|
|
616
|
+
startedAt: string;
|
|
617
|
+
durationMs: number;
|
|
618
|
+
counts: {
|
|
619
|
+
skipped: number;
|
|
620
|
+
passed: number;
|
|
621
|
+
failed: number;
|
|
622
|
+
errors: number;
|
|
623
|
+
};
|
|
624
|
+
tests: {
|
|
625
|
+
testId: string;
|
|
626
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
627
|
+
firstFailure?: string | undefined;
|
|
628
|
+
}[];
|
|
629
|
+
finishedAt?: string | undefined;
|
|
630
|
+
} | undefined;
|
|
631
|
+
suite_name?: string | undefined;
|
|
632
|
+
progress_id?: string | undefined;
|
|
633
|
+
result_id?: string | undefined;
|
|
634
|
+
suite_id?: string | undefined;
|
|
635
|
+
comparison?: {
|
|
636
|
+
fixed: string[];
|
|
637
|
+
previous_run: string;
|
|
638
|
+
current_run: string;
|
|
639
|
+
new_failures: string[];
|
|
640
|
+
still_failing: string[];
|
|
641
|
+
flaky: string[];
|
|
642
|
+
duration_change_ms: number;
|
|
643
|
+
duration_regression: boolean;
|
|
644
|
+
} | undefined;
|
|
645
|
+
}>;
|
|
646
|
+
sn_atf_results: z.ZodObject<{
|
|
647
|
+
action: z.ZodEnum<["get", "history", "compare"]>;
|
|
648
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
649
|
+
outcome: z.ZodEnum<["running", "completed", "unavailable"]>;
|
|
650
|
+
progress_id: z.ZodOptional<z.ZodString>;
|
|
651
|
+
result_id: z.ZodOptional<z.ZodString>;
|
|
652
|
+
suite_id: z.ZodOptional<z.ZodString>;
|
|
653
|
+
suite_name: z.ZodOptional<z.ZodString>;
|
|
654
|
+
run: z.ZodOptional<z.ZodObject<{
|
|
655
|
+
runId: z.ZodString;
|
|
656
|
+
suiteId: z.ZodString;
|
|
657
|
+
startedAt: z.ZodString;
|
|
658
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
659
|
+
status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
|
|
660
|
+
durationMs: z.ZodNumber;
|
|
661
|
+
counts: z.ZodObject<{
|
|
662
|
+
passed: z.ZodNumber;
|
|
663
|
+
failed: z.ZodNumber;
|
|
664
|
+
errors: z.ZodNumber;
|
|
665
|
+
skipped: z.ZodNumber;
|
|
666
|
+
}, "strict", z.ZodTypeAny, {
|
|
667
|
+
skipped: number;
|
|
668
|
+
passed: number;
|
|
669
|
+
failed: number;
|
|
670
|
+
errors: number;
|
|
671
|
+
}, {
|
|
672
|
+
skipped: number;
|
|
673
|
+
passed: number;
|
|
674
|
+
failed: number;
|
|
675
|
+
errors: number;
|
|
676
|
+
}>;
|
|
677
|
+
tests: z.ZodArray<z.ZodObject<{
|
|
678
|
+
testId: z.ZodString;
|
|
679
|
+
status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
|
|
680
|
+
firstFailure: z.ZodOptional<z.ZodString>;
|
|
681
|
+
}, "strict", z.ZodTypeAny, {
|
|
682
|
+
testId: string;
|
|
683
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
684
|
+
firstFailure?: string | undefined;
|
|
685
|
+
}, {
|
|
686
|
+
testId: string;
|
|
687
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
688
|
+
firstFailure?: string | undefined;
|
|
689
|
+
}>, "many">;
|
|
690
|
+
}, "strict", z.ZodTypeAny, {
|
|
691
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
692
|
+
runId: string;
|
|
693
|
+
suiteId: string;
|
|
694
|
+
startedAt: string;
|
|
695
|
+
durationMs: number;
|
|
696
|
+
counts: {
|
|
697
|
+
skipped: number;
|
|
698
|
+
passed: number;
|
|
699
|
+
failed: number;
|
|
700
|
+
errors: number;
|
|
701
|
+
};
|
|
702
|
+
tests: {
|
|
703
|
+
testId: string;
|
|
704
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
705
|
+
firstFailure?: string | undefined;
|
|
706
|
+
}[];
|
|
707
|
+
finishedAt?: string | undefined;
|
|
708
|
+
}, {
|
|
709
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
710
|
+
runId: string;
|
|
711
|
+
suiteId: string;
|
|
712
|
+
startedAt: string;
|
|
713
|
+
durationMs: number;
|
|
714
|
+
counts: {
|
|
715
|
+
skipped: number;
|
|
716
|
+
passed: number;
|
|
717
|
+
failed: number;
|
|
718
|
+
errors: number;
|
|
719
|
+
};
|
|
720
|
+
tests: {
|
|
721
|
+
testId: string;
|
|
722
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
723
|
+
firstFailure?: string | undefined;
|
|
724
|
+
}[];
|
|
725
|
+
finishedAt?: string | undefined;
|
|
726
|
+
}>>;
|
|
727
|
+
failures: z.ZodArray<z.ZodObject<{
|
|
728
|
+
test_id: z.ZodString;
|
|
729
|
+
test_name: z.ZodString;
|
|
730
|
+
step: z.ZodString;
|
|
731
|
+
message: z.ZodString;
|
|
732
|
+
}, "strict", z.ZodTypeAny, {
|
|
733
|
+
message: string;
|
|
734
|
+
step: string;
|
|
735
|
+
test_id: string;
|
|
736
|
+
test_name: string;
|
|
737
|
+
}, {
|
|
738
|
+
message: string;
|
|
739
|
+
step: string;
|
|
740
|
+
test_id: string;
|
|
741
|
+
test_name: string;
|
|
742
|
+
}>, "many">;
|
|
743
|
+
comparison: z.ZodOptional<z.ZodObject<{
|
|
744
|
+
previous_run: z.ZodString;
|
|
745
|
+
current_run: z.ZodString;
|
|
746
|
+
new_failures: z.ZodArray<z.ZodString, "many">;
|
|
747
|
+
fixed: z.ZodArray<z.ZodString, "many">;
|
|
748
|
+
still_failing: z.ZodArray<z.ZodString, "many">;
|
|
749
|
+
flaky: z.ZodArray<z.ZodString, "many">;
|
|
750
|
+
duration_change_ms: z.ZodNumber;
|
|
751
|
+
duration_regression: z.ZodBoolean;
|
|
752
|
+
}, "strict", z.ZodTypeAny, {
|
|
753
|
+
fixed: string[];
|
|
754
|
+
previous_run: string;
|
|
755
|
+
current_run: string;
|
|
756
|
+
new_failures: string[];
|
|
757
|
+
still_failing: string[];
|
|
758
|
+
flaky: string[];
|
|
759
|
+
duration_change_ms: number;
|
|
760
|
+
duration_regression: boolean;
|
|
761
|
+
}, {
|
|
762
|
+
fixed: string[];
|
|
763
|
+
previous_run: string;
|
|
764
|
+
current_run: string;
|
|
765
|
+
new_failures: string[];
|
|
766
|
+
still_failing: string[];
|
|
767
|
+
flaky: string[];
|
|
768
|
+
duration_change_ms: number;
|
|
769
|
+
duration_regression: boolean;
|
|
770
|
+
}>>;
|
|
771
|
+
warnings: z.ZodArray<z.ZodString, "many">;
|
|
772
|
+
}, "strict", z.ZodTypeAny, {
|
|
773
|
+
outcome: "running" | "completed" | "unavailable";
|
|
774
|
+
failures: {
|
|
775
|
+
message: string;
|
|
776
|
+
step: string;
|
|
777
|
+
test_id: string;
|
|
778
|
+
test_name: string;
|
|
779
|
+
}[];
|
|
780
|
+
warnings: string[];
|
|
781
|
+
run?: {
|
|
782
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
783
|
+
runId: string;
|
|
784
|
+
suiteId: string;
|
|
785
|
+
startedAt: string;
|
|
786
|
+
durationMs: number;
|
|
787
|
+
counts: {
|
|
788
|
+
skipped: number;
|
|
789
|
+
passed: number;
|
|
790
|
+
failed: number;
|
|
791
|
+
errors: number;
|
|
792
|
+
};
|
|
793
|
+
tests: {
|
|
794
|
+
testId: string;
|
|
795
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
796
|
+
firstFailure?: string | undefined;
|
|
797
|
+
}[];
|
|
798
|
+
finishedAt?: string | undefined;
|
|
799
|
+
} | undefined;
|
|
800
|
+
suite_name?: string | undefined;
|
|
801
|
+
progress_id?: string | undefined;
|
|
802
|
+
result_id?: string | undefined;
|
|
803
|
+
suite_id?: string | undefined;
|
|
804
|
+
comparison?: {
|
|
805
|
+
fixed: string[];
|
|
806
|
+
previous_run: string;
|
|
807
|
+
current_run: string;
|
|
808
|
+
new_failures: string[];
|
|
809
|
+
still_failing: string[];
|
|
810
|
+
flaky: string[];
|
|
811
|
+
duration_change_ms: number;
|
|
812
|
+
duration_regression: boolean;
|
|
813
|
+
} | undefined;
|
|
814
|
+
}, {
|
|
815
|
+
outcome: "running" | "completed" | "unavailable";
|
|
816
|
+
failures: {
|
|
817
|
+
message: string;
|
|
818
|
+
step: string;
|
|
819
|
+
test_id: string;
|
|
820
|
+
test_name: string;
|
|
821
|
+
}[];
|
|
822
|
+
warnings: string[];
|
|
823
|
+
run?: {
|
|
824
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
825
|
+
runId: string;
|
|
826
|
+
suiteId: string;
|
|
827
|
+
startedAt: string;
|
|
828
|
+
durationMs: number;
|
|
829
|
+
counts: {
|
|
830
|
+
skipped: number;
|
|
831
|
+
passed: number;
|
|
832
|
+
failed: number;
|
|
833
|
+
errors: number;
|
|
834
|
+
};
|
|
835
|
+
tests: {
|
|
836
|
+
testId: string;
|
|
837
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
838
|
+
firstFailure?: string | undefined;
|
|
839
|
+
}[];
|
|
840
|
+
finishedAt?: string | undefined;
|
|
841
|
+
} | undefined;
|
|
842
|
+
suite_name?: string | undefined;
|
|
843
|
+
progress_id?: string | undefined;
|
|
844
|
+
result_id?: string | undefined;
|
|
845
|
+
suite_id?: string | undefined;
|
|
846
|
+
comparison?: {
|
|
847
|
+
fixed: string[];
|
|
848
|
+
previous_run: string;
|
|
849
|
+
current_run: string;
|
|
850
|
+
new_failures: string[];
|
|
851
|
+
still_failing: string[];
|
|
852
|
+
flaky: string[];
|
|
853
|
+
duration_change_ms: number;
|
|
854
|
+
duration_regression: boolean;
|
|
855
|
+
} | undefined;
|
|
856
|
+
}>>;
|
|
857
|
+
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
858
|
+
runId: z.ZodString;
|
|
859
|
+
suiteId: z.ZodString;
|
|
860
|
+
startedAt: z.ZodString;
|
|
861
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
862
|
+
status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
|
|
863
|
+
durationMs: z.ZodNumber;
|
|
864
|
+
counts: z.ZodObject<{
|
|
865
|
+
passed: z.ZodNumber;
|
|
866
|
+
failed: z.ZodNumber;
|
|
867
|
+
errors: z.ZodNumber;
|
|
868
|
+
skipped: z.ZodNumber;
|
|
869
|
+
}, "strict", z.ZodTypeAny, {
|
|
870
|
+
skipped: number;
|
|
871
|
+
passed: number;
|
|
872
|
+
failed: number;
|
|
873
|
+
errors: number;
|
|
874
|
+
}, {
|
|
875
|
+
skipped: number;
|
|
876
|
+
passed: number;
|
|
877
|
+
failed: number;
|
|
878
|
+
errors: number;
|
|
879
|
+
}>;
|
|
880
|
+
tests: z.ZodArray<z.ZodObject<{
|
|
881
|
+
testId: z.ZodString;
|
|
882
|
+
status: z.ZodEnum<["pending", "running", "success", "failure", "error", "skipped", "canceled", "success_with_warnings"]>;
|
|
883
|
+
firstFailure: z.ZodOptional<z.ZodString>;
|
|
884
|
+
}, "strict", z.ZodTypeAny, {
|
|
885
|
+
testId: string;
|
|
886
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
887
|
+
firstFailure?: string | undefined;
|
|
888
|
+
}, {
|
|
889
|
+
testId: string;
|
|
890
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
891
|
+
firstFailure?: string | undefined;
|
|
892
|
+
}>, "many">;
|
|
893
|
+
}, "strict", z.ZodTypeAny, {
|
|
894
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
895
|
+
runId: string;
|
|
896
|
+
suiteId: string;
|
|
897
|
+
startedAt: string;
|
|
898
|
+
durationMs: number;
|
|
899
|
+
counts: {
|
|
900
|
+
skipped: number;
|
|
901
|
+
passed: number;
|
|
902
|
+
failed: number;
|
|
903
|
+
errors: number;
|
|
904
|
+
};
|
|
905
|
+
tests: {
|
|
906
|
+
testId: string;
|
|
907
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
908
|
+
firstFailure?: string | undefined;
|
|
909
|
+
}[];
|
|
910
|
+
finishedAt?: string | undefined;
|
|
911
|
+
}, {
|
|
912
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
913
|
+
runId: string;
|
|
914
|
+
suiteId: string;
|
|
915
|
+
startedAt: string;
|
|
916
|
+
durationMs: number;
|
|
917
|
+
counts: {
|
|
918
|
+
skipped: number;
|
|
919
|
+
passed: number;
|
|
920
|
+
failed: number;
|
|
921
|
+
errors: number;
|
|
922
|
+
};
|
|
923
|
+
tests: {
|
|
924
|
+
testId: string;
|
|
925
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
926
|
+
firstFailure?: string | undefined;
|
|
927
|
+
}[];
|
|
928
|
+
finishedAt?: string | undefined;
|
|
929
|
+
}>, "many">>;
|
|
930
|
+
comparison: z.ZodOptional<z.ZodObject<{
|
|
931
|
+
previous_run: z.ZodString;
|
|
932
|
+
current_run: z.ZodString;
|
|
933
|
+
new_failures: z.ZodArray<z.ZodString, "many">;
|
|
934
|
+
fixed: z.ZodArray<z.ZodString, "many">;
|
|
935
|
+
still_failing: z.ZodArray<z.ZodString, "many">;
|
|
936
|
+
flaky: z.ZodArray<z.ZodString, "many">;
|
|
937
|
+
duration_change_ms: z.ZodNumber;
|
|
938
|
+
duration_regression: z.ZodBoolean;
|
|
939
|
+
}, "strict", z.ZodTypeAny, {
|
|
940
|
+
fixed: string[];
|
|
941
|
+
previous_run: string;
|
|
942
|
+
current_run: string;
|
|
943
|
+
new_failures: string[];
|
|
944
|
+
still_failing: string[];
|
|
945
|
+
flaky: string[];
|
|
946
|
+
duration_change_ms: number;
|
|
947
|
+
duration_regression: boolean;
|
|
948
|
+
}, {
|
|
949
|
+
fixed: string[];
|
|
950
|
+
previous_run: string;
|
|
951
|
+
current_run: string;
|
|
952
|
+
new_failures: string[];
|
|
953
|
+
still_failing: string[];
|
|
954
|
+
flaky: string[];
|
|
955
|
+
duration_change_ms: number;
|
|
956
|
+
duration_regression: boolean;
|
|
957
|
+
}>>;
|
|
958
|
+
message: z.ZodOptional<z.ZodString>;
|
|
959
|
+
}, "strict", z.ZodTypeAny, {
|
|
960
|
+
action: "get" | "history" | "compare";
|
|
961
|
+
message?: string | undefined;
|
|
962
|
+
execution?: {
|
|
963
|
+
outcome: "running" | "completed" | "unavailable";
|
|
964
|
+
failures: {
|
|
965
|
+
message: string;
|
|
966
|
+
step: string;
|
|
967
|
+
test_id: string;
|
|
968
|
+
test_name: string;
|
|
969
|
+
}[];
|
|
970
|
+
warnings: string[];
|
|
971
|
+
run?: {
|
|
972
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
973
|
+
runId: string;
|
|
974
|
+
suiteId: string;
|
|
975
|
+
startedAt: string;
|
|
976
|
+
durationMs: number;
|
|
977
|
+
counts: {
|
|
978
|
+
skipped: number;
|
|
979
|
+
passed: number;
|
|
980
|
+
failed: number;
|
|
981
|
+
errors: number;
|
|
982
|
+
};
|
|
983
|
+
tests: {
|
|
984
|
+
testId: string;
|
|
985
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
986
|
+
firstFailure?: string | undefined;
|
|
987
|
+
}[];
|
|
988
|
+
finishedAt?: string | undefined;
|
|
989
|
+
} | undefined;
|
|
990
|
+
suite_name?: string | undefined;
|
|
991
|
+
progress_id?: string | undefined;
|
|
992
|
+
result_id?: string | undefined;
|
|
993
|
+
suite_id?: string | undefined;
|
|
994
|
+
comparison?: {
|
|
995
|
+
fixed: string[];
|
|
996
|
+
previous_run: string;
|
|
997
|
+
current_run: string;
|
|
998
|
+
new_failures: string[];
|
|
999
|
+
still_failing: string[];
|
|
1000
|
+
flaky: string[];
|
|
1001
|
+
duration_change_ms: number;
|
|
1002
|
+
duration_regression: boolean;
|
|
1003
|
+
} | undefined;
|
|
1004
|
+
} | undefined;
|
|
1005
|
+
runs?: {
|
|
1006
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
1007
|
+
runId: string;
|
|
1008
|
+
suiteId: string;
|
|
1009
|
+
startedAt: string;
|
|
1010
|
+
durationMs: number;
|
|
1011
|
+
counts: {
|
|
1012
|
+
skipped: number;
|
|
1013
|
+
passed: number;
|
|
1014
|
+
failed: number;
|
|
1015
|
+
errors: number;
|
|
1016
|
+
};
|
|
1017
|
+
tests: {
|
|
1018
|
+
testId: string;
|
|
1019
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
1020
|
+
firstFailure?: string | undefined;
|
|
1021
|
+
}[];
|
|
1022
|
+
finishedAt?: string | undefined;
|
|
1023
|
+
}[] | undefined;
|
|
1024
|
+
comparison?: {
|
|
1025
|
+
fixed: string[];
|
|
1026
|
+
previous_run: string;
|
|
1027
|
+
current_run: string;
|
|
1028
|
+
new_failures: string[];
|
|
1029
|
+
still_failing: string[];
|
|
1030
|
+
flaky: string[];
|
|
1031
|
+
duration_change_ms: number;
|
|
1032
|
+
duration_regression: boolean;
|
|
1033
|
+
} | undefined;
|
|
1034
|
+
}, {
|
|
1035
|
+
action: "get" | "history" | "compare";
|
|
1036
|
+
message?: string | undefined;
|
|
1037
|
+
execution?: {
|
|
1038
|
+
outcome: "running" | "completed" | "unavailable";
|
|
1039
|
+
failures: {
|
|
1040
|
+
message: string;
|
|
1041
|
+
step: string;
|
|
1042
|
+
test_id: string;
|
|
1043
|
+
test_name: string;
|
|
1044
|
+
}[];
|
|
1045
|
+
warnings: string[];
|
|
1046
|
+
run?: {
|
|
1047
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
1048
|
+
runId: string;
|
|
1049
|
+
suiteId: string;
|
|
1050
|
+
startedAt: string;
|
|
1051
|
+
durationMs: number;
|
|
1052
|
+
counts: {
|
|
1053
|
+
skipped: number;
|
|
1054
|
+
passed: number;
|
|
1055
|
+
failed: number;
|
|
1056
|
+
errors: number;
|
|
1057
|
+
};
|
|
1058
|
+
tests: {
|
|
1059
|
+
testId: string;
|
|
1060
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
1061
|
+
firstFailure?: string | undefined;
|
|
1062
|
+
}[];
|
|
1063
|
+
finishedAt?: string | undefined;
|
|
1064
|
+
} | undefined;
|
|
1065
|
+
suite_name?: string | undefined;
|
|
1066
|
+
progress_id?: string | undefined;
|
|
1067
|
+
result_id?: string | undefined;
|
|
1068
|
+
suite_id?: string | undefined;
|
|
1069
|
+
comparison?: {
|
|
1070
|
+
fixed: string[];
|
|
1071
|
+
previous_run: string;
|
|
1072
|
+
current_run: string;
|
|
1073
|
+
new_failures: string[];
|
|
1074
|
+
still_failing: string[];
|
|
1075
|
+
flaky: string[];
|
|
1076
|
+
duration_change_ms: number;
|
|
1077
|
+
duration_regression: boolean;
|
|
1078
|
+
} | undefined;
|
|
1079
|
+
} | undefined;
|
|
1080
|
+
runs?: {
|
|
1081
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
1082
|
+
runId: string;
|
|
1083
|
+
suiteId: string;
|
|
1084
|
+
startedAt: string;
|
|
1085
|
+
durationMs: number;
|
|
1086
|
+
counts: {
|
|
1087
|
+
skipped: number;
|
|
1088
|
+
passed: number;
|
|
1089
|
+
failed: number;
|
|
1090
|
+
errors: number;
|
|
1091
|
+
};
|
|
1092
|
+
tests: {
|
|
1093
|
+
testId: string;
|
|
1094
|
+
status: "error" | "success" | "pending" | "running" | "failure" | "skipped" | "canceled" | "success_with_warnings";
|
|
1095
|
+
firstFailure?: string | undefined;
|
|
1096
|
+
}[];
|
|
1097
|
+
finishedAt?: string | undefined;
|
|
1098
|
+
}[] | undefined;
|
|
1099
|
+
comparison?: {
|
|
1100
|
+
fixed: string[];
|
|
1101
|
+
previous_run: string;
|
|
1102
|
+
current_run: string;
|
|
1103
|
+
new_failures: string[];
|
|
1104
|
+
still_failing: string[];
|
|
1105
|
+
flaky: string[];
|
|
1106
|
+
duration_change_ms: number;
|
|
1107
|
+
duration_regression: boolean;
|
|
1108
|
+
} | undefined;
|
|
1109
|
+
}>;
|
|
1110
|
+
sn_atf_readiness: z.ZodObject<{
|
|
1111
|
+
verdict: z.ZodEnum<["ready", "blocked", "unverified"]>;
|
|
1112
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
1113
|
+
check: z.ZodString;
|
|
1114
|
+
status: z.ZodEnum<["pass", "fail", "warn"]>;
|
|
1115
|
+
message: z.ZodString;
|
|
1116
|
+
}, "strict", z.ZodTypeAny, {
|
|
1117
|
+
message: string;
|
|
1118
|
+
status: "warn" | "pass" | "fail";
|
|
1119
|
+
check: string;
|
|
1120
|
+
}, {
|
|
1121
|
+
message: string;
|
|
1122
|
+
status: "warn" | "pass" | "fail";
|
|
1123
|
+
check: string;
|
|
1124
|
+
}>, "many">;
|
|
1125
|
+
}, "strict", z.ZodTypeAny, {
|
|
1126
|
+
verdict: "ready" | "blocked" | "unverified";
|
|
1127
|
+
checks: {
|
|
1128
|
+
message: string;
|
|
1129
|
+
status: "warn" | "pass" | "fail";
|
|
1130
|
+
check: string;
|
|
1131
|
+
}[];
|
|
1132
|
+
}, {
|
|
1133
|
+
verdict: "ready" | "blocked" | "unverified";
|
|
1134
|
+
checks: {
|
|
1135
|
+
message: string;
|
|
1136
|
+
status: "warn" | "pass" | "fail";
|
|
1137
|
+
check: string;
|
|
1138
|
+
}[];
|
|
436
1139
|
}>;
|
|
437
1140
|
sn_atf_author: z.ZodObject<{
|
|
438
|
-
action: z.ZodEnum<["create_test", "create_suite", "add_tests_to_suite"]>;
|
|
439
|
-
|
|
1141
|
+
action: z.ZodEnum<["create_test", "create_suite", "add_tests_to_suite", "add_steps", "list_step_types"]>;
|
|
1142
|
+
step_types: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
1143
|
+
outcome: z.ZodEnum<["created", "failed", "catalog"]>;
|
|
440
1144
|
results: z.ZodArray<z.ZodObject<{
|
|
441
|
-
table: z.ZodEnum<["sys_atf_test", "sys_atf_test_suite", "sys_atf_test_suite_test"]>;
|
|
1145
|
+
table: z.ZodEnum<["sys_atf_test", "sys_atf_test_suite", "sys_atf_test_suite_test", "sys_atf_step"]>;
|
|
442
1146
|
sys_id: z.ZodString;
|
|
443
1147
|
}, "strict", z.ZodTypeAny, {
|
|
444
1148
|
sys_id: string;
|
|
445
|
-
table: "sys_atf_test" | "sys_atf_test_suite" | "sys_atf_test_suite_test";
|
|
1149
|
+
table: "sys_atf_step" | "sys_atf_test" | "sys_atf_test_suite" | "sys_atf_test_suite_test";
|
|
446
1150
|
}, {
|
|
447
1151
|
sys_id: string;
|
|
448
|
-
table: "sys_atf_test" | "sys_atf_test_suite" | "sys_atf_test_suite_test";
|
|
1152
|
+
table: "sys_atf_step" | "sys_atf_test" | "sys_atf_test_suite" | "sys_atf_test_suite_test";
|
|
449
1153
|
}>, "many">;
|
|
450
1154
|
rolled_back: z.ZodArray<z.ZodString, "many">;
|
|
451
1155
|
rollback_failed: z.ZodArray<z.ZodString, "many">;
|
|
452
1156
|
uncertain_insert: z.ZodBoolean;
|
|
1157
|
+
message: z.ZodOptional<z.ZodString>;
|
|
453
1158
|
}, "strict", z.ZodTypeAny, {
|
|
454
|
-
|
|
455
|
-
|
|
1159
|
+
action: "create_test" | "create_suite" | "add_tests_to_suite" | "add_steps" | "list_step_types";
|
|
1160
|
+
outcome: "failed" | "created" | "catalog";
|
|
456
1161
|
results: {
|
|
457
1162
|
sys_id: string;
|
|
458
|
-
table: "sys_atf_test" | "sys_atf_test_suite" | "sys_atf_test_suite_test";
|
|
1163
|
+
table: "sys_atf_step" | "sys_atf_test" | "sys_atf_test_suite" | "sys_atf_test_suite_test";
|
|
459
1164
|
}[];
|
|
460
1165
|
rolled_back: string[];
|
|
461
1166
|
rollback_failed: string[];
|
|
462
1167
|
uncertain_insert: boolean;
|
|
1168
|
+
message?: string | undefined;
|
|
1169
|
+
step_types?: Record<string, unknown>[] | undefined;
|
|
463
1170
|
}, {
|
|
464
|
-
|
|
465
|
-
|
|
1171
|
+
action: "create_test" | "create_suite" | "add_tests_to_suite" | "add_steps" | "list_step_types";
|
|
1172
|
+
outcome: "failed" | "created" | "catalog";
|
|
466
1173
|
results: {
|
|
467
1174
|
sys_id: string;
|
|
468
|
-
table: "sys_atf_test" | "sys_atf_test_suite" | "sys_atf_test_suite_test";
|
|
1175
|
+
table: "sys_atf_step" | "sys_atf_test" | "sys_atf_test_suite" | "sys_atf_test_suite_test";
|
|
469
1176
|
}[];
|
|
470
1177
|
rolled_back: string[];
|
|
471
1178
|
rollback_failed: string[];
|
|
472
1179
|
uncertain_insert: boolean;
|
|
1180
|
+
message?: string | undefined;
|
|
1181
|
+
step_types?: Record<string, unknown>[] | undefined;
|
|
473
1182
|
}>;
|
|
474
1183
|
sn_nl: z.ZodObject<{
|
|
475
1184
|
request: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -613,6 +1322,27 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
613
1322
|
}, {
|
|
614
1323
|
[x: string]: any;
|
|
615
1324
|
}>;
|
|
1325
|
+
sn_atf_run: z.ZodObject<{} & {
|
|
1326
|
+
[x: string]: z.ZodTypeAny;
|
|
1327
|
+
}, "strict", z.ZodTypeAny, {
|
|
1328
|
+
[x: string]: any;
|
|
1329
|
+
}, {
|
|
1330
|
+
[x: string]: any;
|
|
1331
|
+
}>;
|
|
1332
|
+
sn_atf_results: z.ZodObject<{} & {
|
|
1333
|
+
[x: string]: z.ZodTypeAny;
|
|
1334
|
+
}, "strict", z.ZodTypeAny, {
|
|
1335
|
+
[x: string]: any;
|
|
1336
|
+
}, {
|
|
1337
|
+
[x: string]: any;
|
|
1338
|
+
}>;
|
|
1339
|
+
sn_atf_readiness: z.ZodObject<{} & {
|
|
1340
|
+
[x: string]: z.ZodTypeAny;
|
|
1341
|
+
}, "strict", z.ZodTypeAny, {
|
|
1342
|
+
[x: string]: any;
|
|
1343
|
+
}, {
|
|
1344
|
+
[x: string]: any;
|
|
1345
|
+
}>;
|
|
616
1346
|
sn_atf_author: z.ZodObject<{} & {
|
|
617
1347
|
[x: string]: z.ZodTypeAny;
|
|
618
1348
|
}, "strict", z.ZodTypeAny, {
|