@empiricalrun/playwright-utils 0.56.0 → 0.58.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
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @empiricalrun/playwright-utils
|
|
2
2
|
|
|
3
|
+
## 0.58.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 2b65c99: feat: run the incremental blob reporter on every sharded run
|
|
8
|
+
|
|
9
|
+
## 0.57.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 3648c5c: feat: modify storage class for artifact uploads
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [3648c5c]
|
|
18
|
+
- @empiricalrun/r2-uploader@0.10.0
|
|
19
|
+
|
|
3
20
|
## 0.56.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/dist/config/index.js
CHANGED
|
@@ -39,7 +39,6 @@ function getReporters() {
|
|
|
39
39
|
if (process.env.HAS_SHARDING && !process.env.SHARD_INDEX) {
|
|
40
40
|
throw new Error("Invalid env variables: HAS_SHARDING needs SHARD_INDEX");
|
|
41
41
|
}
|
|
42
|
-
const useIncrementalReporter = process.env.SPOT_INSTANCE === "true";
|
|
43
42
|
const middle = process.env.HAS_SHARDING
|
|
44
43
|
? [
|
|
45
44
|
[
|
|
@@ -49,6 +48,14 @@ function getReporters() {
|
|
|
49
48
|
fileName: `report-${process.env.SHARD_INDEX}.zip`,
|
|
50
49
|
},
|
|
51
50
|
],
|
|
51
|
+
// Salvage path for a blob report that never gets written: on SIGINT the
|
|
52
|
+
// blob reporter can be cut off mid-run, and this one has already been
|
|
53
|
+
// streaming events to disk. It is only useful where a merge step exists
|
|
54
|
+
// to consume its zip, which is exactly where the blob reporter runs -
|
|
55
|
+
// so it is gated on sharding rather than on the run being on spot.
|
|
56
|
+
[
|
|
57
|
+
"./node_modules/@empiricalrun/playwright-utils/dist/reporter/incremental-blob-reporter.js",
|
|
58
|
+
],
|
|
52
59
|
]
|
|
53
60
|
: [
|
|
54
61
|
["html", { open: "never" }],
|
|
@@ -57,13 +64,6 @@ function getReporters() {
|
|
|
57
64
|
return [
|
|
58
65
|
["list"],
|
|
59
66
|
...middle,
|
|
60
|
-
...(useIncrementalReporter
|
|
61
|
-
? [
|
|
62
|
-
[
|
|
63
|
-
"./node_modules/@empiricalrun/playwright-utils/dist/reporter/incremental-blob-reporter.js",
|
|
64
|
-
],
|
|
65
|
-
]
|
|
66
|
-
: []),
|
|
67
67
|
[
|
|
68
68
|
"./node_modules/@empiricalrun/playwright-utils/dist/reporter/empirical-reporter.js",
|
|
69
69
|
],
|