@gate-forge/pack-playwright 0.13.0 → 0.13.2
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/dist/discovery/inference.d.ts.map +1 -1
- package/dist/discovery/inference.js +16 -1
- package/dist/discovery/inference.js.map +1 -1
- package/dist/discovery/static-discovery.d.ts.map +1 -1
- package/dist/discovery/static-discovery.js +87 -8
- package/dist/discovery/static-discovery.js.map +1 -1
- package/dist/fixture/api-request.d.ts +111 -0
- package/dist/fixture/api-request.d.ts.map +1 -0
- package/dist/fixture/api-request.js +114 -0
- package/dist/fixture/api-request.js.map +1 -0
- package/dist/fixture/fixture.d.ts +47 -1
- package/dist/fixture/fixture.d.ts.map +1 -1
- package/dist/fixture/fixture.js +197 -15
- package/dist/fixture/fixture.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +5 -0
- package/dist/setup.js.map +1 -1
- package/dist/supervisor/client.d.ts +21 -1
- package/dist/supervisor/client.d.ts.map +1 -1
- package/dist/supervisor/client.js +61 -33
- package/dist/supervisor/client.js.map +1 -1
- package/package.json +3 -3
|
@@ -64,7 +64,15 @@ export declare class SupervisorClient {
|
|
|
64
64
|
registerObserveDeclarations(request: ObserveDeclarationsRequest): Promise<ObserveDeclarationsResponse>;
|
|
65
65
|
/** POST /runs/page-sweep: visits unproven page obligations after the suite. */
|
|
66
66
|
sweepPages(request: PageSweepRequest): Promise<{
|
|
67
|
-
visits:
|
|
67
|
+
visits: Array<{
|
|
68
|
+
routeId: string;
|
|
69
|
+
visited?: boolean;
|
|
70
|
+
}>;
|
|
71
|
+
sessionRejected?: {
|
|
72
|
+
path: string;
|
|
73
|
+
login: string;
|
|
74
|
+
notVisited: number;
|
|
75
|
+
} | null;
|
|
68
76
|
}>;
|
|
69
77
|
/**
|
|
70
78
|
* POST /observe/finalize (Observe channel, Phase 2): resolves one
|
|
@@ -106,6 +114,18 @@ export declare class SupervisorClient {
|
|
|
106
114
|
* empty success).
|
|
107
115
|
*/
|
|
108
116
|
twinShapes(): Promise<TwinShapesResponse | null>;
|
|
117
|
+
/**
|
|
118
|
+
* One HTTP exchange with ONLY this client's deadline. node:http(S)
|
|
119
|
+
* `request` carries no timeout of its own, so `init.timeoutMs` — the
|
|
120
|
+
* computed budget — drives the AbortSignal and is the single
|
|
121
|
+
* deadline. The previous global fetch could not honour it: undici
|
|
122
|
+
* fixes headersTimeout/bodyTimeout at 300 000 ms regardless of any
|
|
123
|
+
* option or signal, so every supervisor call longer than five
|
|
124
|
+
* minutes (a page sweep past a handful of pages) died at exactly
|
|
125
|
+
* 300 s with "fetch failed". Resolves with status + body text;
|
|
126
|
+
* rejects on any transport failure (abort, connect, reset).
|
|
127
|
+
*/
|
|
128
|
+
private exchange;
|
|
109
129
|
/** The supervisor headers (run token + verifier key). */
|
|
110
130
|
private headers;
|
|
111
131
|
/** POST with supervisor headers; errors map to typed WitnessRequestError. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/supervisor/client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/supervisor/client.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,2BAA2B,EAC3B,sBAAsB,EACtB,uBAAuB,EACvB,4BAA4B,EAC5B,6BAA6B,EAC7B,8BAA8B,EAC9B,yBAAyB,EACzB,4BAA4B,EAC5B,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,qBAAqB,CAAC;AAG7B;;;;;;;;;GASG;AACH,qBAAa,gBAAgB;I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,CAAC;IAIxF;;;;;;;OAOG;IACG,uBAAuB,CAC3B,OAAO,EAAE,8BAA8B,GACtC,OAAO,CAAC,yBAAyB,GAAG,4BAA4B,CAAC;IAOpE;;;;;;;;OAQG;IACG,cAAc,IAAI,OAAO,CAAC,sBAAsB,GAAG,IAAI,CAAC;IAe9D;;;;;;;;;;;OAWG;IACG,UAAU,IAAI,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC;IAetD;;;;;;;;;;OAUG;IACH,OAAO,CAAC,QAAQ;IA6ChB,yDAAyD;IACzD,OAAO,CAAC,OAAO;IAUf,6EAA6E;YAC/D,OAAO;CAyBtB"}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* trace that supervision grades completeness from. The suite-side
|
|
10
10
|
* `WitnessClient` deliberately has none of these methods.
|
|
11
11
|
*/
|
|
12
|
+
import http from 'node:http';
|
|
13
|
+
import https from 'node:https';
|
|
12
14
|
import { VERIFIER_HEADER, RUN_HEADER, DEFAULT_REQUEST_TIMEOUT_MS, ENGINE_PAGE_VISIT_BUDGET_MS } from '../constants.js';
|
|
13
15
|
import { WitnessRequestError } from '../fixture/witness-client.js';
|
|
14
16
|
/**
|
|
@@ -126,26 +128,17 @@ export class SupervisorClient {
|
|
|
126
128
|
* empty success).
|
|
127
129
|
*/
|
|
128
130
|
async executionTrace() {
|
|
129
|
-
const controller = new AbortController();
|
|
130
|
-
const timer = setTimeout(() => controller.abort(), this.timeoutMs);
|
|
131
131
|
let response;
|
|
132
132
|
try {
|
|
133
|
-
response = await
|
|
134
|
-
method: 'GET',
|
|
135
|
-
headers: this.headers(),
|
|
136
|
-
signal: controller.signal,
|
|
137
|
-
});
|
|
133
|
+
response = await this.exchange('/runs/execution-trace', { method: 'GET', timeoutMs: this.timeoutMs });
|
|
138
134
|
}
|
|
139
135
|
catch {
|
|
140
136
|
return null; // transport failure: the caller fails closed
|
|
141
137
|
}
|
|
142
|
-
finally {
|
|
143
|
-
clearTimeout(timer);
|
|
144
|
-
}
|
|
145
138
|
if (!response.ok)
|
|
146
139
|
return null;
|
|
147
140
|
try {
|
|
148
|
-
return (
|
|
141
|
+
return JSON.parse(response.bodyText);
|
|
149
142
|
}
|
|
150
143
|
catch {
|
|
151
144
|
return null;
|
|
@@ -164,31 +157,75 @@ export class SupervisorClient {
|
|
|
164
157
|
* empty success).
|
|
165
158
|
*/
|
|
166
159
|
async twinShapes() {
|
|
167
|
-
const controller = new AbortController();
|
|
168
|
-
const timer = setTimeout(() => controller.abort(), this.timeoutMs);
|
|
169
160
|
let response;
|
|
170
161
|
try {
|
|
171
|
-
response = await
|
|
172
|
-
method: 'GET',
|
|
173
|
-
headers: this.headers(),
|
|
174
|
-
signal: controller.signal,
|
|
175
|
-
});
|
|
162
|
+
response = await this.exchange('/runs/twin-shapes', { method: 'GET', timeoutMs: this.timeoutMs });
|
|
176
163
|
}
|
|
177
164
|
catch {
|
|
178
165
|
return null; // transport failure: the caller fails closed
|
|
179
166
|
}
|
|
180
|
-
finally {
|
|
181
|
-
clearTimeout(timer);
|
|
182
|
-
}
|
|
183
167
|
if (!response.ok)
|
|
184
168
|
return null;
|
|
185
169
|
try {
|
|
186
|
-
return (
|
|
170
|
+
return JSON.parse(response.bodyText);
|
|
187
171
|
}
|
|
188
172
|
catch {
|
|
189
173
|
return null;
|
|
190
174
|
}
|
|
191
175
|
}
|
|
176
|
+
/**
|
|
177
|
+
* One HTTP exchange with ONLY this client's deadline. node:http(S)
|
|
178
|
+
* `request` carries no timeout of its own, so `init.timeoutMs` — the
|
|
179
|
+
* computed budget — drives the AbortSignal and is the single
|
|
180
|
+
* deadline. The previous global fetch could not honour it: undici
|
|
181
|
+
* fixes headersTimeout/bodyTimeout at 300 000 ms regardless of any
|
|
182
|
+
* option or signal, so every supervisor call longer than five
|
|
183
|
+
* minutes (a page sweep past a handful of pages) died at exactly
|
|
184
|
+
* 300 s with "fetch failed". Resolves with status + body text;
|
|
185
|
+
* rejects on any transport failure (abort, connect, reset).
|
|
186
|
+
*/
|
|
187
|
+
exchange(path, init) {
|
|
188
|
+
const target = new URL(`${this.url}${path}`);
|
|
189
|
+
const body = init.payload === undefined ? undefined : JSON.stringify(init.payload);
|
|
190
|
+
const headers = { ...this.headers() };
|
|
191
|
+
if (body !== undefined)
|
|
192
|
+
headers['content-length'] = String(Buffer.byteLength(body));
|
|
193
|
+
const isHttps = target.protocol === 'https:';
|
|
194
|
+
// An executor-form promise, deliberately: the settled-resolver
|
|
195
|
+
// Promise static is Node 22+ and every package pins node >=20.
|
|
196
|
+
return new Promise((resolve, reject) => {
|
|
197
|
+
const controller = new AbortController();
|
|
198
|
+
const timer = setTimeout(() => controller.abort(), init.timeoutMs);
|
|
199
|
+
// One options shape for both schemes: https.RequestOptions extends
|
|
200
|
+
// http.RequestOptions with only optional TLS fields.
|
|
201
|
+
const options = { method: init.method, headers, signal: controller.signal };
|
|
202
|
+
const onResponse = (response) => {
|
|
203
|
+
const chunks = [];
|
|
204
|
+
response.on('data', (chunk) => chunks.push(chunk));
|
|
205
|
+
response.on('error', (error) => {
|
|
206
|
+
clearTimeout(timer);
|
|
207
|
+
reject(error);
|
|
208
|
+
});
|
|
209
|
+
response.on('end', () => {
|
|
210
|
+
clearTimeout(timer);
|
|
211
|
+
const status = response.statusCode ?? 0;
|
|
212
|
+
resolve({
|
|
213
|
+
status,
|
|
214
|
+
ok: status >= 200 && status < 300,
|
|
215
|
+
bodyText: Buffer.concat(chunks).toString('utf8'),
|
|
216
|
+
});
|
|
217
|
+
});
|
|
218
|
+
};
|
|
219
|
+
const request = isHttps
|
|
220
|
+
? https.request(target, options, onResponse)
|
|
221
|
+
: http.request(target, options, onResponse);
|
|
222
|
+
request.on('error', (error) => {
|
|
223
|
+
clearTimeout(timer);
|
|
224
|
+
reject(error);
|
|
225
|
+
});
|
|
226
|
+
request.end(body);
|
|
227
|
+
});
|
|
228
|
+
}
|
|
192
229
|
/** The supervisor headers (run token + verifier key). */
|
|
193
230
|
headers() {
|
|
194
231
|
return {
|
|
@@ -201,25 +238,16 @@ export class SupervisorClient {
|
|
|
201
238
|
}
|
|
202
239
|
/** POST with supervisor headers; errors map to typed WitnessRequestError. */
|
|
203
240
|
async request(path, payload, timeoutMs = this.timeoutMs) {
|
|
204
|
-
const controller = new AbortController();
|
|
205
|
-
const timer = setTimeout(() => controller.abort(), timeoutMs);
|
|
206
241
|
let response;
|
|
207
242
|
try {
|
|
208
|
-
response = await
|
|
209
|
-
method: 'POST',
|
|
210
|
-
headers: this.headers(),
|
|
211
|
-
body: JSON.stringify(payload),
|
|
212
|
-
signal: controller.signal,
|
|
213
|
-
});
|
|
243
|
+
response = await this.exchange(path, { method: 'POST', timeoutMs, payload });
|
|
214
244
|
}
|
|
215
245
|
catch (error) {
|
|
216
|
-
clearTimeout(timer);
|
|
217
246
|
throw new WitnessRequestError(0, `supervisor call to ${path} failed: ${error.message}`);
|
|
218
247
|
}
|
|
219
|
-
clearTimeout(timer);
|
|
220
248
|
let body;
|
|
221
249
|
try {
|
|
222
|
-
body =
|
|
250
|
+
body = JSON.parse(response.bodyText);
|
|
223
251
|
}
|
|
224
252
|
catch {
|
|
225
253
|
body = null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/supervisor/client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAuBvH,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE;;;;;;;;;GASG;AACH,MAAM,OAAO,gBAAgB;IAClB,GAAG,CAAS;IACZ,KAAK,CAAS;IACd,WAAW,CAAS;IACpB,SAAS,CAAS;IAE3B,YACE,GAAW,EACX,KAAa,EACb,WAAmB,EACnB,YAAoB,0BAA0B;QAE9C,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,KAAK,C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CAAC;gBACjB,CAAC,CAAC,yBAAyB,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,IAAI,EAAE,EAClE,OAAO,MAAM,CAAC,QAAQ,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAC/D,CAAC;QACJ,CAAC;QACD,OAAO,IAAS,CAAC;IACnB,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gate-forge/pack-playwright",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"gateforgeCompatibility": {
|
|
5
5
|
"supervisedFixtureProtocol": "gateforge.supervised-playwright.v1"
|
|
6
6
|
},
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"test": "vitest run"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@gate-forge/core": "^0.13.
|
|
60
|
-
"@gate-forge/witness": "^0.13.
|
|
59
|
+
"@gate-forge/core": "^0.13.2",
|
|
60
|
+
"@gate-forge/witness": "^0.13.2",
|
|
61
61
|
"playwright": "1.58.2",
|
|
62
62
|
"typescript": "^5.9.2",
|
|
63
63
|
"yaml": "^2.8.1"
|