squally-reporter 0.16.0 → 0.18.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 +140 -9
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +8 -2
- package/dist/cli.js.map +1 -1
- package/dist/http-config.d.ts +19 -0
- package/dist/http-config.d.ts.map +1 -1
- package/dist/http-config.js +40 -2
- package/dist/http-config.js.map +1 -1
- package/dist/index.d.ts +282 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +963 -257
- package/dist/index.js.map +1 -1
- package/dist/squally-response.d.ts +11 -0
- package/dist/squally-response.d.ts.map +1 -1
- package/dist/squally-response.js +38 -0
- package/dist/squally-response.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -114,6 +114,15 @@ passed) - never for an attempt that passed on its first try, regardless of how
|
|
|
114
114
|
that just passed, and uploading one anyway would only eat into your
|
|
115
115
|
organization's storage for no benefit.
|
|
116
116
|
|
|
117
|
+
**Uploaded while the suite runs (0.18.0).** An attempt's artifacts go up as
|
|
118
|
+
soon as Squally has accepted the batch that carries its result - not only
|
|
119
|
+
after the last test, as until 0.17.0. A job that is cancelled or killed
|
|
120
|
+
partway keeps the artifacts of every result that already arrived. When the
|
|
121
|
+
suite ends, the reporter waits **up to 3 minutes** for the uploads still
|
|
122
|
+
running; the last 15 seconds of that only finish the confirmation, no new
|
|
123
|
+
upload starts in them. A file is sent as a stream, not read into memory
|
|
124
|
+
first.
|
|
125
|
+
|
|
117
126
|
**You need to actually enable capture in `playwright.config.ts`** - without
|
|
118
127
|
it, Playwright doesn't produce any attachments, so there's nothing for the
|
|
119
128
|
reporter to find or upload (no error either way, it's a silent no-op):
|
|
@@ -140,8 +149,10 @@ release of it:
|
|
|
140
149
|
The test result itself is reported as usual, and the run's outcome and exit
|
|
141
150
|
code are untouched. In the dashboard that artifact is shown as skipped, with
|
|
142
151
|
the reason, rather than silently missing.
|
|
143
|
-
- **At most 250 artifacts per
|
|
144
|
-
|
|
152
|
+
- **At most 250 artifacts per request.** Since 0.18.0 the reporter sends them
|
|
153
|
+
in rounds of at most 250, so a shard with more no longer loses the rest.
|
|
154
|
+
Until 0.17.0 a shard's artifacts went in one request, and Squally kept the
|
|
155
|
+
first 250.
|
|
145
156
|
- **A total storage cap per organization, depending on your Squally plan.**
|
|
146
157
|
Once it is reached, further uploads are rejected the same way until you free
|
|
147
158
|
up space or upgrade. Note that a fully instrumented suite now produces up to
|
|
@@ -151,9 +162,14 @@ release of it:
|
|
|
151
162
|
- **Your test's own `stdout`/`stderr` is cut at 16 KB** before it is sent. That
|
|
152
163
|
is this reporter's own limit, not Squally's, and it applies whether or not
|
|
153
164
|
you capture artifacts at all.
|
|
154
|
-
- Two minutes per upload, and 30 seconds for the calls that surround it.
|
|
155
|
-
|
|
156
|
-
|
|
165
|
+
- Two minutes per upload, and 30 seconds for the calls that surround it. Since
|
|
166
|
+
0.18.0 a network error, an HTTP 5xx or a 429 is retried like the results
|
|
167
|
+
(see *When Squally cannot be reached for a while*), and the 3 minutes at the
|
|
168
|
+
end bound the whole wait. What did not arrive is said once, at the end:
|
|
169
|
+
|
|
170
|
+
```
|
|
171
|
+
[squally-reporter] 2 of 9 artifacts did not reach Squally - the storage answered HTTP 503, and the retries ran out. Your test run and its exit code are not affected.
|
|
172
|
+
```
|
|
157
173
|
|
|
158
174
|
Upload is best-effort and fully non-blocking, same principle as the rest of
|
|
159
175
|
this reporter - a failed or skipped upload never fails your test run or
|
|
@@ -202,6 +218,98 @@ If Squally is unreachable partway through, results already sent stay in the
|
|
|
202
218
|
dashboard; only what could not be delivered is lost, and your test run's exit
|
|
203
219
|
code is never affected either way.
|
|
204
220
|
|
|
221
|
+
## The end of a run (0.18.0)
|
|
222
|
+
|
|
223
|
+
When every result arrived and the run is marked complete, the last line says
|
|
224
|
+
where it is and what got there:
|
|
225
|
+
|
|
226
|
+
```
|
|
227
|
+
[squally-reporter] Reported to Squally: run #128 · 412 results, 9 artifacts · https://app.squally.dev/o/…/runs/…
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
If something did not arrive, that line is replaced by the one that says what
|
|
231
|
+
is missing (see below).
|
|
232
|
+
|
|
233
|
+
**`SQUALLY_OUTPUT_FILE`** writes the run's link and counts as JSON, for a
|
|
234
|
+
later CI step that posts the link somewhere:
|
|
235
|
+
|
|
236
|
+
```bash
|
|
237
|
+
SQUALLY_OUTPUT_FILE=test-results/squally.json
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
```json
|
|
241
|
+
{
|
|
242
|
+
"version": 1,
|
|
243
|
+
"runUrl": "https://app.squally.dev/o/…/runs/…",
|
|
244
|
+
"runNumber": 128,
|
|
245
|
+
"runId": "…",
|
|
246
|
+
"shard": null,
|
|
247
|
+
"complete": true,
|
|
248
|
+
"tests": { "passed": 40, "failed": 1, "flaky": 1, "skipped": 0 },
|
|
249
|
+
"results": { "produced": 44, "delivered": 44 },
|
|
250
|
+
"artifacts": { "uploaded": 3, "notUploaded": 0 }
|
|
251
|
+
}
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
- Written at the very end of every run the reporter took part in - also one
|
|
255
|
+
Squally refused or could not be reached for, then with `runUrl: null` and
|
|
256
|
+
`complete: false`, so the file is always there for the next step. Missing
|
|
257
|
+
directories are created.
|
|
258
|
+
- `tests` counts this process's tests the way Playwright does at the end
|
|
259
|
+
(`expected` as passed, `unexpected` as failed, `flaky`, `skipped`).
|
|
260
|
+
`results` counts attempts: produced, and accepted by Squally.
|
|
261
|
+
- One file per process: under `--shard`, give each shard its own path (or
|
|
262
|
+
read them one after another), and `shard` says which one it was.
|
|
263
|
+
- A path that cannot be written is one warning; the exit code stays yours.
|
|
264
|
+
- New fields may be added; `version` changes only if one changes meaning.
|
|
265
|
+
|
|
266
|
+
## When Squally cannot be reached for a while (0.17.0)
|
|
267
|
+
|
|
268
|
+
Some failures pass on their own, and the reporter waits them out instead of
|
|
269
|
+
dropping results:
|
|
270
|
+
|
|
271
|
+
- a network error or a request without an answer within 30 seconds,
|
|
272
|
+
- an HTTP 5xx,
|
|
273
|
+
- HTTP 429 (Squally's rate limit),
|
|
274
|
+
- HTTP 403 from Vercel's firewall in front of Squally - the answer carries
|
|
275
|
+
`x-vercel-mitigated: challenge` (or `deny`). The firewall can challenge one
|
|
276
|
+
runner for a few minutes; it says nothing about your key.
|
|
277
|
+
|
|
278
|
+
Each request is retried after 1 second, then 2, 4, 8 and so on up to 30
|
|
279
|
+
seconds between tries (each wait shortened by a random part, so shards
|
|
280
|
+
refused together do not come back together), for up to 90 seconds. A
|
|
281
|
+
`Retry-After` header is honoured. The start of the run gets the same 90
|
|
282
|
+
seconds; your tests run meanwhile and their results are held until Squally
|
|
283
|
+
answers. While Squally keeps refusing, results go out one request at a time.
|
|
284
|
+
|
|
285
|
+
Not retried, because waiting does not change them: Squally's own error
|
|
286
|
+
answers (a refused key, an exhausted quota, an unknown or finished run), an
|
|
287
|
+
HTTP 403 *without* the firewall's header, and a redirect. Those keep their own
|
|
288
|
+
line, as before.
|
|
289
|
+
|
|
290
|
+
The artifact uploads follow the same rules since 0.18.0 (until then each was
|
|
291
|
+
tried once): the request for the upload URL, the upload to storage (a network
|
|
292
|
+
error, HTTP 5xx or 429) and the confirmation. They have their own line at the
|
|
293
|
+
end and never delay the results.
|
|
294
|
+
|
|
295
|
+
When your suite ends, the reporter normally waits up to 5 seconds for the last
|
|
296
|
+
results. After one of the failures above it waits up to 60 seconds, for the
|
|
297
|
+
last results and for marking the run complete.
|
|
298
|
+
|
|
299
|
+
What did not arrive is said once, at the end - not once per batch:
|
|
300
|
+
|
|
301
|
+
```
|
|
302
|
+
[squally-reporter] 37 of 412 results did not reach Squally - Vercel's firewall in front of Squally challenged this runner (HTTP 403, x-vercel-mitigated: challenge), and the retries ran out. Your test run and its exit code are not affected. The run page in Squally shows how many are missing.
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
If the run could not be marked complete either, the line says so: the run
|
|
306
|
+
then shows as **incomplete** in Squally once the project's run timeout has
|
|
307
|
+
passed, with the results that did arrive. If the run could not be started at
|
|
308
|
+
all, the line reads `Squally did not start this run - ...` and nothing was
|
|
309
|
+
sent.
|
|
310
|
+
|
|
311
|
+
The exit code of your test run is never changed by any of this.
|
|
312
|
+
|
|
205
313
|
## Steps (0.12.0)
|
|
206
314
|
|
|
207
315
|
For an attempt that **failed, or needed a retry**, the reporter also sends the
|
|
@@ -570,14 +678,37 @@ written two ways still compares equal: it is lowercased, and a leading `v` or a
|
|
|
570
678
|
`v1.2.0` is stored as `1.2.0`. The reporter says so once per run when it
|
|
571
679
|
happens, so a value that looks different in the dashboard is not a mystery.
|
|
572
680
|
|
|
681
|
+
## Behind a proxy (0.18.0)
|
|
682
|
+
|
|
683
|
+
Every request - to Squally, the artifact uploads to storage, and
|
|
684
|
+
`npx squally-reporter cancel` - goes through the proxy in `HTTPS_PROXY` (for
|
|
685
|
+
`https://` addresses) or `HTTP_PROXY` (for `http://`), lower-case names
|
|
686
|
+
first, the way curl reads them. Hosts in `NO_PROXY` are reached directly:
|
|
687
|
+
comma-separated, each name with all its subdomains (`internal` and
|
|
688
|
+
`.internal` both cover `squally.internal`), `host:port` for one port only, `*`
|
|
689
|
+
for everything - no IP ranges:
|
|
690
|
+
|
|
691
|
+
```bash
|
|
692
|
+
HTTPS_PROXY=http://proxy.internal:3128
|
|
693
|
+
NO_PROXY=localhost,127.0.0.1,.internal
|
|
694
|
+
```
|
|
695
|
+
|
|
696
|
+
The proxy is asked to open a tunnel (`CONNECT`), so TLS still goes end to end
|
|
697
|
+
to Squally. A login in the proxy URL (`http://user:pass@host:port`) is sent as
|
|
698
|
+
`Proxy-Authorization`. A value that is not a URL is one warning, naming the
|
|
699
|
+
variable but not its value, and the reporter connects directly. Without any of
|
|
700
|
+
these variables nothing changes. Until 0.17.0 the variables were ignored.
|
|
701
|
+
|
|
573
702
|
## Troubleshooting
|
|
574
703
|
|
|
575
704
|
Set `SQUALLY_DEBUG=1` to print detail that is otherwise kept quiet - the
|
|
576
705
|
browser-console extraction (how many messages were found, or that an attempt's
|
|
577
|
-
trace held none)
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
706
|
+
trace held none), since 0.11.0 a CI run link that was not sent because it was
|
|
707
|
+
not an `https://` URL, and since 0.18.0 which proxy variable is in use and a
|
|
708
|
+
quarantine rules request that failed (nothing uses the rules yet, so that is
|
|
709
|
+
no longer a warning). Everything that is *not* ordinary (a trace that cannot
|
|
710
|
+
be read, an unsupported schema version, a rejected upload) is printed without
|
|
711
|
+
it.
|
|
581
712
|
|
|
582
713
|
## Support
|
|
583
714
|
|
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAuCA,eAAO,MAAM,KAAK,QAUN,CAAC;AAEb,MAAM,MAAM,YAAY,GACpB;IAAE,SAAS,EAAE,IAAI,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GACtD;IAAE,SAAS,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,kBAAkB,GAAG,kBAAkB,CAAA;CAAE,CAAC;AAE1E,iDAAiD;AACjD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAQlF;AAcD,MAAM,MAAM,UAAU,GAClB;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAC9C;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAChB;IAAE,IAAI,EAAE,aAAa,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7C,wBAAgB,SAAS,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,UAAU,CAqB7D;AAED,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC;IACvB,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5B,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,2FAA2F;IAC3F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAcD,0FAA0F;AAC1F,wBAAsB,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CA+H9F;AAED,yFAAyF;AACzF,wBAAsB,IAAI,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,CAoBzG"}
|
package/dist/cli.js
CHANGED
|
@@ -137,7 +137,8 @@ async function runCancel(jobKeyArg, deps) {
|
|
|
137
137
|
if (!connection.apiUrl || !connection.apiKey)
|
|
138
138
|
return;
|
|
139
139
|
const url = `${connection.apiUrl.replace(/\/+$/, "")}/api/ingest/v2/runs/cancel`;
|
|
140
|
-
|
|
140
|
+
// Through HTTP(S)_PROXY when one is set (0.18.0), like the reporter.
|
|
141
|
+
const dispatcher = (0, http_config_1.createDispatcher)({ headersTimeout: timeoutMs, bodyTimeout: timeoutMs, keepAliveTimeout: 1000 });
|
|
141
142
|
try {
|
|
142
143
|
for (let attempt = 1;; attempt++) {
|
|
143
144
|
const last = attempt >= 2; // one retry
|
|
@@ -174,8 +175,13 @@ async function runCancel(jobKeyArg, deps) {
|
|
|
174
175
|
if (!response.ok) {
|
|
175
176
|
const answer = await (0, squally_response_1.readErrorAnswer)(response, url);
|
|
176
177
|
if (!answer.squally) {
|
|
178
|
+
// Vercel's firewall (0.17.0) is not a login or a wrong URL - it lets
|
|
179
|
+
// the runner through again after a while.
|
|
180
|
+
const hint = (0, squally_response_1.edgeMitigation)(response.headers) !== null
|
|
181
|
+
? "The firewall usually lets a runner through again after a few minutes."
|
|
182
|
+
: (0, squally_response_1.notSquallyHint)(answer.redirect);
|
|
177
183
|
warn(`${PREFIX} Squally did not cancel run ${ciRunId}: ${connection.apiUrl} did not answer as Squally ` +
|
|
178
|
-
`(${answer.detail}). ${
|
|
184
|
+
`(${answer.detail}). ${hint}`);
|
|
179
185
|
return;
|
|
180
186
|
}
|
|
181
187
|
const hint = response.status === 401
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;AACA,4EAA4E;AAC5E,gBAAgB;AAChB,EAAE;AACF,yEAAyE;AACzE,+EAA+E;AAC/E,gFAAgF;AAChF,8EAA8E;AAC9E,yCAAyC;AACzC,EAAE;AACF,+EAA+E;AAC/E,2EAA2E;AAC3E,+EAA+E;AAC/E,yEAAyE;AACzE,qCAAqC;AACrC,EAAE;AACF,+EAA+E;AAC/E,+EAA+E;AAC/E,4EAA4E;AAC5E,qCAAqC;AACrC,EAAE;AACF,gFAAgF;;;
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;AACA,4EAA4E;AAC5E,gBAAgB;AAChB,EAAE;AACF,yEAAyE;AACzE,+EAA+E;AAC/E,gFAAgF;AAChF,8EAA8E;AAC9E,yCAAyC;AACzC,EAAE;AACF,+EAA+E;AAC/E,2EAA2E;AAC3E,+EAA+E;AAC/E,yEAAyE;AACzE,qCAAqC;AACrC,EAAE;AACF,+EAA+E;AAC/E,+EAA+E;AAC/E,4EAA4E;AAC5E,qCAAqC;AACrC,EAAE;AACF,gFAAgF;;;AAmChF,oDAQC;AAmBD,8BAqBC;AAwBD,8BA+HC;AAGD,oBAoBC;AA/PD,mCAA+B;AAC/B,+CA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O,aAAK,EAAE,CAAC,CAAC;QACzD,OAAO,CAAC,CAAC;IACX,CAAC;IACD,4EAA4E;IAC5E,uEAAuE;IACvE,MAAM,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,IAAI,CAAC;QACH,MAAM,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;IACtF,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,qEAAqE;QACrE,OAAO,CAAC,IAAI,CAAC,GAAG,MAAM,mBAAmB,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAC1D,CAAC;IACD,OAAO,CAAC,CAAC;AACX,CAAC;AAED,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;IAC5B,4EAA4E;IAC5E,+DAA+D;IAC/D,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAC9B,CAAC,IAAI,EAAE,EAAE;QACP,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;IAC1B,CAAC,EACD,GAAG,EAAE;QACH,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;IACvB,CAAC,CACF,CAAC;AACJ,CAAC"}
|
package/dist/http-config.d.ts
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
|
+
import { Agent, type Dispatcher } from "undici";
|
|
1
2
|
export declare const REPORTER_VERSION: string;
|
|
2
3
|
export declare const USER_AGENT: string;
|
|
3
4
|
export declare const API_REQUEST_TIMEOUT_MS = 30000;
|
|
4
5
|
export declare const SERVER_ERROR_RETRY_DELAY_MS = 1000;
|
|
6
|
+
/** The proxy variable this process would use, by name - never its value (it can carry a login). */
|
|
7
|
+
export declare function proxyVariableInUse(env: NodeJS.ProcessEnv): string | null;
|
|
8
|
+
/**
|
|
9
|
+
* The dispatcher every request of this package goes through (0.18.0): to
|
|
10
|
+
* Squally, to the storage's presigned URLs, and the CLI's cancel.
|
|
11
|
+
*
|
|
12
|
+
* HTTP(S)_PROXY and NO_PROXY, as curl and most CI images read them - undici's
|
|
13
|
+
* EnvHttpProxyAgent: HTTPS_PROXY for https targets, HTTP_PROXY for http ones,
|
|
14
|
+
* lower case before upper case, NO_PROXY's hosts and domain suffixes go
|
|
15
|
+
* direct. Node's own fetch ignores these variables, which is why a self-hosted
|
|
16
|
+
* runner behind a company proxy reached nothing until this release.
|
|
17
|
+
*
|
|
18
|
+
* A plain Agent when no proxy is set, so a run without one is exactly what it
|
|
19
|
+
* was. A proxy URL undici cannot parse throws in the constructor - here that
|
|
20
|
+
* would be onBegin throwing into the customer's run - so it is one warning and
|
|
21
|
+
* a direct connection instead.
|
|
22
|
+
*/
|
|
23
|
+
export declare function createDispatcher(options: Agent.Options): Dispatcher;
|
|
5
24
|
//# sourceMappingURL=http-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-config.d.ts","sourceRoot":"","sources":["../src/http-config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"http-config.d.ts","sourceRoot":"","sources":["../src/http-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAqB,KAAK,UAAU,EAAE,MAAM,QAAQ,CAAC;AAgBnE,eAAO,MAAM,gBAAgB,QAA8D,CAAC;AAC5F,eAAO,MAAM,UAAU,QAAyC,CAAC;AAYjE,eAAO,MAAM,sBAAsB,QAAS,CAAC;AAK7C,eAAO,MAAM,2BAA2B,OAAQ,CAAC;AAIjD,mGAAmG;AACnG,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,GAAG,MAAM,GAAG,IAAI,CAExE;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,KAAK,CAAC,OAAO,GAAG,UAAU,CAWnE"}
|
package/dist/http-config.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SERVER_ERROR_RETRY_DELAY_MS = exports.API_REQUEST_TIMEOUT_MS = exports.USER_AGENT = exports.REPORTER_VERSION = void 0;
|
|
4
|
+
exports.proxyVariableInUse = proxyVariableInUse;
|
|
5
|
+
exports.createDispatcher = createDispatcher;
|
|
6
|
+
const undici_1 = require("undici");
|
|
4
7
|
// Sent on every request to squally-app (not on the artifact PUT to R2's
|
|
5
8
|
// presigned URL - that goes straight to Cloudflare storage, not through the
|
|
6
9
|
// app, and R2 has no use for it). Server-side, a customer's reporter version
|
|
@@ -28,7 +31,42 @@ exports.USER_AGENT = `squally-reporter/${exports.REPORTER_VERSION}`;
|
|
|
28
31
|
// runner's modest uplink, where two minutes is tight-ish but still far short
|
|
29
32
|
// of "hung" (UPLOAD_REQUEST_TIMEOUT_MS, in index.ts).
|
|
30
33
|
exports.API_REQUEST_TIMEOUT_MS = 30000;
|
|
31
|
-
// The wait before the one retry after a 5xx or a network error - the
|
|
32
|
-
// reporter's
|
|
34
|
+
// The wait before the one retry after a 5xx or a network error - the CLI's
|
|
35
|
+
// cancel. The reporter's own calls retry within a time budget since 0.17.0
|
|
36
|
+
// (the retry policy in index.ts).
|
|
33
37
|
exports.SERVER_ERROR_RETRY_DELAY_MS = 1000;
|
|
38
|
+
const PROXY_VARIABLES = ["HTTPS_PROXY", "https_proxy", "HTTP_PROXY", "http_proxy"];
|
|
39
|
+
/** The proxy variable this process would use, by name - never its value (it can carry a login). */
|
|
40
|
+
function proxyVariableInUse(env) {
|
|
41
|
+
return PROXY_VARIABLES.find((name) => (env[name] ?? "").trim() !== "") ?? null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The dispatcher every request of this package goes through (0.18.0): to
|
|
45
|
+
* Squally, to the storage's presigned URLs, and the CLI's cancel.
|
|
46
|
+
*
|
|
47
|
+
* HTTP(S)_PROXY and NO_PROXY, as curl and most CI images read them - undici's
|
|
48
|
+
* EnvHttpProxyAgent: HTTPS_PROXY for https targets, HTTP_PROXY for http ones,
|
|
49
|
+
* lower case before upper case, NO_PROXY's hosts and domain suffixes go
|
|
50
|
+
* direct. Node's own fetch ignores these variables, which is why a self-hosted
|
|
51
|
+
* runner behind a company proxy reached nothing until this release.
|
|
52
|
+
*
|
|
53
|
+
* A plain Agent when no proxy is set, so a run without one is exactly what it
|
|
54
|
+
* was. A proxy URL undici cannot parse throws in the constructor - here that
|
|
55
|
+
* would be onBegin throwing into the customer's run - so it is one warning and
|
|
56
|
+
* a direct connection instead.
|
|
57
|
+
*/
|
|
58
|
+
function createDispatcher(options) {
|
|
59
|
+
const variable = proxyVariableInUse(process.env);
|
|
60
|
+
if (variable === null)
|
|
61
|
+
return new undici_1.Agent(options);
|
|
62
|
+
try {
|
|
63
|
+
return new undici_1.EnvHttpProxyAgent(options);
|
|
64
|
+
}
|
|
65
|
+
catch {
|
|
66
|
+
// Without the error's message: undici's can quote the URL, and a proxy
|
|
67
|
+
// URL can carry a login.
|
|
68
|
+
console.warn(`[squally-reporter] ${variable} is not a proxy URL this reporter can use - connecting directly instead.`);
|
|
69
|
+
return new undici_1.Agent(options);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
34
72
|
//# sourceMappingURL=http-config.js.map
|
package/dist/http-config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-config.js","sourceRoot":"","sources":["../src/http-config.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"http-config.js","sourceRoot":"","sources":["../src/http-config.ts"],"names":[],"mappings":";;;AAuCA,gDAEC;AAiBD,4CAWC;AArED,mCAAmE;AAEnE,wEAAwE;AACxE,4EAA4E;AAC5E,6EAA6E;AAC7E,0EAA0E;AAC1E,sEA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