@crvouga/atlas 0.10.0 → 0.10.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 +13 -1
- package/dist/reports/src/layer-merge.d.ts +5 -1
- package/dist/reports/src/layer-merge.js +17 -2
- package/dist/schema/src/common.d.ts +2 -2
- package/dist/schema/src/manifest.d.ts +4 -4
- package/dist/schema/src/spec.d.ts +6 -6
- package/docs/agents.md +25 -0
- package/docs/reference/reports.md +2 -0
- package/docs/report-contract.md +3 -0
- package/llms-full.txt +28 -0
- package/package.json +3 -3
- package/packages/schema/schemas/check-detail.schema.json +15 -15
- package/packages/schema/schemas/checks-result.schema.json +2 -2
- package/packages/schema/schemas/command-error.schema.json +4 -4
- package/packages/schema/schemas/doctor-result.schema.json +4 -4
- package/packages/schema/schemas/effective-delta.schema.json +69 -95
- package/packages/schema/schemas/effective-evidence.schema.json +63 -89
- package/packages/schema/schemas/evidence-page.schema.json +41 -59
- package/packages/schema/schemas/init-plan.schema.json +58 -90
- package/packages/schema/schemas/layer-rows.schema.json +17 -29
- package/packages/schema/schemas/layer.schema.json +54 -70
- package/packages/schema/schemas/live-run-start.schema.json +1 -1
- package/packages/schema/schemas/live-run.schema.json +1 -1
- package/packages/schema/schemas/merge-result.schema.json +6 -6
- package/packages/schema/schemas/outline.schema.json +7 -11
- package/packages/schema/schemas/path-record.schema.json +12 -28
- package/packages/schema/schemas/problem.schema.json +9 -9
- package/packages/schema/schemas/publish-checks.schema.json +27 -43
- package/packages/schema/schemas/publish-result.schema.json +16 -24
- package/packages/schema/schemas/ready.schema.json +12 -12
- package/packages/schema/schemas/report-event.schema.json +22 -28
- package/packages/schema/schemas/report-run.schema.json +33 -59
- package/packages/schema/schemas/report-runs.schema.json +24 -38
- package/packages/schema/schemas/report-status.schema.json +30 -54
- package/packages/schema/schemas/run-info.schema.json +9 -21
- package/packages/schema/schemas/run-summary.schema.json +6 -14
- package/packages/schema/schemas/server-config.schema.json +21 -21
- package/packages/schema/schemas/server-editable-settings.schema.json +14 -14
- package/packages/schema/schemas/server-info.schema.json +15 -19
- package/packages/schema/schemas/server-settings-snapshot.schema.json +28 -28
- package/packages/schema/schemas/spec-set.schema.json +16 -24
- package/packages/schema/schemas/state-node.schema.json +16 -16
- package/packages/schema/schemas/state-record.schema.json +5 -9
- package/packages/schema/schemas/store-listing.schema.json +3 -7
- package/packages/schema/schemas/store-write-result.schema.json +2 -2
- package/packages/schema/schemas/stream-result.schema.json +13 -17
- package/packages/schema/schemas/test-catalog.schema.json +109 -151
- package/packages/schema/schemas/test-history.schema.json +72 -136
- package/packages/schema/schemas/timeline-entry.schema.json +2 -2
- package/packages/schema/schemas/transition-record.schema.json +9 -21
- package/packages/server/openapi.json +620 -910
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"type": "object",
|
|
15
15
|
"properties": {
|
|
16
16
|
"key": {
|
|
17
|
-
"
|
|
18
|
-
"
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "The test's identity, `JSON.stringify([specPath, id])`. Pass it to `/api/reports/tests/history?key=`"
|
|
19
19
|
},
|
|
20
20
|
"id": {
|
|
21
21
|
"type": "string"
|
|
@@ -24,17 +24,12 @@
|
|
|
24
24
|
"type": "string"
|
|
25
25
|
},
|
|
26
26
|
"specPath": {
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"type": "null"
|
|
33
|
-
}
|
|
27
|
+
"type": [
|
|
28
|
+
"string",
|
|
29
|
+
"null"
|
|
34
30
|
]
|
|
35
31
|
},
|
|
36
32
|
"spec": {
|
|
37
|
-
"description": "The spec it belongs to: recorded by its layers, published in a spec set, or derived from the path",
|
|
38
33
|
"anyOf": [
|
|
39
34
|
{
|
|
40
35
|
"type": "object",
|
|
@@ -63,17 +58,18 @@
|
|
|
63
58
|
{
|
|
64
59
|
"type": "null"
|
|
65
60
|
}
|
|
66
|
-
]
|
|
61
|
+
],
|
|
62
|
+
"description": "The spec it belongs to: recorded by its layers, published in a spec set, or derived from the path"
|
|
67
63
|
},
|
|
68
64
|
"status": {
|
|
69
|
-
"description": "The worst current result across environments: failed, then running, then not-run, then passed",
|
|
70
65
|
"type": "string",
|
|
71
66
|
"enum": [
|
|
72
67
|
"passed",
|
|
73
68
|
"failed",
|
|
74
69
|
"running",
|
|
75
70
|
"not-run"
|
|
76
|
-
]
|
|
71
|
+
],
|
|
72
|
+
"description": "The worst current result across environments: failed, then running, then not-run, then passed"
|
|
77
73
|
},
|
|
78
74
|
"environments": {
|
|
79
75
|
"type": "array",
|
|
@@ -88,14 +84,13 @@
|
|
|
88
84
|
}
|
|
89
85
|
},
|
|
90
86
|
"outcomes": {
|
|
91
|
-
"description": "The current result per producer, environment and parameter set, newest first",
|
|
92
87
|
"type": "array",
|
|
93
88
|
"items": {
|
|
94
89
|
"type": "object",
|
|
95
90
|
"properties": {
|
|
96
91
|
"at": {
|
|
97
|
-
"
|
|
98
|
-
"
|
|
92
|
+
"type": "number",
|
|
93
|
+
"description": "When it was recorded, epoch milliseconds"
|
|
99
94
|
},
|
|
100
95
|
"status": {
|
|
101
96
|
"type": "string",
|
|
@@ -108,24 +103,16 @@
|
|
|
108
103
|
},
|
|
109
104
|
"durationMs": {
|
|
110
105
|
"description": "How long it took, or null when the producer did not measure it",
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"type": "null"
|
|
117
|
-
}
|
|
106
|
+
"type": [
|
|
107
|
+
"number",
|
|
108
|
+
"null"
|
|
118
109
|
]
|
|
119
110
|
},
|
|
120
111
|
"environment": {
|
|
121
112
|
"description": "The client it checked, such as `desktop-web` or `ios`",
|
|
122
|
-
"
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"type": "null"
|
|
128
|
-
}
|
|
113
|
+
"type": [
|
|
114
|
+
"string",
|
|
115
|
+
"null"
|
|
129
116
|
]
|
|
130
117
|
},
|
|
131
118
|
"producer": {
|
|
@@ -144,49 +131,37 @@
|
|
|
144
131
|
}
|
|
145
132
|
},
|
|
146
133
|
"branch": {
|
|
147
|
-
"
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"type": "null"
|
|
153
|
-
}
|
|
134
|
+
"type": [
|
|
135
|
+
"string",
|
|
136
|
+
"null"
|
|
154
137
|
]
|
|
155
138
|
},
|
|
156
139
|
"sha": {
|
|
157
|
-
"
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"type": "null"
|
|
163
|
-
}
|
|
140
|
+
"type": [
|
|
141
|
+
"string",
|
|
142
|
+
"null"
|
|
164
143
|
]
|
|
165
144
|
},
|
|
166
145
|
"runUrl": {
|
|
167
|
-
"
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"type": "null"
|
|
173
|
-
}
|
|
146
|
+
"type": [
|
|
147
|
+
"string",
|
|
148
|
+
"null"
|
|
174
149
|
]
|
|
175
150
|
},
|
|
176
151
|
"run": {
|
|
177
|
-
"
|
|
178
|
-
"
|
|
152
|
+
"type": "string",
|
|
153
|
+
"description": "The key of the run it belongs to, as `GET /api/reports/runs` lists it"
|
|
179
154
|
},
|
|
180
155
|
"layer": {
|
|
181
|
-
"
|
|
182
|
-
"
|
|
156
|
+
"type": "string",
|
|
157
|
+
"description": "The id of the layer that recorded it"
|
|
183
158
|
},
|
|
184
159
|
"backend": {
|
|
185
160
|
"type": "string"
|
|
186
161
|
},
|
|
187
162
|
"detail": {
|
|
188
|
-
"
|
|
189
|
-
"
|
|
163
|
+
"type": "string",
|
|
164
|
+
"description": "Why it has its status, at most 500 characters"
|
|
190
165
|
},
|
|
191
166
|
"evidence": {
|
|
192
167
|
"type": "object",
|
|
@@ -268,7 +243,8 @@
|
|
|
268
243
|
"detail"
|
|
269
244
|
],
|
|
270
245
|
"additionalProperties": {}
|
|
271
|
-
}
|
|
246
|
+
},
|
|
247
|
+
"description": "The current result per producer, environment and parameter set, newest first"
|
|
272
248
|
},
|
|
273
249
|
"stats": {
|
|
274
250
|
"type": "object",
|
|
@@ -290,13 +266,9 @@
|
|
|
290
266
|
},
|
|
291
267
|
"passRate": {
|
|
292
268
|
"description": "passed / (passed + failed), or null with no completed result",
|
|
293
|
-
"
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"type": "null"
|
|
299
|
-
}
|
|
269
|
+
"type": [
|
|
270
|
+
"number",
|
|
271
|
+
"null"
|
|
300
272
|
]
|
|
301
273
|
},
|
|
302
274
|
"flaky": {
|
|
@@ -360,43 +332,27 @@
|
|
|
360
332
|
]
|
|
361
333
|
},
|
|
362
334
|
"firstSeenMs": {
|
|
363
|
-
"
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"type": "null"
|
|
369
|
-
}
|
|
335
|
+
"type": [
|
|
336
|
+
"number",
|
|
337
|
+
"null"
|
|
370
338
|
]
|
|
371
339
|
},
|
|
372
340
|
"lastSeenMs": {
|
|
373
|
-
"
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"type": "null"
|
|
379
|
-
}
|
|
341
|
+
"type": [
|
|
342
|
+
"number",
|
|
343
|
+
"null"
|
|
380
344
|
]
|
|
381
345
|
},
|
|
382
346
|
"lastPassedAtMs": {
|
|
383
|
-
"
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"type": "null"
|
|
389
|
-
}
|
|
347
|
+
"type": [
|
|
348
|
+
"number",
|
|
349
|
+
"null"
|
|
390
350
|
]
|
|
391
351
|
},
|
|
392
352
|
"lastFailedAtMs": {
|
|
393
|
-
"
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
"type": "null"
|
|
399
|
-
}
|
|
353
|
+
"type": [
|
|
354
|
+
"number",
|
|
355
|
+
"null"
|
|
400
356
|
]
|
|
401
357
|
},
|
|
402
358
|
"runs": {
|
|
@@ -509,8 +465,8 @@
|
|
|
509
465
|
"type": "object",
|
|
510
466
|
"properties": {
|
|
511
467
|
"at": {
|
|
512
|
-
"
|
|
513
|
-
"
|
|
468
|
+
"type": "number",
|
|
469
|
+
"description": "When it was recorded, epoch milliseconds"
|
|
514
470
|
},
|
|
515
471
|
"status": {
|
|
516
472
|
"type": "string",
|
|
@@ -523,24 +479,16 @@
|
|
|
523
479
|
},
|
|
524
480
|
"durationMs": {
|
|
525
481
|
"description": "How long it took, or null when the producer did not measure it",
|
|
526
|
-
"
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"type": "null"
|
|
532
|
-
}
|
|
482
|
+
"type": [
|
|
483
|
+
"number",
|
|
484
|
+
"null"
|
|
533
485
|
]
|
|
534
486
|
},
|
|
535
487
|
"environment": {
|
|
536
488
|
"description": "The client it checked, such as `desktop-web` or `ios`",
|
|
537
|
-
"
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
"type": "null"
|
|
543
|
-
}
|
|
489
|
+
"type": [
|
|
490
|
+
"string",
|
|
491
|
+
"null"
|
|
544
492
|
]
|
|
545
493
|
},
|
|
546
494
|
"producer": {
|
|
@@ -559,49 +507,37 @@
|
|
|
559
507
|
}
|
|
560
508
|
},
|
|
561
509
|
"branch": {
|
|
562
|
-
"
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
"type": "null"
|
|
568
|
-
}
|
|
510
|
+
"type": [
|
|
511
|
+
"string",
|
|
512
|
+
"null"
|
|
569
513
|
]
|
|
570
514
|
},
|
|
571
515
|
"sha": {
|
|
572
|
-
"
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
"type": "null"
|
|
578
|
-
}
|
|
516
|
+
"type": [
|
|
517
|
+
"string",
|
|
518
|
+
"null"
|
|
579
519
|
]
|
|
580
520
|
},
|
|
581
521
|
"runUrl": {
|
|
582
|
-
"
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
"type": "null"
|
|
588
|
-
}
|
|
522
|
+
"type": [
|
|
523
|
+
"string",
|
|
524
|
+
"null"
|
|
589
525
|
]
|
|
590
526
|
},
|
|
591
527
|
"run": {
|
|
592
|
-
"
|
|
593
|
-
"
|
|
528
|
+
"type": "string",
|
|
529
|
+
"description": "The key of the run it belongs to, as `GET /api/reports/runs` lists it"
|
|
594
530
|
},
|
|
595
531
|
"layer": {
|
|
596
|
-
"
|
|
597
|
-
"
|
|
532
|
+
"type": "string",
|
|
533
|
+
"description": "The id of the layer that recorded it"
|
|
598
534
|
},
|
|
599
535
|
"backend": {
|
|
600
536
|
"type": "string"
|
|
601
537
|
},
|
|
602
538
|
"detail": {
|
|
603
|
-
"
|
|
604
|
-
"
|
|
539
|
+
"type": "string",
|
|
540
|
+
"description": "Why it has its status, at most 500 characters"
|
|
605
541
|
},
|
|
606
542
|
"evidence": {
|
|
607
543
|
"type": "object",
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"atMs": {
|
|
7
|
-
"description": "Milliseconds from the start of the clip",
|
|
8
7
|
"type": "number",
|
|
9
|
-
"minimum": 0
|
|
8
|
+
"minimum": 0,
|
|
9
|
+
"description": "Milliseconds from the start of the clip"
|
|
10
10
|
},
|
|
11
11
|
"kind": {
|
|
12
12
|
"type": "string",
|
|
@@ -10,13 +10,9 @@
|
|
|
10
10
|
"type": "string"
|
|
11
11
|
},
|
|
12
12
|
"target": {
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"type": "null"
|
|
19
|
-
}
|
|
13
|
+
"type": [
|
|
14
|
+
"string",
|
|
15
|
+
"null"
|
|
20
16
|
]
|
|
21
17
|
},
|
|
22
18
|
"event": {
|
|
@@ -32,13 +28,9 @@
|
|
|
32
28
|
]
|
|
33
29
|
},
|
|
34
30
|
"how": {
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"type": "null"
|
|
41
|
-
}
|
|
31
|
+
"type": [
|
|
32
|
+
"string",
|
|
33
|
+
"null"
|
|
42
34
|
]
|
|
43
35
|
},
|
|
44
36
|
"client": {
|
|
@@ -101,13 +93,9 @@
|
|
|
101
93
|
"items": {}
|
|
102
94
|
},
|
|
103
95
|
"reason": {
|
|
104
|
-
"
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"type": "null"
|
|
110
|
-
}
|
|
96
|
+
"type": [
|
|
97
|
+
"string",
|
|
98
|
+
"null"
|
|
111
99
|
]
|
|
112
100
|
},
|
|
113
101
|
"reachedBy": {
|