@crvouga/atlas 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/playwright-reporter/src/index.d.ts +11 -0
- package/dist/playwright-reporter/src/index.js +4 -2
- package/dist/reports/src/artifact-tag-store.d.ts +20 -0
- package/dist/reports/src/artifact-tag-store.js +70 -0
- package/dist/reports/src/artifact-tags.d.ts +96 -0
- package/dist/reports/src/artifact-tags.js +96 -0
- package/dist/reports/src/evidence-detail.d.ts +1 -1
- package/dist/reports/src/evidence-detail.js +6 -2
- package/dist/reports/src/evidence-types.d.ts +5 -0
- package/dist/reports/src/layer-merge.d.ts +1 -1
- package/dist/reports/src/layer-merge.js +3 -2
- package/dist/reports/src/layer-types.d.ts +3 -0
- package/dist/reports/src/publish-checks.js +1 -0
- package/dist/reports/src/report-cli.d.ts +1 -1
- package/dist/reports/src/report-cli.js +30 -2
- package/dist/reports/src/reporter.d.ts +1 -1
- package/dist/reports/src/reports-explorer-route.d.ts +8 -0
- package/dist/reports/src/reports-route.d.ts +8 -0
- package/dist/reports/src/test-catalog.d.ts +31 -27
- package/dist/reports/src/test-catalog.js +73 -12
- package/dist/schema/src/api.d.ts +128 -1
- package/dist/schema/src/api.js +38 -4
- package/dist/schema/src/layer.d.ts +59 -0
- package/dist/schema/src/layer.js +28 -1
- package/dist/server/src/app.js +32 -1
- package/dist/server/src/openapi.d.ts +1 -1
- package/dist/server/src/openapi.js +18 -2
- package/docs/extending.md +3 -0
- package/docs/integrating.md +8 -0
- package/docs/reference/cli.md +7 -0
- package/docs/reference/http-api.md +48 -0
- package/docs/reference/playwright-reporter.md +6 -6
- package/docs/reference/reports.md +235 -8
- package/docs/reference/schema.md +52 -1
- package/docs/report-contract.md +1 -0
- package/docs/rich-evidence.md +28 -0
- package/docs/server.md +24 -0
- package/llms-full.txt +119 -0
- package/package.json +1 -1
- package/packages/schema/schemas/check-detail.schema.json +28 -0
- package/packages/schema/schemas/effective-delta.schema.json +44 -0
- package/packages/schema/schemas/effective-evidence.schema.json +44 -0
- package/packages/schema/schemas/evidence-page.schema.json +37 -0
- package/packages/schema/schemas/layer-rows.schema.json +7 -0
- package/packages/schema/schemas/layer.schema.json +100 -0
- package/packages/schema/schemas/publish-checks.schema.json +65 -0
- package/packages/schema/schemas/report-run.schema.json +17 -1
- package/packages/schema/schemas/report-runs.schema.json +17 -1
- package/packages/schema/schemas/test-catalog.schema.json +42 -0
- package/packages/schema/schemas/test-history.schema.json +28 -0
- package/packages/server/openapi.json +886 -3
- package/packages/visualizer/src/evidence/artifact-tags.tsx +285 -0
- package/packages/visualizer/src/evidence/artifacts.tsx +18 -12
- package/packages/visualizer/src/explorer/RunsView.tsx +23 -4
- package/packages/visualizer/src/explorer/parts.tsx +2 -1
|
@@ -169,6 +169,13 @@
|
|
|
169
169
|
"description": {
|
|
170
170
|
"type": "string"
|
|
171
171
|
},
|
|
172
|
+
"tags": {
|
|
173
|
+
"description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
|
|
174
|
+
"type": "array",
|
|
175
|
+
"items": {
|
|
176
|
+
"type": "string"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
172
179
|
"at": {
|
|
173
180
|
"type": "object",
|
|
174
181
|
"properties": {
|
|
@@ -406,6 +413,13 @@
|
|
|
406
413
|
"description": {
|
|
407
414
|
"type": "string"
|
|
408
415
|
},
|
|
416
|
+
"tags": {
|
|
417
|
+
"description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
|
|
418
|
+
"type": "array",
|
|
419
|
+
"items": {
|
|
420
|
+
"type": "string"
|
|
421
|
+
}
|
|
422
|
+
},
|
|
409
423
|
"at": {
|
|
410
424
|
"type": "object",
|
|
411
425
|
"properties": {
|
|
@@ -680,6 +694,13 @@
|
|
|
680
694
|
"description": {
|
|
681
695
|
"type": "string"
|
|
682
696
|
},
|
|
697
|
+
"tags": {
|
|
698
|
+
"description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
|
|
699
|
+
"type": "array",
|
|
700
|
+
"items": {
|
|
701
|
+
"type": "string"
|
|
702
|
+
}
|
|
703
|
+
},
|
|
683
704
|
"at": {
|
|
684
705
|
"type": "object",
|
|
685
706
|
"properties": {
|
|
@@ -890,6 +911,13 @@
|
|
|
890
911
|
"description": {
|
|
891
912
|
"type": "string"
|
|
892
913
|
},
|
|
914
|
+
"tags": {
|
|
915
|
+
"description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
|
|
916
|
+
"type": "array",
|
|
917
|
+
"items": {
|
|
918
|
+
"type": "string"
|
|
919
|
+
}
|
|
920
|
+
},
|
|
893
921
|
"at": {
|
|
894
922
|
"type": "object",
|
|
895
923
|
"properties": {
|
|
@@ -1110,6 +1138,36 @@
|
|
|
1110
1138
|
"modified"
|
|
1111
1139
|
]
|
|
1112
1140
|
},
|
|
1141
|
+
"run": {
|
|
1142
|
+
"description": "Name the execution these checks belong to, so repeated local runs at one commit stay separate runs and shards of one execution stay together",
|
|
1143
|
+
"type": "object",
|
|
1144
|
+
"properties": {
|
|
1145
|
+
"id": {
|
|
1146
|
+
"type": "string",
|
|
1147
|
+
"minLength": 1,
|
|
1148
|
+
"maxLength": 256,
|
|
1149
|
+
"description": "The execution's identity within a project, chosen by the producer: a UUID, a timestamped name. Layers with the same id are one run; it never changes after it is recorded"
|
|
1150
|
+
},
|
|
1151
|
+
"title": {
|
|
1152
|
+
"description": "A human name for the run. Presentation only: it is not part of the identity and does not hide the commit or `freshness`",
|
|
1153
|
+
"type": "string"
|
|
1154
|
+
},
|
|
1155
|
+
"startedAtMs": {
|
|
1156
|
+
"description": "When the execution started, epoch milliseconds",
|
|
1157
|
+
"type": "number",
|
|
1158
|
+
"minimum": 0
|
|
1159
|
+
},
|
|
1160
|
+
"endedAtMs": {
|
|
1161
|
+
"description": "When the execution ended, epoch milliseconds",
|
|
1162
|
+
"type": "number",
|
|
1163
|
+
"minimum": 0
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
"required": [
|
|
1167
|
+
"id"
|
|
1168
|
+
],
|
|
1169
|
+
"additionalProperties": {}
|
|
1170
|
+
},
|
|
1113
1171
|
"specs": {
|
|
1114
1172
|
"default": [],
|
|
1115
1173
|
"type": "array",
|
|
@@ -1240,6 +1298,13 @@
|
|
|
1240
1298
|
"description": {
|
|
1241
1299
|
"type": "string"
|
|
1242
1300
|
},
|
|
1301
|
+
"tags": {
|
|
1302
|
+
"description": "Free labels of this one attachment, such as `demo`: shown as `#demo`, searchable, and normalized by `normalizeTag` (a leading `#` and letter case never matter). Unlike the tags of a check they say nothing about its result",
|
|
1303
|
+
"type": "array",
|
|
1304
|
+
"items": {
|
|
1305
|
+
"type": "string"
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1243
1308
|
"at": {
|
|
1244
1309
|
"type": "object",
|
|
1245
1310
|
"properties": {
|
|
@@ -15,7 +15,23 @@
|
|
|
15
15
|
"properties": {
|
|
16
16
|
"key": {
|
|
17
17
|
"type": "string",
|
|
18
|
-
"description": "
|
|
18
|
+
"description": "`run:<id>` for an execution a producer named, else the run URL, else `branch@sha`. Pass it to `/api/reports/runs/detail?key=` or `/api/reports/tests?run=`"
|
|
19
|
+
},
|
|
20
|
+
"runId": {
|
|
21
|
+
"description": "The execution id the producer named, when it did. Layers that share it are one run however many uploads they took",
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"title": {
|
|
25
|
+
"description": "The human title of the execution (the newest layer's). Presentation only: the key, commit and `freshness` are unaffected",
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
"freshness": {
|
|
29
|
+
"description": "`modified` when any layer of the run was recorded from a checkout with uncommitted changes; `unknown` when an origin was not captured; absent when all are clean. Shown beside the commit, never replaced by the title",
|
|
30
|
+
"type": "string",
|
|
31
|
+
"enum": [
|
|
32
|
+
"unknown",
|
|
33
|
+
"modified"
|
|
34
|
+
]
|
|
19
35
|
},
|
|
20
36
|
"runUrl": {
|
|
21
37
|
"type": [
|
|
@@ -22,7 +22,23 @@
|
|
|
22
22
|
"properties": {
|
|
23
23
|
"key": {
|
|
24
24
|
"type": "string",
|
|
25
|
-
"description": "
|
|
25
|
+
"description": "`run:<id>` for an execution a producer named, else the run URL, else `branch@sha`. Pass it to `/api/reports/runs/detail?key=` or `/api/reports/tests?run=`"
|
|
26
|
+
},
|
|
27
|
+
"runId": {
|
|
28
|
+
"description": "The execution id the producer named, when it did. Layers that share it are one run however many uploads they took",
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
"title": {
|
|
32
|
+
"description": "The human title of the execution (the newest layer's). Presentation only: the key, commit and `freshness` are unaffected",
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"freshness": {
|
|
36
|
+
"description": "`modified` when any layer of the run was recorded from a checkout with uncommitted changes; `unknown` when an origin was not captured; absent when all are clean. Shown beside the commit, never replaced by the title",
|
|
37
|
+
"type": "string",
|
|
38
|
+
"enum": [
|
|
39
|
+
"unknown",
|
|
40
|
+
"modified"
|
|
41
|
+
]
|
|
26
42
|
},
|
|
27
43
|
"runUrl": {
|
|
28
44
|
"type": [
|
|
@@ -590,6 +590,27 @@
|
|
|
590
590
|
"additionalProperties": {}
|
|
591
591
|
}
|
|
592
592
|
},
|
|
593
|
+
"artifactTags": {
|
|
594
|
+
"type": "array",
|
|
595
|
+
"items": {
|
|
596
|
+
"type": "object",
|
|
597
|
+
"properties": {
|
|
598
|
+
"value": {
|
|
599
|
+
"type": "string"
|
|
600
|
+
},
|
|
601
|
+
"count": {
|
|
602
|
+
"type": "integer",
|
|
603
|
+
"minimum": 0,
|
|
604
|
+
"maximum": 9007199254740991
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
"required": [
|
|
608
|
+
"value",
|
|
609
|
+
"count"
|
|
610
|
+
],
|
|
611
|
+
"additionalProperties": {}
|
|
612
|
+
}
|
|
613
|
+
},
|
|
593
614
|
"branches": {
|
|
594
615
|
"type": "array",
|
|
595
616
|
"items": {
|
|
@@ -856,6 +877,13 @@
|
|
|
856
877
|
"type": "string"
|
|
857
878
|
}
|
|
858
879
|
},
|
|
880
|
+
"artifactTags": {
|
|
881
|
+
"description": "Normalized tags of the attachments themselves, sorted and distinct. Absent when no attachment is tagged; never inherited from a check or run",
|
|
882
|
+
"type": "array",
|
|
883
|
+
"items": {
|
|
884
|
+
"type": "string"
|
|
885
|
+
}
|
|
886
|
+
},
|
|
859
887
|
"labels": {
|
|
860
888
|
"type": "object",
|
|
861
889
|
"propertyNames": {
|
|
@@ -1050,6 +1078,20 @@
|
|
|
1050
1078
|
"type": "string"
|
|
1051
1079
|
}
|
|
1052
1080
|
},
|
|
1081
|
+
"artifactTags": {
|
|
1082
|
+
"description": "Normalized tags of the attachments of its current results, such as `demo` (shown `#demo`). Not inherited from a check or run, unlike `tags`",
|
|
1083
|
+
"type": "array",
|
|
1084
|
+
"items": {
|
|
1085
|
+
"type": "string"
|
|
1086
|
+
}
|
|
1087
|
+
},
|
|
1088
|
+
"inheritedArtifactTags": {
|
|
1089
|
+
"description": "Normalized tags its attachments inherit from their check and run, apart from `artifactTags`: what `?artifactTag=…&inherited=1` also matches",
|
|
1090
|
+
"type": "array",
|
|
1091
|
+
"items": {
|
|
1092
|
+
"type": "string"
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1053
1095
|
"labels": {
|
|
1054
1096
|
"type": "object",
|
|
1055
1097
|
"propertyNames": {
|
|
@@ -197,6 +197,13 @@
|
|
|
197
197
|
"type": "string"
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
|
+
"artifactTags": {
|
|
201
|
+
"description": "Normalized tags of the attachments themselves, sorted and distinct. Absent when no attachment is tagged; never inherited from a check or run",
|
|
202
|
+
"type": "array",
|
|
203
|
+
"items": {
|
|
204
|
+
"type": "string"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
200
207
|
"labels": {
|
|
201
208
|
"type": "object",
|
|
202
209
|
"propertyNames": {
|
|
@@ -391,6 +398,20 @@
|
|
|
391
398
|
"type": "string"
|
|
392
399
|
}
|
|
393
400
|
},
|
|
401
|
+
"artifactTags": {
|
|
402
|
+
"description": "Normalized tags of the attachments of its current results, such as `demo` (shown `#demo`). Not inherited from a check or run, unlike `tags`",
|
|
403
|
+
"type": "array",
|
|
404
|
+
"items": {
|
|
405
|
+
"type": "string"
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
"inheritedArtifactTags": {
|
|
409
|
+
"description": "Normalized tags its attachments inherit from their check and run, apart from `artifactTags`: what `?artifactTag=…&inherited=1` also matches",
|
|
410
|
+
"type": "array",
|
|
411
|
+
"items": {
|
|
412
|
+
"type": "string"
|
|
413
|
+
}
|
|
414
|
+
},
|
|
394
415
|
"labels": {
|
|
395
416
|
"type": "object",
|
|
396
417
|
"propertyNames": {
|
|
@@ -573,6 +594,13 @@
|
|
|
573
594
|
"type": "string"
|
|
574
595
|
}
|
|
575
596
|
},
|
|
597
|
+
"artifactTags": {
|
|
598
|
+
"description": "Normalized tags of the attachments themselves, sorted and distinct. Absent when no attachment is tagged; never inherited from a check or run",
|
|
599
|
+
"type": "array",
|
|
600
|
+
"items": {
|
|
601
|
+
"type": "string"
|
|
602
|
+
}
|
|
603
|
+
},
|
|
576
604
|
"labels": {
|
|
577
605
|
"type": "object",
|
|
578
606
|
"propertyNames": {
|