squally-reporter 0.5.2 → 0.7.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/README.md +242 -189
- package/dist/index.d.ts +48 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +170 -9
- package/dist/index.js.map +1 -0
- package/package.json +50 -42
package/README.md
CHANGED
|
@@ -1,189 +1,242 @@
|
|
|
1
|
-
# squally-reporter
|
|
2
|
-
|
|
3
|
-
Playwright reporter that sends test results to your Squally dashboard.
|
|
4
|
-
|
|
5
|
-
Learn more at [
|
|
6
|
-
|
|
7
|
-
## Requirements
|
|
8
|
-
|
|
9
|
-
- Node.js >= 22.19.0 (required by the `undici` dependency)
|
|
10
|
-
- `@playwright/test` >= 1.30.0
|
|
11
|
-
|
|
12
|
-
## Install
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
npm install -D squally-reporter
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Config
|
|
19
|
-
|
|
20
|
-
Set two env vars (e.g. in CI secrets or `.env`):
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
SQUALLY_API_URL=https://
|
|
24
|
-
SQUALLY_API_KEY=your-project-api-key
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Find your API key on your project's Settings page in the Squally dashboard.
|
|
28
|
-
|
|
29
|
-
Then add the reporter to `playwright.config.ts`:
|
|
30
|
-
|
|
31
|
-
```ts
|
|
32
|
-
import { defineConfig } from "@playwright/test";
|
|
33
|
-
|
|
34
|
-
export default defineConfig({
|
|
35
|
-
reporter: [
|
|
36
|
-
["list"],
|
|
37
|
-
["squally-reporter"],
|
|
38
|
-
],
|
|
39
|
-
});
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Alternatively, pass config explicitly instead of using env vars - **only if
|
|
43
|
-
`apiKey` itself comes from an env var or secret store at runtime, never as a
|
|
44
|
-
literal string in a committed file:**
|
|
45
|
-
|
|
46
|
-
```ts
|
|
47
|
-
reporter: [
|
|
48
|
-
["squally-reporter", { apiUrl: "https://
|
|
49
|
-
],
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
That's it - run your tests as usual (`npx playwright test`) and results will
|
|
53
|
-
be sent to Squally after the run finishes.
|
|
54
|
-
|
|
55
|
-
## Screenshot/trace upload
|
|
56
|
-
|
|
57
|
-
If your `playwright.config.ts` captures screenshots or traces, the reporter
|
|
58
|
-
uploads them to Squally so they show up next to the failing test in the
|
|
59
|
-
dashboard - no separate setup beyond the two env vars above.
|
|
60
|
-
|
|
61
|
-
**Only from attempts worth looking at:** screenshots/traces are uploaded
|
|
62
|
-
only for attempts that **failed**, or that **needed a retry** (even if that
|
|
63
|
-
retry then passed) - never for an attempt that passed on its first try,
|
|
64
|
-
regardless of how `screenshot`/`trace` are configured. Nobody looks at a
|
|
65
|
-
screenshot of a test that just passed, and uploading one anyway would only
|
|
66
|
-
eat into your organization's storage for no benefit.
|
|
67
|
-
|
|
68
|
-
**You need to actually enable capture in `playwright.config.ts`** - without
|
|
69
|
-
it, Playwright doesn't produce any attachments, so there's nothing for the
|
|
70
|
-
reporter to find or upload (no error either way, it's a silent no-op):
|
|
71
|
-
|
|
72
|
-
```ts
|
|
73
|
-
export default defineConfig({
|
|
74
|
-
use: {
|
|
75
|
-
screenshot: "only-on-failure",
|
|
76
|
-
trace: "retain-on-failure",
|
|
77
|
-
},
|
|
78
|
-
// ...
|
|
79
|
-
});
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
**Limits
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
dashboard
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
**
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
and
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
that
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
1
|
+
# squally-reporter
|
|
2
|
+
|
|
3
|
+
Playwright reporter that sends test results to your Squally dashboard.
|
|
4
|
+
|
|
5
|
+
Learn more at [app.squally.dev](https://app.squally.dev).
|
|
6
|
+
|
|
7
|
+
## Requirements
|
|
8
|
+
|
|
9
|
+
- Node.js >= 22.19.0 (required by the `undici` dependency)
|
|
10
|
+
- `@playwright/test` >= 1.30.0
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install -D squally-reporter
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Config
|
|
19
|
+
|
|
20
|
+
Set two env vars (e.g. in CI secrets or `.env`):
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
SQUALLY_API_URL=https://app.squally.dev
|
|
24
|
+
SQUALLY_API_KEY=your-project-api-key
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Find your API key on your project's Settings page in the Squally dashboard.
|
|
28
|
+
|
|
29
|
+
Then add the reporter to `playwright.config.ts`:
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
import { defineConfig } from "@playwright/test";
|
|
33
|
+
|
|
34
|
+
export default defineConfig({
|
|
35
|
+
reporter: [
|
|
36
|
+
["list"],
|
|
37
|
+
["squally-reporter"],
|
|
38
|
+
],
|
|
39
|
+
});
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Alternatively, pass config explicitly instead of using env vars - **only if
|
|
43
|
+
`apiKey` itself comes from an env var or secret store at runtime, never as a
|
|
44
|
+
literal string in a committed file:**
|
|
45
|
+
|
|
46
|
+
```ts
|
|
47
|
+
reporter: [
|
|
48
|
+
["squally-reporter", { apiUrl: "https://app.squally.dev", apiKey: process.env.SQUALLY_API_KEY }],
|
|
49
|
+
],
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
That's it - run your tests as usual (`npx playwright test`) and results will
|
|
53
|
+
be sent to Squally after the run finishes.
|
|
54
|
+
|
|
55
|
+
## Screenshot/trace upload
|
|
56
|
+
|
|
57
|
+
If your `playwright.config.ts` captures screenshots or traces, the reporter
|
|
58
|
+
uploads them to Squally so they show up next to the failing test in the
|
|
59
|
+
dashboard - no separate setup beyond the two env vars above.
|
|
60
|
+
|
|
61
|
+
**Only from attempts worth looking at:** screenshots/traces are uploaded
|
|
62
|
+
only for attempts that **failed**, or that **needed a retry** (even if that
|
|
63
|
+
retry then passed) - never for an attempt that passed on its first try,
|
|
64
|
+
regardless of how `screenshot`/`trace` are configured. Nobody looks at a
|
|
65
|
+
screenshot of a test that just passed, and uploading one anyway would only
|
|
66
|
+
eat into your organization's storage for no benefit.
|
|
67
|
+
|
|
68
|
+
**You need to actually enable capture in `playwright.config.ts`** - without
|
|
69
|
+
it, Playwright doesn't produce any attachments, so there's nothing for the
|
|
70
|
+
reporter to find or upload (no error either way, it's a silent no-op):
|
|
71
|
+
|
|
72
|
+
```ts
|
|
73
|
+
export default defineConfig({
|
|
74
|
+
use: {
|
|
75
|
+
screenshot: "only-on-failure",
|
|
76
|
+
trace: "retain-on-failure",
|
|
77
|
+
},
|
|
78
|
+
// ...
|
|
79
|
+
});
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
**Limits.** None of these are enforced by the reporter - Squally applies them
|
|
83
|
+
when the upload is requested and answers with a reason, which is what the
|
|
84
|
+
reporter prints. The numbers below are therefore Squally's current ones rather
|
|
85
|
+
than anything this package guarantees, and can change server-side without a new
|
|
86
|
+
release of it:
|
|
87
|
+
|
|
88
|
+
- **50 MB per individual file**, the same on every plan. A larger screenshot or
|
|
89
|
+
trace is rejected before any bytes are uploaded; the reporter logs a
|
|
90
|
+
`console.warn` naming the file and moves on. The test result itself is
|
|
91
|
+
reported as usual, and the run's outcome and exit code are untouched. In the
|
|
92
|
+
dashboard that artifact is shown as skipped, with the reason, rather than
|
|
93
|
+
silently missing.
|
|
94
|
+
- **A total storage cap per organization, depending on your Squally plan.**
|
|
95
|
+
Once it is reached, further uploads are rejected the same way until you free
|
|
96
|
+
up space or upgrade.
|
|
97
|
+
- Two minutes per upload, and 30 seconds for the calls that surround it. An
|
|
98
|
+
unreachable or very slow server means a skipped upload and a `console.warn`,
|
|
99
|
+
not a CI job waiting indefinitely.
|
|
100
|
+
|
|
101
|
+
Upload is best-effort and fully non-blocking, same principle as the rest of
|
|
102
|
+
this reporter - a failed or skipped upload never fails your test run or
|
|
103
|
+
changes its exit code, it only logs a `console.warn` explaining what
|
|
104
|
+
happened.
|
|
105
|
+
|
|
106
|
+
## How results reach Squally
|
|
107
|
+
|
|
108
|
+
Results stream to Squally as your suite runs, not all at once at the end:
|
|
109
|
+
each test's result is sent in a small batch, so the "running" view in the
|
|
110
|
+
dashboard stays close to real time even for a long suite. A batch goes out on
|
|
111
|
+
whichever of these comes first:
|
|
112
|
+
|
|
113
|
+
- **25 results.** Fixed, and the same whether you shard or not.
|
|
114
|
+
- **A timer, 2 seconds × the number of shards, capped at 30 seconds.** An
|
|
115
|
+
unsharded run flushes every 2 seconds; four shards every 8; eight shards
|
|
116
|
+
every 16; fifteen shards and above every 30, where the cap holds it.
|
|
117
|
+
|
|
118
|
+
Only the timer scales. All shards of a run share one rate budget on Squally's
|
|
119
|
+
side, so without this a sixteen-shard suite would send sixteen times the
|
|
120
|
+
requests of an unsharded one and throttle itself. The 25-result threshold is
|
|
121
|
+
left alone deliberately: it bounds how long a *fast* suite waits, and
|
|
122
|
+
stretching it would delay results without bounding the burst any better.
|
|
123
|
+
|
|
124
|
+
There is no longer a single-request size limit that could discard a whole run -
|
|
125
|
+
a very large suite simply takes more, smaller requests. As a courtesy the
|
|
126
|
+
reporter still warns if a run's result count climbs well past 5,000, since that
|
|
127
|
+
usually means retries are configured higher than intended rather than a suite
|
|
128
|
+
that's actually that large.
|
|
129
|
+
|
|
130
|
+
If Squally is unreachable partway through, results already sent stay in the
|
|
131
|
+
dashboard; only what could not be delivered is lost, and your test run's exit
|
|
132
|
+
code is never affected either way.
|
|
133
|
+
|
|
134
|
+
**Only actual test runs appear.** A run shows up in Squally once your first
|
|
135
|
+
test starts, so commands that never run a test create nothing: `--list`,
|
|
136
|
+
a `globalSetup` or `webServer` that fails to start, a `--grep` that matches
|
|
137
|
+
nothing. A run that *does* execute and legitimately contains no tests — an
|
|
138
|
+
empty shard, `--only-changed` with no changed test file, `--pass-with-no-tests`
|
|
139
|
+
— is still reported, as a run with zero results.
|
|
140
|
+
|
|
141
|
+
## Tests marked with `test.fail()`
|
|
142
|
+
|
|
143
|
+
Playwright's `test.fail()` marks a test as *expected to fail*: it guards a bug
|
|
144
|
+
you already know about, and Playwright runs the test anyway to check that it
|
|
145
|
+
does still fail. The interesting moment is the opposite one - when someone
|
|
146
|
+
fixes the bug, the test starts passing and Playwright turns it red so you
|
|
147
|
+
remember to delete the marker.
|
|
148
|
+
|
|
149
|
+
The reporter passes that marker on, so Squally reads such a test the same way
|
|
150
|
+
Playwright does:
|
|
151
|
+
|
|
152
|
+
- **Marked and still failing** - shown as passing, with an "expected failure"
|
|
153
|
+
label. It does not count toward your failure numbers, your flakiness
|
|
154
|
+
verdicts, or Squally's pull-request check.
|
|
155
|
+
- **Marked and now passing** - shown as a failure, because the marker is out of
|
|
156
|
+
date and should be removed.
|
|
157
|
+
|
|
158
|
+
Both ways of marking a test are recognised: the `test.fail()` modifier and a
|
|
159
|
+
`testInfo.fail()` call inside the test body. `test.skip()` and `test.fixme()`
|
|
160
|
+
are a different statement and are not affected.
|
|
161
|
+
|
|
162
|
+
Nothing is reported for an unmarked test, so an ordinary suite is unchanged.
|
|
163
|
+
Note also that Playwright itself treats a marked, failing test as expected, so
|
|
164
|
+
with `screenshot: "only-on-failure"` it captures nothing for it - there is no
|
|
165
|
+
artifact for the reporter to upload, which is consistent rather than missing.
|
|
166
|
+
|
|
167
|
+
## Sharding
|
|
168
|
+
|
|
169
|
+
**Handled automatically - no extra setup needed.** Each shard is still a
|
|
170
|
+
separate process with its own reporter instance, but Squally now correlates
|
|
171
|
+
them itself: all shards of one CI run are grouped together and shown as one
|
|
172
|
+
run once every shard has finished, with the flip side of that guarantee being
|
|
173
|
+
that the run only completes once every shard *has* reported.
|
|
174
|
+
|
|
175
|
+
Correlation is based on an id read from your CI provider's own environment,
|
|
176
|
+
so it costs you nothing on GitHub Actions, GitLab CI or CircleCI. If your
|
|
177
|
+
provider is not one of those (or you shard locally across several separate
|
|
178
|
+
`--shard` invocations), set `SQUALLY_CI_RUN_ID` to the same value for every
|
|
179
|
+
shard of one run - anything unique per CI run and shared by its shards works,
|
|
180
|
+
e.g. a build number your CI system already exposes.
|
|
181
|
+
|
|
182
|
+
**`playwright merge-reports` is not part of this and is not recommended** for
|
|
183
|
+
getting a single run in Squally - the automatic correlation above is the
|
|
184
|
+
supported path, and produces correct per-shard timing/branch/commit
|
|
185
|
+
information that a merge job cannot (see the historical note below). Nothing
|
|
186
|
+
stops you from using `merge-reports` for Playwright's own HTML report if you
|
|
187
|
+
want that separately; just don't point this reporter at the merged result
|
|
188
|
+
expecting Squally to treat it specially.
|
|
189
|
+
|
|
190
|
+
<details>
|
|
191
|
+
<summary>Why not just use `merge-reports`, historically</summary>
|
|
192
|
+
|
|
193
|
+
An earlier version of this reporter recommended `playwright merge-reports` as
|
|
194
|
+
the way to get one Squally run out of a sharded job. That path has a real
|
|
195
|
+
problem: branch, commit, commit message and author are all read on whichever
|
|
196
|
+
machine the reporter actually runs on - during a merge that is the merge job,
|
|
197
|
+
not the shards - and without a checkout there (and without the CI provider's
|
|
198
|
+
own commit variables) they all come out empty. A run with no branch is never
|
|
199
|
+
counted as a run on your stable branch, which is what Squally's broken/healthy
|
|
200
|
+
verdicts are based on - so a "merged" run could exist in the dashboard while
|
|
201
|
+
silently contributing nothing to flakiness detection. The automatic
|
|
202
|
+
correlation above reads that information from each shard's own environment
|
|
203
|
+
instead, so this problem does not arise.
|
|
204
|
+
|
|
205
|
+
</details>
|
|
206
|
+
|
|
207
|
+
## Tested revision (optional)
|
|
208
|
+
|
|
209
|
+
If your test-automation code lives in the same repo as the application it
|
|
210
|
+
tests, Squally can already tell which commit was tested from the CI
|
|
211
|
+
provider's own commit env vars. If they're **separate repos** (e.g. a
|
|
212
|
+
dedicated E2E-test repo pointed at a deployed app), set one of the following
|
|
213
|
+
so Squally knows which application state was actually tested:
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
# Same repo as the application under test - Squally will trust this CI
|
|
217
|
+
# job's own commit (GITHUB_SHA / CI_COMMIT_SHA) as the tested revision.
|
|
218
|
+
SAME_REPO_AS_APP=true
|
|
219
|
+
|
|
220
|
+
# Separate repos - pass the tested revision explicitly (a commit SHA, tag,
|
|
221
|
+
# or branch name/ref).
|
|
222
|
+
TESTED_REVISION=v1.2.0
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
Neither variable is required - without them, test results are still sent
|
|
226
|
+
and stored exactly as before.
|
|
227
|
+
|
|
228
|
+
**The value is normalised before it is stored**, so that the same revision
|
|
229
|
+
written two ways still compares equal: it is lowercased, and a leading `v` or a
|
|
230
|
+
`refs/heads/` prefix is removed. The example above is exactly such a case -
|
|
231
|
+
`v1.2.0` is stored as `1.2.0`. The reporter says so once per run when it
|
|
232
|
+
happens, so a value that looks different in the dashboard is not a mystery.
|
|
233
|
+
|
|
234
|
+
## Support
|
|
235
|
+
|
|
236
|
+
Found a bug or have a question? Please open an issue on
|
|
237
|
+
[GitHub Issues](https://github.com/squallydev-admin/squally-reporter/issues) -
|
|
238
|
+
that's the primary way to report problems or ask questions.
|
|
239
|
+
|
|
240
|
+
## License
|
|
241
|
+
|
|
242
|
+
MIT - see [LICENSE](./LICENSE).
|
package/dist/index.d.ts
CHANGED
|
@@ -19,6 +19,12 @@ interface AppendResultEntry {
|
|
|
19
19
|
status: "passed" | "failed" | "skipped";
|
|
20
20
|
retryCount: number;
|
|
21
21
|
repeatIndex: number;
|
|
22
|
+
/**
|
|
23
|
+
* Playwright's `test.fail()` marker (spec section 1.3.1). OPTIONAL on the
|
|
24
|
+
* wire and omitted when false, so the field costs nothing on the overwhelming
|
|
25
|
+
* majority of results.
|
|
26
|
+
*/
|
|
27
|
+
expectedFailure?: boolean;
|
|
22
28
|
durationMs: number | null;
|
|
23
29
|
errors?: AppendErrorEntry[];
|
|
24
30
|
consoleOutput: string | null;
|
|
@@ -29,6 +35,18 @@ interface AppendResultEntry {
|
|
|
29
35
|
type ArtifactType = "screenshot" | "trace";
|
|
30
36
|
declare function truncate(value: string, max: number): string;
|
|
31
37
|
declare function truncateOrNull(value: string | null, max: number): string | null;
|
|
38
|
+
/**
|
|
39
|
+
* This shard's flush interval: the base cadence stretched by how many shards
|
|
40
|
+
* share the rate budget with it.
|
|
41
|
+
*
|
|
42
|
+
* Only the TIMER is scaled. FLUSH_THRESHOLD_RESULTS is not, and that is
|
|
43
|
+
* deliberate: it is a latency bound on a fast suite, not a rate control, and
|
|
44
|
+
* stretching it would delay results without bounding the burst any better -
|
|
45
|
+
* the burst is bounded by how fast tests finish, which is not ours to set.
|
|
46
|
+
* The spec's acknowledged worst case (a very fast unit-style suite crossing 25
|
|
47
|
+
* faster than the interval) is therefore unchanged by this.
|
|
48
|
+
*/
|
|
49
|
+
declare function flushIntervalFor(shardTotal: number | null): number;
|
|
32
50
|
declare function mapStatus(status: TestResult["status"]): AppendResultEntry["status"];
|
|
33
51
|
declare function detectCiRunId(env: NodeJS.ProcessEnv, generateFallback: () => string): string;
|
|
34
52
|
interface ProjectSuiteLike {
|
|
@@ -49,7 +67,7 @@ declare function maskSecrets(value: string): string;
|
|
|
49
67
|
declare function prepareConsoleOutput(value: string | null): string | null;
|
|
50
68
|
declare function mapErrors(errors: readonly TestError[]): AppendErrorEntry[] | undefined;
|
|
51
69
|
declare function attemptQualifiesForArtifacts(mappedStatus: AppendResultEntry["status"], retryCount: number): boolean;
|
|
52
|
-
declare function artifactKey(testName: string, filePath: string, retryCount: number, type: ArtifactType): string;
|
|
70
|
+
declare function artifactKey(testName: string, filePath: string, retryCount: number, repeatIndex: number, type: ArtifactType): string;
|
|
53
71
|
declare function parseRetryAfterMs(headerValue: string | null, nowMs: number): number | null;
|
|
54
72
|
declare function computeBackoffMs(retryNumber: number): number;
|
|
55
73
|
export default class SquallyReporter implements Reporter {
|
|
@@ -66,6 +84,33 @@ export default class SquallyReporter implements Reporter {
|
|
|
66
84
|
private runConfig;
|
|
67
85
|
private buffer;
|
|
68
86
|
private artifacts;
|
|
87
|
+
/**
|
|
88
|
+
* Every result this shard produced, counted where it is produced (0.6.0).
|
|
89
|
+
*
|
|
90
|
+
* SIX PATHS LOSE RESULTS, and this counter exists because five of them are
|
|
91
|
+
* invisible afterwards and the sixth cannot be counted at all where it
|
|
92
|
+
* happens:
|
|
93
|
+
*
|
|
94
|
+
* 1. a batch dropped after its retries are spent (429, 5xx, network,
|
|
95
|
+
* unparseable response) - sendBatch's default branch
|
|
96
|
+
* 2. a batch dropped as malformed (400), which is not retried
|
|
97
|
+
* 3. the whole unsent buffer discarded by giveUp() on 402/404/409
|
|
98
|
+
* 4. every result produced AFTER a give-up - onTestEnd returns before the
|
|
99
|
+
* buffer, so there is nothing to count at the point of loss
|
|
100
|
+
* 5. batches still in flight when the drain budget expires at onEnd; the
|
|
101
|
+
* process then completes the run and exits out from under them
|
|
102
|
+
* 6. onBegin never getting a runId, so nothing was ever sendable
|
|
103
|
+
*
|
|
104
|
+
* A drop counter would have to be correct in all six places forever, and
|
|
105
|
+
* path 4 has no place to put it. Counting production instead needs one
|
|
106
|
+
* increment in one function, and it makes loss visible even on a path this
|
|
107
|
+
* reporter does not yet know about - the server compares this against what
|
|
108
|
+
* it actually stored.
|
|
109
|
+
*
|
|
110
|
+
* Per shard, for this shard's runId: each shard reports its own production
|
|
111
|
+
* against its own row, so no group arithmetic is needed on either side.
|
|
112
|
+
*/
|
|
113
|
+
private resultsProduced;
|
|
69
114
|
private sendingDisabled;
|
|
70
115
|
private flushTimerHandle;
|
|
71
116
|
private inFlightFlushes;
|
|
@@ -116,7 +161,9 @@ export declare const __internal: {
|
|
|
116
161
|
mapErrors: typeof mapErrors;
|
|
117
162
|
parseRetryAfterMs: typeof parseRetryAfterMs;
|
|
118
163
|
computeBackoffMs: typeof computeBackoffMs;
|
|
164
|
+
flushIntervalFor: typeof flushIntervalFor;
|
|
119
165
|
attemptQualifiesForArtifacts: typeof attemptQualifiesForArtifacts;
|
|
120
166
|
artifactKey: typeof artifactKey;
|
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ExB,OAAO,GAAE,sBAA2B;IAsBhD,OAAO,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK;IAuDxC;;;;;;;OAOG;IACH,OAAO,CAAC,QAAQ;IAYhB,WAAW;IAkBX,OAAO,CAAC,gBAAgB;IAUxB,SAAS,CAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU;IAyJ5C,KAAK,GAAU,QAAQ,UAAU,mBA6B/B;YAsBY,gBAAgB;IA6D9B,OAAO,CAAC,aAAa;IAcrB,OAAO,CAAC,cAAc;IAatB,OAAO,CAAC,MAAM;IAMd,OAAO,CAAC,YAAY;YAQN,KAAK;YA6BL,SAAS;YAqDT,QAAQ;YAqDR,WAAW;YAgCX,UAAU;YA6CV,WAAW;YAsEX,eAAe;YAQf,gBAAgB;CAuK/B;AAKD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;CAkBtB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -138,6 +138,47 @@ const RULES_REQUEST_TIMEOUT_MS = 5000;
|
|
|
138
138
|
// API key): 60 s / 2 s = 30 requests/minute, half of 60.
|
|
139
139
|
const FLUSH_THRESHOLD_RESULTS = 25;
|
|
140
140
|
const FLUSH_INTERVAL_MS = 2000;
|
|
141
|
+
// Scaled by the shard count (0.6.0), because the budget the 2 s above was
|
|
142
|
+
// derived from is NOT per reporter - it is per API key, and every shard of a
|
|
143
|
+
// run carries the same key. The firewall counts `header:authorization`, so
|
|
144
|
+
// eight shards each flushing every 2 s produce 8 x 30 = 240 requests/minute
|
|
145
|
+
// against a 60/minute rule. The "half of 60" margin the constant above claims
|
|
146
|
+
// was computed for a single reporter and silently stopped holding the day
|
|
147
|
+
// sharding arrived.
|
|
148
|
+
//
|
|
149
|
+
// interval x shards keeps the AGGREGATE rate at 30/minute for any shard count:
|
|
150
|
+
// S shards x (60 s / 2S s) = 30. The live view does not get slower for it
|
|
151
|
+
// either - it shows the RUN, and a run made of S shards receives an update
|
|
152
|
+
// from one shard or another every 2 s on average regardless of S.
|
|
153
|
+
//
|
|
154
|
+
// CAPPED, and the cap is about crash exposure rather than rate. Everything
|
|
155
|
+
// buffered is lost if the runner is killed (CI cancellation, OOM), so the
|
|
156
|
+
// interval is also the size of the window at risk. 30 s is the same figure
|
|
157
|
+
// RATE_LIMIT_BACKOFF_CAP_MS uses for "the longest we ever wait", and it keeps
|
|
158
|
+
// the aggregate inside the budget up to 30 shards (S x 60/30 <= 60), which
|
|
159
|
+
// covers the 4-to-16 range the app's own shard documentation describes with
|
|
160
|
+
// room to spare.
|
|
161
|
+
//
|
|
162
|
+
// Above 30 shards the aggregate creeps over the rule again. That is accepted:
|
|
163
|
+
// it is outside the documented range, the retry path already handles a 429,
|
|
164
|
+
// and since 0.6.0 any batch actually lost to it is visible in the
|
|
165
|
+
// resultsProduced diff rather than silent.
|
|
166
|
+
const FLUSH_INTERVAL_CAP_MS = 30000;
|
|
167
|
+
/**
|
|
168
|
+
* This shard's flush interval: the base cadence stretched by how many shards
|
|
169
|
+
* share the rate budget with it.
|
|
170
|
+
*
|
|
171
|
+
* Only the TIMER is scaled. FLUSH_THRESHOLD_RESULTS is not, and that is
|
|
172
|
+
* deliberate: it is a latency bound on a fast suite, not a rate control, and
|
|
173
|
+
* stretching it would delay results without bounding the burst any better -
|
|
174
|
+
* the burst is bounded by how fast tests finish, which is not ours to set.
|
|
175
|
+
* The spec's acknowledged worst case (a very fast unit-style suite crossing 25
|
|
176
|
+
* faster than the interval) is therefore unchanged by this.
|
|
177
|
+
*/
|
|
178
|
+
function flushIntervalFor(shardTotal) {
|
|
179
|
+
const shards = Math.max(1, shardTotal ?? 1);
|
|
180
|
+
return Math.min(FLUSH_INTERVAL_CAP_MS, FLUSH_INTERVAL_MS * shards);
|
|
181
|
+
}
|
|
141
182
|
// --- Retry policy (spec section 3.2) ----------------------------------------
|
|
142
183
|
//
|
|
143
184
|
// Two independent policies, both applied by requestJson() below via separate
|
|
@@ -371,6 +412,14 @@ function resolveBrowserName(test) {
|
|
|
371
412
|
// test" - testedRevision fills that gap.
|
|
372
413
|
// Applied to every resolved revision value before it's sent, regardless of
|
|
373
414
|
// which pattern below produced it.
|
|
415
|
+
// Warned about ONCE per process, not per call (D5). The three rewrites below
|
|
416
|
+
// are deliberate and stay - what the finding was about is that they happened
|
|
417
|
+
// SILENTLY: a customer whose release tag is "V2.1" sees "2.1" arrive in the
|
|
418
|
+
// dashboard with nothing anywhere saying who changed it, and the natural
|
|
419
|
+
// conclusion is that Squally lost the value. One line on the first rewrite is
|
|
420
|
+
// enough to make it findable; repeating it per test would bury the run's real
|
|
421
|
+
// output under a rewrite that is the same every time.
|
|
422
|
+
let warnedAboutRevisionRewrite = false;
|
|
374
423
|
function normalizeRevision(raw) {
|
|
375
424
|
let value = raw.toLowerCase();
|
|
376
425
|
if (value.startsWith("refs/heads/")) {
|
|
@@ -379,6 +428,12 @@ function normalizeRevision(raw) {
|
|
|
379
428
|
if (/^v\d/.test(value)) {
|
|
380
429
|
value = value.slice(1);
|
|
381
430
|
}
|
|
431
|
+
if (value !== raw && !warnedAboutRevisionRewrite) {
|
|
432
|
+
warnedAboutRevisionRewrite = true;
|
|
433
|
+
console.warn(`[squally-reporter] Normalised the tested revision for comparison: ` +
|
|
434
|
+
`'${raw}' -> '${value}' (lowercased, and any 'refs/heads/' prefix or ` +
|
|
435
|
+
`leading 'v' removed). The original is not what gets stored.`);
|
|
436
|
+
}
|
|
382
437
|
return value;
|
|
383
438
|
}
|
|
384
439
|
// Fallback chain:
|
|
@@ -437,9 +492,22 @@ function toPosixPath(p) {
|
|
|
437
492
|
// file has to stay plain, readable ASCII - a raw ESC byte pasted into source
|
|
438
493
|
// code is invisible in most editors/diffs and easy to mistake for empty
|
|
439
494
|
// content.
|
|
495
|
+
// TWO PATTERNS SINCE THIS RELEASE (T2-T5's stripAnsi item), because terminal
|
|
496
|
+
// escapes come in two shapes and only one was handled. CSI is the familiar
|
|
497
|
+
// colour/cursor form. OSC - "operating system command" - is ESC ] followed by
|
|
498
|
+
// a body and terminated by BEL or by ESC backslash; hyperlinks (OSC 8) and
|
|
499
|
+
// window-title changes use it, and CI tooling emits them often enough that
|
|
500
|
+
// they were reaching stored console output intact.
|
|
501
|
+
//
|
|
502
|
+
// The escape characters are built from char codes rather than written as
|
|
503
|
+
// literals, the way the original did, so this file stays free of raw control
|
|
504
|
+
// bytes - a lesson this codebase has already paid for once.
|
|
505
|
+
const ESC = String.fromCharCode(27);
|
|
506
|
+
const BEL = String.fromCharCode(7);
|
|
507
|
+
const CSI_PATTERN = new RegExp(ESC + "\\[[0-9;]*[a-zA-Z]", "g");
|
|
508
|
+
const OSC_PATTERN = new RegExp(ESC + "\\][^" + BEL + ESC + "]*(?:" + BEL + "|" + ESC + "\\\\)", "g");
|
|
440
509
|
function stripAnsi(value) {
|
|
441
|
-
|
|
442
|
-
return value.replace(ansiPattern, "");
|
|
510
|
+
return value.replace(CSI_PATTERN, "").replace(OSC_PATTERN, "");
|
|
443
511
|
}
|
|
444
512
|
// Playwright captures stdout/stderr as two separate arrays (each internally
|
|
445
513
|
// chronological, but not merged with each other), so a true byte-accurate
|
|
@@ -651,8 +719,15 @@ function attemptQualifiesForArtifacts(mappedStatus, retryCount) {
|
|
|
651
719
|
// back to the local CollectedArtifact once the server round-trips these
|
|
652
720
|
// identity fields). Unchanged from v1 - see the CollectedArtifact comment
|
|
653
721
|
// above for why this stays a 4-part key under v2.
|
|
654
|
-
|
|
655
|
-
|
|
722
|
+
// FIVE PARTS SINCE THIS RELEASE, matching the tuple the app resolves by. The
|
|
723
|
+
// four-part version collided under `repeatEach`: two repetitions of one test
|
|
724
|
+
// share testName, filePath, retryCount and type, so the map kept only the last
|
|
725
|
+
// of them and the presign result for the first was matched to the wrong local
|
|
726
|
+
// file - or, once both mapped to the same entry, one upload was silently
|
|
727
|
+
// dropped. The app echoes repeatIndex back on every result for exactly this
|
|
728
|
+
// purpose (squally-app/app/api/artifacts/presign/route.ts says so at the type).
|
|
729
|
+
function artifactKey(testName, filePath, retryCount, repeatIndex, type) {
|
|
730
|
+
return [testName, filePath, String(retryCount), String(repeatIndex), type].join(String.fromCharCode(1));
|
|
656
731
|
}
|
|
657
732
|
function skipReasonMessage(reason) {
|
|
658
733
|
if (reason === "file_too_large")
|
|
@@ -772,6 +847,33 @@ class SquallyReporter {
|
|
|
772
847
|
this.projectName = null;
|
|
773
848
|
this.buffer = [];
|
|
774
849
|
this.artifacts = [];
|
|
850
|
+
/**
|
|
851
|
+
* Every result this shard produced, counted where it is produced (0.6.0).
|
|
852
|
+
*
|
|
853
|
+
* SIX PATHS LOSE RESULTS, and this counter exists because five of them are
|
|
854
|
+
* invisible afterwards and the sixth cannot be counted at all where it
|
|
855
|
+
* happens:
|
|
856
|
+
*
|
|
857
|
+
* 1. a batch dropped after its retries are spent (429, 5xx, network,
|
|
858
|
+
* unparseable response) - sendBatch's default branch
|
|
859
|
+
* 2. a batch dropped as malformed (400), which is not retried
|
|
860
|
+
* 3. the whole unsent buffer discarded by giveUp() on 402/404/409
|
|
861
|
+
* 4. every result produced AFTER a give-up - onTestEnd returns before the
|
|
862
|
+
* buffer, so there is nothing to count at the point of loss
|
|
863
|
+
* 5. batches still in flight when the drain budget expires at onEnd; the
|
|
864
|
+
* process then completes the run and exits out from under them
|
|
865
|
+
* 6. onBegin never getting a runId, so nothing was ever sendable
|
|
866
|
+
*
|
|
867
|
+
* A drop counter would have to be correct in all six places forever, and
|
|
868
|
+
* path 4 has no place to put it. Counting production instead needs one
|
|
869
|
+
* increment in one function, and it makes loss visible even on a path this
|
|
870
|
+
* reporter does not yet know about - the server compares this against what
|
|
871
|
+
* it actually stored.
|
|
872
|
+
*
|
|
873
|
+
* Per shard, for this shard's runId: each shard reports its own production
|
|
874
|
+
* against its own row, so no group arithmetic is needed on either side.
|
|
875
|
+
*/
|
|
876
|
+
this.resultsProduced = 0;
|
|
775
877
|
// True once nothing more will ever be sent for this run - a permanent
|
|
776
878
|
// give-up (402/404/409 on append, or onBegin never getting a runId at
|
|
777
879
|
// all). onTestEnd stops collecting further results/artifacts once this is
|
|
@@ -831,7 +933,18 @@ class SquallyReporter {
|
|
|
831
933
|
// This wait exists precisely to keep the process alive while sockets
|
|
832
934
|
// finish closing - see delay(), and test/exit-code's failing-suite
|
|
833
935
|
// scenario, which is what catches it if the unref ever comes back.
|
|
834
|
-
|
|
936
|
+
//
|
|
937
|
+
// WINDOWS ONLY SINCE THIS RELEASE. The race it mitigates is a libuv
|
|
938
|
+
// assertion in src/win/async.c; it has never been observed on Linux, and
|
|
939
|
+
// the CI matrix was built specifically to answer whether Linux is
|
|
940
|
+
// affected - both jobs have been green throughout, so the 250 ms was
|
|
941
|
+
// being spent on Ubuntu for nothing, on every run of every customer.
|
|
942
|
+
//
|
|
943
|
+
// The matrix stays as it is: if this ever has to come back for Linux,
|
|
944
|
+
// the job that would show it is the one that already runs.
|
|
945
|
+
if (process.platform === "win32") {
|
|
946
|
+
await delay(EXIT_DRAIN_MS);
|
|
947
|
+
}
|
|
835
948
|
}
|
|
836
949
|
};
|
|
837
950
|
const apiUrl = options.apiUrl ?? process.env.SQUALLY_API_URL;
|
|
@@ -945,7 +1058,21 @@ class SquallyReporter {
|
|
|
945
1058
|
};
|
|
946
1059
|
}
|
|
947
1060
|
onTestEnd(test, result) {
|
|
948
|
-
|
|
1061
|
+
// Two guards, deliberately split by the counter between them.
|
|
1062
|
+
//
|
|
1063
|
+
// `enabled` is false when there is nothing to report to at all (no URL or
|
|
1064
|
+
// key, or `--list`): no run exists, no /complete will be sent, and there
|
|
1065
|
+
// is nothing for a count to be compared against.
|
|
1066
|
+
//
|
|
1067
|
+
// `sendingDisabled` is different - a run DOES exist server-side, it will
|
|
1068
|
+
// be completed, and every result arriving after the give-up is lost. That
|
|
1069
|
+
// is loss path 4, and counting BEFORE this return is the only place it can
|
|
1070
|
+
// be seen. Moving the increment below the return would make the largest
|
|
1071
|
+
// loss path of the six silently report zero.
|
|
1072
|
+
if (!this.enabled)
|
|
1073
|
+
return;
|
|
1074
|
+
this.resultsProduced += 1;
|
|
1075
|
+
if (this.sendingDisabled)
|
|
949
1076
|
return;
|
|
950
1077
|
// Belt and braces: onTestBegin has already done this for every test
|
|
951
1078
|
// Playwright executes, but a result arriving without its begin would
|
|
@@ -975,6 +1102,15 @@ class SquallyReporter {
|
|
|
975
1102
|
// may not have this field at all.
|
|
976
1103
|
const repeatIndex = typeof test.repeatEachIndex === "number" ? test.repeatEachIndex : 0;
|
|
977
1104
|
const testTags = Array.isArray(test.tags) ? test.tags : [];
|
|
1105
|
+
// Playwright's `test.fail()` marker (spec section 1.3.1). `expectedStatus`
|
|
1106
|
+
// is "failed" for exactly this and for nothing else: test.skip() and
|
|
1107
|
+
// test.fixme() both make it "skipped", which is a different statement and
|
|
1108
|
+
// deliberately not sent.
|
|
1109
|
+
//
|
|
1110
|
+
// Guarded like runTags and repeatEachIndex above - an older installed
|
|
1111
|
+
// Playwright may not carry the field, and `undefined === "failed"` is
|
|
1112
|
+
// false, which is the right answer for a runner that cannot tell us.
|
|
1113
|
+
const expectedFailure = test.expectedStatus === "failed";
|
|
978
1114
|
const errorContextAttachment = result.attachments.find((attachment) => attachment.name === "error-context");
|
|
979
1115
|
this.buffer.push({
|
|
980
1116
|
testName,
|
|
@@ -982,6 +1118,10 @@ class SquallyReporter {
|
|
|
982
1118
|
status,
|
|
983
1119
|
retryCount: result.retry,
|
|
984
1120
|
repeatIndex,
|
|
1121
|
+
// Omitted rather than sent as false: the field is optional on the wire
|
|
1122
|
+
// and absent means "not marked", so an ordinary suite sends nothing at
|
|
1123
|
+
// all rather than a false on every single result.
|
|
1124
|
+
...(expectedFailure ? { expectedFailure: true } : {}),
|
|
985
1125
|
durationMs: result.duration,
|
|
986
1126
|
errors: mapErrors(result.errors),
|
|
987
1127
|
consoleOutput: prepareConsoleOutput(formatConsoleOutput(result)),
|
|
@@ -1027,6 +1167,10 @@ class SquallyReporter {
|
|
|
1027
1167
|
testName,
|
|
1028
1168
|
filePath,
|
|
1029
1169
|
retryCount: result.retry,
|
|
1170
|
+
// THE SAME `repeatIndex` the result entry above was pushed with, not a
|
|
1171
|
+
// second derivation - the app resolves an artifact back to that exact
|
|
1172
|
+
// row, so the two have to be the same value by construction.
|
|
1173
|
+
repeatIndex,
|
|
1030
1174
|
type: attachment.name,
|
|
1031
1175
|
localPath: attachment.path,
|
|
1032
1176
|
sizeBytes,
|
|
@@ -1114,7 +1258,11 @@ class SquallyReporter {
|
|
|
1114
1258
|
const handle = setTimeout(() => {
|
|
1115
1259
|
this.triggerFlush();
|
|
1116
1260
|
this.armFlushTimer();
|
|
1117
|
-
|
|
1261
|
+
// Read per arming rather than cached at onBegin: shardTotal is known
|
|
1262
|
+
// before the first arming (config.shard.total, set in onBegin), so this
|
|
1263
|
+
// is the same value every time - reading it here keeps the timer honest
|
|
1264
|
+
// if that ever stops being true.
|
|
1265
|
+
}, flushIntervalFor(this.shardTotal));
|
|
1118
1266
|
handle.unref();
|
|
1119
1267
|
this.flushTimerHandle = handle;
|
|
1120
1268
|
}
|
|
@@ -1254,6 +1402,9 @@ class SquallyReporter {
|
|
|
1254
1402
|
shardIndex: this.shardIndex,
|
|
1255
1403
|
status,
|
|
1256
1404
|
finishedAt: new Date().toISOString(),
|
|
1405
|
+
// Read at the last possible moment: every loss path has already happened
|
|
1406
|
+
// by the time /complete is sent, so this number is final.
|
|
1407
|
+
resultsProduced: this.resultsProduced,
|
|
1257
1408
|
};
|
|
1258
1409
|
const outcome = await this.requestJson("POST", `${this.apiUrl}/api/ingest/v2/runs/${runId}/complete`, payload);
|
|
1259
1410
|
if (outcome.kind !== "ok") {
|
|
@@ -1385,6 +1536,7 @@ class SquallyReporter {
|
|
|
1385
1536
|
testName: artifact.testName,
|
|
1386
1537
|
filePath: artifact.filePath,
|
|
1387
1538
|
retryCount: artifact.retryCount,
|
|
1539
|
+
repeatIndex: artifact.repeatIndex,
|
|
1388
1540
|
type: artifact.type,
|
|
1389
1541
|
sizeBytes: artifact.sizeBytes,
|
|
1390
1542
|
}));
|
|
@@ -1418,12 +1570,15 @@ class SquallyReporter {
|
|
|
1418
1570
|
// guaranteed to match one of this.artifacts (barring a server bug),
|
|
1419
1571
|
// but a missing lookup is handled defensively below instead of assumed.
|
|
1420
1572
|
const artifactsByKey = new Map(this.artifacts.map((artifact) => [
|
|
1421
|
-
artifactKey(artifact.testName, artifact.filePath, artifact.retryCount, artifact.type),
|
|
1573
|
+
artifactKey(artifact.testName, artifact.filePath, artifact.retryCount, artifact.repeatIndex, artifact.type),
|
|
1422
1574
|
artifact,
|
|
1423
1575
|
]));
|
|
1424
1576
|
const uploads = [];
|
|
1425
1577
|
for (const item of presignResults) {
|
|
1426
|
-
|
|
1578
|
+
// `?? 0` mirrors what the app stores: v2 rows carry an int, and a
|
|
1579
|
+
// reporter this old cannot produce a v1 row. It is a type guard for the
|
|
1580
|
+
// echoed field, not a fallback anything relies on.
|
|
1581
|
+
const local = artifactsByKey.get(artifactKey(item.testName, item.filePath ?? "", item.retryCount, item.repeatIndex ?? 0, item.type));
|
|
1427
1582
|
if (!local)
|
|
1428
1583
|
continue;
|
|
1429
1584
|
if (item.skip) {
|
|
@@ -1466,6 +1621,10 @@ class SquallyReporter {
|
|
|
1466
1621
|
testName: artifact.testName,
|
|
1467
1622
|
filePath: artifact.filePath,
|
|
1468
1623
|
retryCount: artifact.retryCount,
|
|
1624
|
+
// Confirm resolves by the SAME five fields as presign
|
|
1625
|
+
// (squally-app/app/api/artifacts/confirm/route.ts) - sending four here
|
|
1626
|
+
// would move the outage from the upload to the confirmation.
|
|
1627
|
+
repeatIndex: artifact.repeatIndex,
|
|
1469
1628
|
type: artifact.type,
|
|
1470
1629
|
}));
|
|
1471
1630
|
try {
|
|
@@ -1515,6 +1674,8 @@ exports.__internal = {
|
|
|
1515
1674
|
mapErrors,
|
|
1516
1675
|
parseRetryAfterMs,
|
|
1517
1676
|
computeBackoffMs,
|
|
1677
|
+
flushIntervalFor,
|
|
1518
1678
|
attemptQualifiesForArtifacts,
|
|
1519
1679
|
artifactKey,
|
|
1520
1680
|
};
|
|
1681
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AASA,2DAA8C;AAC9C,6CAAyC;AACzC,qCAAiD;AACjD,+CAA4C;AAC5C,qCAA4C;AAC5C,0DAA6B;AAC7B,mCAAsC;AAwNtC,iEAAiE;AACjE,8EAA8E;AAC9E,0EAA0E;AAC1E,6EAA6E;AAC7E,wEAAwE;AACxE,6EAA6E;AAC7E,6EAA6E;AAC7E,yCAAyC;AACzC,EAAE;AACF,6EAA6E;AAC7E,6DAA6D;AAC7D,MAAM,YAAY,GAAG;IACnB,MAAM,EAAE,GAAG;IACX,SAAS,EAAE,GAAG;IACd,aAAa,EAAE,GAAG;IAClB,UAAU,EAAE,GAAG;IACf,cAAc,EAAE,GAAG;IACnB,SAAS,EAAE,GAAG;IACd,QAAQ,EAAE,GAAG;IACb,QAAQ,EAAE,GAAG;IACb,YAAY,EAAE,IAAI;IAClB,UAAU,EAAE,KAAK;CACT,CAAC;AAEX,2EAA2E;AAC3E,oEAAoE;AACpE,MAAM,eAAe,GAAG;IACtB,OAAO,EAAE,GAAG;IACZ,WAAW,EAAE,GAAG;IAChB,WAAW,EAAE,EAAE;IACf,YAAY,EAAE,KAAK;IACnB,GAAG,EAAE,GAAG;IACR,iBAAiB,EAAE,EAAE;IACrB,EAAE,EAAE,GAAG;IACP,SAAS,EAAE,EAAE;CACL,CAAC;AAEX,MAAM,QAAQ,GAAG,EAAE,CAAC;AACpB,MAAM,qBAAqB,GAAG,EAAE,CAAC;AACjC,MAAM,iBAAiB,GAAG,IAAI,CAAC;AAE/B,0EAA0E;AAC1E,4EAA4E;AAC5E,gBAAgB;AAChB,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;AAE5C,4EAA4E;AAC5E,0EAA0E;AAC1E,2EAA2E;AAC3E,oBAAo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EAAE,CACvF,CAAC;gBACF,OAAO;YACT,CAAC;YAED,MAAM,IAAI,GAAG,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAqC,CAAC;YACzE,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;gBAChC,IAAI,IAAI,CAAC,SAAS;oBAAE,SAAS;gBAC7B,OAAO,CAAC,IAAI,CACV,sBAAsB,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,QAAQ,oBAAoB,oBAAoB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAC5H,CAAC;YACJ,CAAC;QACH,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,CAAC,IAAI,CACV,qDAAqD,EACrD,oBAAoB,CAAC,GAAG,EAAE,sBAAsB,CAAC,CAClD,CAAC;QACJ,CAAC;IACH,CAAC;CAEF;AAl9BD,kCAk9BC;AAED,8EAA8E;AAC9E,6EAA6E;AAC7E,8EAA8E;AACjE,QAAA,UAAU,GAAG;IACxB,QAAQ;IACR,cAAc;IACd,SAAS;IACT,SAAS;IACT,iBAAiB;IACjB,qBAAqB;IACrB,WAAW;IACX,aAAa;IACb,kBAAkB;IAClB,WAAW;IACX,oBAAoB;IACpB,SAAS;IACT,iBAAiB;IACjB,gBAAgB;IAChB,gBAAgB;IAChB,4BAA4B;IAC5B,WAAW;CACZ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,42 +1,50 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "squally-reporter",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Playwright reporter that sends test results to your Squally dashboard.",
|
|
5
|
-
"author": "Squally <squally.dev@gmail.com>",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"playwright",
|
|
8
|
-
"playwright-reporter",
|
|
9
|
-
"flaky-tests",
|
|
10
|
-
"test-results",
|
|
11
|
-
"ci"
|
|
12
|
-
],
|
|
13
|
-
"main": "dist/index.js",
|
|
14
|
-
"types": "dist/index.d.ts",
|
|
15
|
-
"files": [
|
|
16
|
-
"dist"
|
|
17
|
-
],
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
},
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "squally-reporter",
|
|
3
|
+
"version": "0.7.0",
|
|
4
|
+
"description": "Playwright reporter that sends test results to your Squally dashboard.",
|
|
5
|
+
"author": "Squally <squally.dev@gmail.com>",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"playwright",
|
|
8
|
+
"playwright-reporter",
|
|
9
|
+
"flaky-tests",
|
|
10
|
+
"test-results",
|
|
11
|
+
"ci"
|
|
12
|
+
],
|
|
13
|
+
"main": "dist/index.js",
|
|
14
|
+
"types": "dist/index.d.ts",
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/squallydev-admin/squally-reporter.git"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/squallydev-admin/squally-reporter/issues"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://squally.dev",
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=22.19.0"
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "tsc",
|
|
31
|
+
"prepublishOnly": "npm run build",
|
|
32
|
+
"prepare": "npm run build",
|
|
33
|
+
"test:unit": "node --test \"test/unit/**/*.test.js\"",
|
|
34
|
+
"test:exit-code": "node test/exit-code/run.mjs",
|
|
35
|
+
"test:empty-runs": "node test/empty-runs/run.mjs",
|
|
36
|
+
"test": "npm run build && npm run test:unit && npm run test:exit-code && npm run test:empty-runs"
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"@playwright/test": ">=1.30.0"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@playwright/test": "^1.48.0",
|
|
43
|
+
"@types/node": "^20.14.0",
|
|
44
|
+
"typescript": "^5.6.0"
|
|
45
|
+
},
|
|
46
|
+
"license": "MIT",
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"undici": "^8.10.0"
|
|
49
|
+
}
|
|
50
|
+
}
|