@crvouga/atlas 0.10.0 → 0.10.1
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 +7 -1
- 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/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
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"version": {
|
|
7
|
-
"
|
|
8
|
-
"
|
|
7
|
+
"type": "string",
|
|
8
|
+
"description": "Changes exactly when the report does"
|
|
9
9
|
},
|
|
10
10
|
"layers": {
|
|
11
11
|
"type": "array",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"type": "object",
|
|
22
22
|
"properties": {
|
|
23
23
|
"kind": {
|
|
24
|
-
"
|
|
25
|
-
"
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "The kind of the part holding the check. Part of the slot"
|
|
26
26
|
},
|
|
27
27
|
"id": {
|
|
28
|
-
"
|
|
29
|
-
"
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "The check id. Part of the slot"
|
|
30
30
|
},
|
|
31
31
|
"title": {
|
|
32
32
|
"type": "string"
|
|
@@ -42,18 +42,14 @@
|
|
|
42
42
|
},
|
|
43
43
|
"specPath": {
|
|
44
44
|
"description": "The spec the check belongs to, `specs/<path>`, or null",
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"type": "null"
|
|
51
|
-
}
|
|
45
|
+
"type": [
|
|
46
|
+
"string",
|
|
47
|
+
"null"
|
|
52
48
|
]
|
|
53
49
|
},
|
|
54
50
|
"detail": {
|
|
55
|
-
"
|
|
56
|
-
"
|
|
51
|
+
"type": "string",
|
|
52
|
+
"description": "Why it has this status; empty when there is nothing to add"
|
|
57
53
|
},
|
|
58
54
|
"measurements": {
|
|
59
55
|
"type": "array",
|
|
@@ -82,13 +78,9 @@
|
|
|
82
78
|
}
|
|
83
79
|
},
|
|
84
80
|
"testId": {
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"type": "null"
|
|
91
|
-
}
|
|
81
|
+
"type": [
|
|
82
|
+
"string",
|
|
83
|
+
"null"
|
|
92
84
|
]
|
|
93
85
|
},
|
|
94
86
|
"variant": {
|
|
@@ -101,13 +93,9 @@
|
|
|
101
93
|
}
|
|
102
94
|
},
|
|
103
95
|
"durationMs": {
|
|
104
|
-
"
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"type": "null"
|
|
110
|
-
}
|
|
96
|
+
"type": [
|
|
97
|
+
"number",
|
|
98
|
+
"null"
|
|
111
99
|
]
|
|
112
100
|
},
|
|
113
101
|
"evidence": {
|
|
@@ -189,96 +177,76 @@
|
|
|
189
177
|
}
|
|
190
178
|
},
|
|
191
179
|
"fingerprints": {
|
|
192
|
-
"description": "Spec path to the fingerprint the layer recorded for it",
|
|
193
180
|
"type": "object",
|
|
194
181
|
"propertyNames": {
|
|
195
182
|
"type": "string"
|
|
196
183
|
},
|
|
197
184
|
"additionalProperties": {
|
|
198
185
|
"type": "string"
|
|
199
|
-
}
|
|
186
|
+
},
|
|
187
|
+
"description": "Spec path to the fingerprint the layer recorded for it"
|
|
200
188
|
},
|
|
201
189
|
"layer": {
|
|
202
190
|
"type": "object",
|
|
203
191
|
"properties": {
|
|
204
192
|
"id": {
|
|
205
|
-
"
|
|
206
|
-
"
|
|
193
|
+
"type": "string",
|
|
194
|
+
"description": "The layer id: 64 lowercase hex digits, the SHA-256 of its content"
|
|
207
195
|
},
|
|
208
196
|
"backend": {
|
|
209
|
-
"
|
|
210
|
-
"
|
|
197
|
+
"type": "string",
|
|
198
|
+
"description": "The backend it was read from; the one that sorts first when several hold it"
|
|
211
199
|
},
|
|
212
200
|
"producer": {
|
|
213
|
-
"
|
|
214
|
-
"
|
|
201
|
+
"type": "string",
|
|
202
|
+
"description": "The suite or tool that made it. Part of the slot"
|
|
215
203
|
},
|
|
216
204
|
"packageDir": {
|
|
217
|
-
"
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"type": "null"
|
|
223
|
-
}
|
|
205
|
+
"type": [
|
|
206
|
+
"string",
|
|
207
|
+
"null"
|
|
224
208
|
]
|
|
225
209
|
},
|
|
226
210
|
"recordedAtMs": {
|
|
227
|
-
"
|
|
228
|
-
"
|
|
211
|
+
"type": "number",
|
|
212
|
+
"description": "When the checks ran, epoch milliseconds. The newest completed result wins its slot"
|
|
229
213
|
},
|
|
230
214
|
"sha": {
|
|
231
215
|
"description": "The commit it was recorded at. Provenance only",
|
|
232
|
-
"
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"type": "null"
|
|
238
|
-
}
|
|
216
|
+
"type": [
|
|
217
|
+
"string",
|
|
218
|
+
"null"
|
|
239
219
|
]
|
|
240
220
|
},
|
|
241
221
|
"branch": {
|
|
242
222
|
"description": "The branch it was recorded on. Provenance only",
|
|
243
|
-
"
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"type": "null"
|
|
249
|
-
}
|
|
223
|
+
"type": [
|
|
224
|
+
"string",
|
|
225
|
+
"null"
|
|
250
226
|
]
|
|
251
227
|
},
|
|
252
228
|
"environment": {
|
|
253
229
|
"description": "The client it checked, such as `ios`. Part of the slot",
|
|
254
|
-
"
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"type": "null"
|
|
260
|
-
}
|
|
230
|
+
"type": [
|
|
231
|
+
"string",
|
|
232
|
+
"null"
|
|
261
233
|
]
|
|
262
234
|
},
|
|
263
235
|
"runUrl": {
|
|
264
|
-
"
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"type": "null"
|
|
270
|
-
}
|
|
236
|
+
"type": [
|
|
237
|
+
"string",
|
|
238
|
+
"null"
|
|
271
239
|
]
|
|
272
240
|
},
|
|
273
241
|
"parameters": {
|
|
274
|
-
"description": "Other choices that make a result its own slot",
|
|
275
242
|
"type": "object",
|
|
276
243
|
"propertyNames": {
|
|
277
244
|
"type": "string"
|
|
278
245
|
},
|
|
279
246
|
"additionalProperties": {
|
|
280
247
|
"type": "string"
|
|
281
|
-
}
|
|
248
|
+
},
|
|
249
|
+
"description": "Other choices that make a result its own slot"
|
|
282
250
|
},
|
|
283
251
|
"freshness": {
|
|
284
252
|
"description": "`modified`: recorded from a checkout with uncommitted changes. `unknown`: origin not captured. Absent: clean",
|
|
@@ -289,13 +257,13 @@
|
|
|
289
257
|
]
|
|
290
258
|
},
|
|
291
259
|
"recording": {
|
|
292
|
-
"description": "Where recorded timelines are read from, or null",
|
|
293
260
|
"anyOf": [
|
|
294
261
|
{},
|
|
295
262
|
{
|
|
296
263
|
"type": "null"
|
|
297
264
|
}
|
|
298
|
-
]
|
|
265
|
+
],
|
|
266
|
+
"description": "Where recorded timelines are read from, or null"
|
|
299
267
|
},
|
|
300
268
|
"live": {
|
|
301
269
|
"type": "boolean"
|
|
@@ -315,7 +283,13 @@
|
|
|
315
283
|
"type": "integer",
|
|
316
284
|
"minimum": 0,
|
|
317
285
|
"maximum": 9007199254740991
|
|
318
|
-
}
|
|
286
|
+
},
|
|
287
|
+
"required": [
|
|
288
|
+
"passed",
|
|
289
|
+
"failed",
|
|
290
|
+
"running",
|
|
291
|
+
"not-run"
|
|
292
|
+
]
|
|
319
293
|
},
|
|
320
294
|
"execution": {
|
|
321
295
|
"type": "string"
|
|
@@ -423,12 +397,12 @@
|
|
|
423
397
|
"type": "string"
|
|
424
398
|
},
|
|
425
399
|
"live": {
|
|
426
|
-
"
|
|
427
|
-
"
|
|
400
|
+
"type": "boolean",
|
|
401
|
+
"description": "Always false on a server"
|
|
428
402
|
},
|
|
429
403
|
"available": {
|
|
430
|
-
"
|
|
431
|
-
"
|
|
404
|
+
"type": "boolean",
|
|
405
|
+
"description": "False when the backend could not be read; its results are then unknown, never passed"
|
|
432
406
|
}
|
|
433
407
|
},
|
|
434
408
|
"required": [
|
|
@@ -441,22 +415,22 @@
|
|
|
441
415
|
}
|
|
442
416
|
},
|
|
443
417
|
"notices": {
|
|
444
|
-
"description": "What could not be read. A gate treats any notice as unknown, never as passed",
|
|
445
418
|
"type": "array",
|
|
446
419
|
"items": {
|
|
447
420
|
"type": "string"
|
|
448
|
-
}
|
|
421
|
+
},
|
|
422
|
+
"description": "What could not be read. A gate treats any notice as unknown, never as passed"
|
|
449
423
|
},
|
|
450
424
|
"totalLayers": {
|
|
451
|
-
"description": "Every layer read, whether or not it still wins anything",
|
|
452
425
|
"type": "integer",
|
|
453
426
|
"minimum": 0,
|
|
454
|
-
"maximum": 9007199254740991
|
|
427
|
+
"maximum": 9007199254740991,
|
|
428
|
+
"description": "Every layer read, whether or not it still wins anything"
|
|
455
429
|
},
|
|
456
430
|
"active": {
|
|
457
|
-
"description": "Always empty on a server; kept for viewers written for live spec runs",
|
|
458
431
|
"type": "array",
|
|
459
|
-
"items": {}
|
|
432
|
+
"items": {},
|
|
433
|
+
"description": "Always empty on a server; kept for viewers written for live spec runs"
|
|
460
434
|
}
|
|
461
435
|
},
|
|
462
436
|
"required": [
|
|
@@ -9,83 +9,63 @@
|
|
|
9
9
|
"type": "object",
|
|
10
10
|
"properties": {
|
|
11
11
|
"id": {
|
|
12
|
-
"
|
|
13
|
-
"
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "The layer id: 64 lowercase hex digits, the SHA-256 of its content"
|
|
14
14
|
},
|
|
15
15
|
"backend": {
|
|
16
|
-
"
|
|
17
|
-
"
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "The backend it was read from; the one that sorts first when several hold it"
|
|
18
18
|
},
|
|
19
19
|
"producer": {
|
|
20
|
-
"
|
|
21
|
-
"
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "The suite or tool that made it. Part of the slot"
|
|
22
22
|
},
|
|
23
23
|
"packageDir": {
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"type": "null"
|
|
30
|
-
}
|
|
24
|
+
"type": [
|
|
25
|
+
"string",
|
|
26
|
+
"null"
|
|
31
27
|
]
|
|
32
28
|
},
|
|
33
29
|
"recordedAtMs": {
|
|
34
|
-
"
|
|
35
|
-
"
|
|
30
|
+
"type": "number",
|
|
31
|
+
"description": "When the checks ran, epoch milliseconds. The newest completed result wins its slot"
|
|
36
32
|
},
|
|
37
33
|
"sha": {
|
|
38
34
|
"description": "The commit it was recorded at. Provenance only",
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"type": "null"
|
|
45
|
-
}
|
|
35
|
+
"type": [
|
|
36
|
+
"string",
|
|
37
|
+
"null"
|
|
46
38
|
]
|
|
47
39
|
},
|
|
48
40
|
"branch": {
|
|
49
41
|
"description": "The branch it was recorded on. Provenance only",
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"type": "null"
|
|
56
|
-
}
|
|
42
|
+
"type": [
|
|
43
|
+
"string",
|
|
44
|
+
"null"
|
|
57
45
|
]
|
|
58
46
|
},
|
|
59
47
|
"environment": {
|
|
60
48
|
"description": "The client it checked, such as `ios`. Part of the slot",
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"type": "null"
|
|
67
|
-
}
|
|
49
|
+
"type": [
|
|
50
|
+
"string",
|
|
51
|
+
"null"
|
|
68
52
|
]
|
|
69
53
|
},
|
|
70
54
|
"runUrl": {
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"type": "null"
|
|
77
|
-
}
|
|
55
|
+
"type": [
|
|
56
|
+
"string",
|
|
57
|
+
"null"
|
|
78
58
|
]
|
|
79
59
|
},
|
|
80
60
|
"parameters": {
|
|
81
|
-
"description": "Other choices that make a result its own slot",
|
|
82
61
|
"type": "object",
|
|
83
62
|
"propertyNames": {
|
|
84
63
|
"type": "string"
|
|
85
64
|
},
|
|
86
65
|
"additionalProperties": {
|
|
87
66
|
"type": "string"
|
|
88
|
-
}
|
|
67
|
+
},
|
|
68
|
+
"description": "Other choices that make a result its own slot"
|
|
89
69
|
},
|
|
90
70
|
"freshness": {
|
|
91
71
|
"description": "`modified`: recorded from a checkout with uncommitted changes. `unknown`: origin not captured. Absent: clean",
|
|
@@ -96,13 +76,13 @@
|
|
|
96
76
|
]
|
|
97
77
|
},
|
|
98
78
|
"recording": {
|
|
99
|
-
"description": "Where recorded timelines are read from, or null",
|
|
100
79
|
"anyOf": [
|
|
101
80
|
{},
|
|
102
81
|
{
|
|
103
82
|
"type": "null"
|
|
104
83
|
}
|
|
105
|
-
]
|
|
84
|
+
],
|
|
85
|
+
"description": "Where recorded timelines are read from, or null"
|
|
106
86
|
},
|
|
107
87
|
"live": {
|
|
108
88
|
"type": "boolean"
|
|
@@ -122,7 +102,13 @@
|
|
|
122
102
|
"type": "integer",
|
|
123
103
|
"minimum": 0,
|
|
124
104
|
"maximum": 9007199254740991
|
|
125
|
-
}
|
|
105
|
+
},
|
|
106
|
+
"required": [
|
|
107
|
+
"passed",
|
|
108
|
+
"failed",
|
|
109
|
+
"running",
|
|
110
|
+
"not-run"
|
|
111
|
+
]
|
|
126
112
|
},
|
|
127
113
|
"execution": {
|
|
128
114
|
"type": "string"
|
|
@@ -211,13 +197,9 @@
|
|
|
211
197
|
},
|
|
212
198
|
"cursor": {
|
|
213
199
|
"description": "Pass as `?cursor=` for the next page; null at the end",
|
|
214
|
-
"
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"type": "null"
|
|
220
|
-
}
|
|
200
|
+
"type": [
|
|
201
|
+
"string",
|
|
202
|
+
"null"
|
|
221
203
|
]
|
|
222
204
|
},
|
|
223
205
|
"notices": {
|
|
@@ -238,12 +220,12 @@
|
|
|
238
220
|
"type": "string"
|
|
239
221
|
},
|
|
240
222
|
"live": {
|
|
241
|
-
"
|
|
242
|
-
"
|
|
223
|
+
"type": "boolean",
|
|
224
|
+
"description": "Always false on a server"
|
|
243
225
|
},
|
|
244
226
|
"available": {
|
|
245
|
-
"
|
|
246
|
-
"
|
|
227
|
+
"type": "boolean",
|
|
228
|
+
"description": "False when the backend could not be read; its results are then unknown, never passed"
|
|
247
229
|
}
|
|
248
230
|
},
|
|
249
231
|
"required": [
|