@gate-forge/cli 0.13.7 → 0.13.9
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 +166 -0
- package/README.md +1 -0
- package/dist/adapter-audit.d.ts.map +1 -1
- package/dist/adapter-audit.js +14 -7
- package/dist/adapter-audit.js.map +1 -1
- package/dist/commands/test-gates.d.ts +7 -0
- package/dist/commands/test-gates.d.ts.map +1 -1
- package/dist/commands/test-gates.js +120 -13
- package/dist/commands/test-gates.js.map +1 -1
- package/dist/endpoint-compiler.d.ts +8 -0
- package/dist/endpoint-compiler.d.ts.map +1 -1
- package/dist/endpoint-compiler.js +41 -16
- package/dist/endpoint-compiler.js.map +1 -1
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +7 -0
- package/dist/execution.js.map +1 -1
- package/dist/mapping.d.ts +4 -7
- package/dist/mapping.d.ts.map +1 -1
- package/dist/mapping.js +6 -8
- package/dist/mapping.js.map +1 -1
- package/dist/serial-expansion.d.ts +44 -0
- package/dist/serial-expansion.d.ts.map +1 -0
- package/dist/serial-expansion.js +118 -0
- package/dist/serial-expansion.js.map +1 -0
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js +16 -9
- package/dist/state.js.map +1 -1
- package/guides/CONNECT-YOUR-PROJECT.md +12 -12
- package/guides/QUICKSTART.md +7 -7
- package/guides/REFERENCE.md +143 -13
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,171 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.13.9
|
|
4
|
+
|
|
5
|
+
Theme: Gateforge exists to catch fake tests. This release closes three ways a
|
|
6
|
+
fake E2E test could pass: API calls from test code, requests started by test
|
|
7
|
+
code inside the page, and tests whose code Gateforge never read. Reading
|
|
8
|
+
every test exposed false "page tampering" refusals of real UI tests (one
|
|
9
|
+
app: 169/169 tests; another: every claimed test). The tamper rules below now
|
|
10
|
+
let through only what is PROVEN harmless; anything unclear stays flagged.
|
|
11
|
+
|
|
12
|
+
- **Discovery: parameterized and reference-form storage-only init
|
|
13
|
+
scripts are not tampers (F2).** A storage-only `addInitScript` may
|
|
14
|
+
take parameters (with exactly one argument per parameter — they are
|
|
15
|
+
serialized data inside the script) and may be passed as a reference
|
|
16
|
+
to a locally declared function, with a body of storage calls keyed
|
|
17
|
+
and valued by literals, parameters, declared constants, and inert
|
|
18
|
+
builtins (`JSON.stringify`, `String`, `Date.now()`,
|
|
19
|
+
`new Date().toISOString()`) under `if`/`try`/`catch` guards. Arity
|
|
20
|
+
mismatches, template forms, unresolved identifiers, network/DOM
|
|
21
|
+
statements, and `page.evaluate` of the same function stay tampers.
|
|
22
|
+
- **Discovery: an imported helper's tamper risk is attributed to the
|
|
23
|
+
tests that reach it (F3).** A tamper written in the spec, or one that
|
|
24
|
+
executes at import time anywhere in the import graph, still flags
|
|
25
|
+
every test of the file. Otherwise the test's body — and the fixture
|
|
26
|
+
chain its registration name resolves through — is followed: a direct
|
|
27
|
+
call to a risky helper flags that test at the helper's tamper line,
|
|
28
|
+
through transitive imports and re-exports. Helpers passed around as
|
|
29
|
+
values, dynamic namespace access, and unprovable shapes keep today's
|
|
30
|
+
file-wide flag.
|
|
31
|
+
- **Discovery: an existing `.json` import is a data module (F6).** No
|
|
32
|
+
unresolved-import row, no parse, no test bindings; the spec around it
|
|
33
|
+
is read. A `.json` specifier naming nothing stays a visible row.
|
|
34
|
+
- **Discovery: a `.js`-style import resolves to its TypeScript sibling.**
|
|
35
|
+
A relative specifier ending `.js`, `.mjs`, `.cjs`, or `.jsx` names the
|
|
36
|
+
TypeScript sibling of the same stem whenever the literal file does not
|
|
37
|
+
exist (`.js`→`.ts` then `.tsx`, `.mjs`→`.mts`, `.cjs`→`.cts`,
|
|
38
|
+
`.jsx`→`.tsx`) — TypeScript's own ESM substitution, and the rule every
|
|
39
|
+
runner loader already applies. Specs importing a `.mts` helper through
|
|
40
|
+
a `.mjs` specifier no longer grow a blocking `unresolved-import` plus
|
|
41
|
+
a required `<unresolved-title>` row beside the instance the runner
|
|
42
|
+
itself enumerates (real-app run: 92 false RUN_INCOMPLETE of this
|
|
43
|
+
shape). The literal file always wins when it exists.
|
|
44
|
+
- **Discovery: a static call site the runner provably never registers is
|
|
45
|
+
an informational note, not a required case.** The runner's list is the
|
|
46
|
+
authority on what executes: when a file has listed instances but a
|
|
47
|
+
computed-title call site (`dynamic-title`, or a `<unresolved-title>`
|
|
48
|
+
row) has none, the row stays catalog data carrying the note "call site
|
|
49
|
+
never registered by the runner: conditional or unreached" — it plans
|
|
50
|
+
nothing, demands no session, and never makes the inventory incomplete
|
|
51
|
+
(real-app run: conditional journey registrations produced dozens of
|
|
52
|
+
these false blocks). Files the runner lists NOTHING for keep failing
|
|
53
|
+
closed, and a resolved literal title the runner does not list stays a
|
|
54
|
+
blocking row.
|
|
55
|
+
- **Discovery: the import-traversal budget is 2000 files (was 200).** Since
|
|
56
|
+
0.13.9 reads every file the runner lists, a real suite (147 spec files)
|
|
57
|
+
pulled 266 helper files, hit the old cap and marked the whole inventory
|
|
58
|
+
incomplete (`TEST_INVENTORY_INCOMPLETE`) though nothing was unreadable.
|
|
59
|
+
The cap only stops runaway import graphs; scan time was unchanged, and
|
|
60
|
+
exceeding the new cap still fails closed.
|
|
61
|
+
- **`evaluate` is no longer a static tamper signal in chromium projects
|
|
62
|
+
(F7).** In Chromium, requests started by evaluated test code are
|
|
63
|
+
refused at runtime, so `evaluate` itself is no longer refused when
|
|
64
|
+
reading the code: `page.evaluate`, `locator.evaluate`,
|
|
65
|
+
`evaluateHandle`, `$eval`/`$$eval` stop flagging a row whose project
|
|
66
|
+
the runner resolved to chromium. firefox/webkit rows keep the flag —
|
|
67
|
+
the runtime rule cannot see there — as does every project whose
|
|
68
|
+
browser is undetermined (fail closed). Every other tamper call
|
|
69
|
+
(route, fulfill, exposeFunction, setContent, CDP sessions, non-
|
|
70
|
+
storage-only init scripts) refuses exactly as before, and an
|
|
71
|
+
evaluate-only helper no longer hides a later route tamper in the same
|
|
72
|
+
file.
|
|
73
|
+
|
|
74
|
+
- **Discovery: every test file Playwright lists is read.** A listed test
|
|
75
|
+
outside the configured source globs used to be skipped by the code scan,
|
|
76
|
+
so its declared kind was accepted unchecked. Playwright's list now decides
|
|
77
|
+
which files are tests; owner exclusions still apply.
|
|
78
|
+
- **Mapping: unreadable tests cannot carry E2E claims, and say so.** A
|
|
79
|
+
Playwright-listed test whose code the scan could not read cannot be mapped
|
|
80
|
+
as `browser-e2e`, `observed-e2e`, or `api-e2e`. The report's `blocking`
|
|
81
|
+
list and the claim's verdict name it: "Gateforge could not read the code
|
|
82
|
+
of test …" (cause `TEST_KIND_UNKNOWN`), instead of "no claim declares".
|
|
83
|
+
- **Discovery: follow test wrappers over the Gateforge fixture.** The
|
|
84
|
+
package root and its exported `/fixture` subpath are recognized as
|
|
85
|
+
Playwright test sources, through local CommonJS (`exports.X`,
|
|
86
|
+
`module.exports.X`, `module.exports = { X }`) and ESM wrapper modules.
|
|
87
|
+
- **Discovery: prove npm aliases from package metadata.** A bare package
|
|
88
|
+
alias counts as the Gateforge runner only when the root or nearest
|
|
89
|
+
package manifest maps it to the exact Gateforge package, or the installed
|
|
90
|
+
package metadata names that package. Unproven imports stay unresolved.
|
|
91
|
+
- **Discovery: join data-driven tests by call-site line.** When a test's
|
|
92
|
+
title is computed at runtime, every listed instance at the scanned call
|
|
93
|
+
site's exact line inherits that call site's facts; resolvable titles
|
|
94
|
+
still join by title.
|
|
95
|
+
- **Requests started by test code inside the page are not E2E evidence.**
|
|
96
|
+
Chromium fixture requests are attributed through CDP's outermost script
|
|
97
|
+
initiator; page-evaluated and injected-script requests cannot satisfy
|
|
98
|
+
observed transport claims. Requests without script initiators and real
|
|
99
|
+
app code remain eligible. Other browsers retain existing behavior and
|
|
100
|
+
report that test-code initiators cannot be distinguished. The fixture
|
|
101
|
+
waits for the browser's initiator event only (at most 50 ms), never a
|
|
102
|
+
fixed pause, so the app's request timing is unchanged.
|
|
103
|
+
- **Deliberate tightening: test-code API requests are never E2E evidence.**
|
|
104
|
+
This reverses 0.13.2's crediting of Playwright API calls: requests made
|
|
105
|
+
by test code go directly to the app, never through the session proxy, and
|
|
106
|
+
never satisfy observed HTTP claims. Consumers whose claims came from
|
|
107
|
+
API-only tests will see those claims go missing; drive the operation
|
|
108
|
+
through the app's UI instead. Direct-call diagnostics cover the `request`
|
|
109
|
+
fixture and `request.newContext()`; `page.request` and `context.request`
|
|
110
|
+
are not credited and do not receive that specialized diagnostic.
|
|
111
|
+
- **pack-fastapi: preserve registration order across slash variants.**
|
|
112
|
+
Merged route registrations retain their source order so ambiguous route
|
|
113
|
+
attribution follows the actual framework registration sequence.
|
|
114
|
+
- **witness: probe composed collection adapters without `readPath`.**
|
|
115
|
+
The adapter-kit's list-collection probe now exercises the adapter's
|
|
116
|
+
first page even when it composes the read path internally.
|
|
117
|
+
- **witness: allow omitted deletion semantics for delete-disabled
|
|
118
|
+
resources.** A bound adapter can omit `deletion` when the resource's
|
|
119
|
+
lifecycle classification disables delete; a declared `deletion` there
|
|
120
|
+
is still accepted (it must be `hard` or `archive`).
|
|
121
|
+
|
|
122
|
+
## 0.13.8
|
|
123
|
+
|
|
124
|
+
- **cli: a selected step of a serial journey selects the whole serial
|
|
125
|
+
group.** A named selection narrows the supervised Playwright run to
|
|
126
|
+
the mapped tests' exact `file:line` locations, so a serial journey
|
|
127
|
+
whose MAPPED steps were its later ones executed without the group's
|
|
128
|
+
own earlier steps — the steps that create the state the later steps
|
|
129
|
+
read — and failed by construction (a real consumer serial describe of
|
|
130
|
+
8 dependent steps with 3 mapped could never run green). When a
|
|
131
|
+
selected test belongs to a describe in serial mode, the run now
|
|
132
|
+
selects every test of that group in file order: the runner receives
|
|
133
|
+
every step's location, the expected set registers every step, and
|
|
134
|
+
each step's own claims are graded like any selected test's (a step
|
|
135
|
+
that declares nothing contributes nothing). Serial mode is read
|
|
136
|
+
STATICALLY from the spec source — Playwright's own list mode never
|
|
137
|
+
exposes a suite's declared mode — and detects exactly three
|
|
138
|
+
declaration forms: `test.describe.serial(...)`, a describe whose body
|
|
139
|
+
calls `test.describe.configure({ mode: 'serial' })` (before or after
|
|
140
|
+
the tests it governs), and the file-level
|
|
141
|
+
`test.describe.configure({ mode: 'serial' })` (the whole file is one
|
|
142
|
+
serial scope). A describe that declares nothing serial is never
|
|
143
|
+
expanded, and an expansion never leaks beyond the selected test's own
|
|
144
|
+
file or project. The run names each expansion on its output
|
|
145
|
+
(`selection: added 2 tests of serial group 'journey'
|
|
146
|
+
(specs/journey.spec.js)`) and the report carries an additive
|
|
147
|
+
`serialExpansions` field. A full run selects everything already, a
|
|
148
|
+
re-seal replays its parent's file-scoped plan, and a changed slice
|
|
149
|
+
for Playwright is file-granular, so none of those print an expansion;
|
|
150
|
+
members are drawn from the planned set only, so quarantined tests are
|
|
151
|
+
never re-added.
|
|
152
|
+
|
|
153
|
+
- **pack-playwright: `runtime.yml trace` sets the supervised run's
|
|
154
|
+
Playwright trace mode.** The generated config a supervised Playwright
|
|
155
|
+
run executes under hardcoded `use.trace: 'off'`, and the consumer
|
|
156
|
+
config is never loaded by design, so an owner who turned traces on in
|
|
157
|
+
their own config never got a `trace.zip` — `<state>/last-failures/`
|
|
158
|
+
held error contexts and screenshots but nothing to replay the failure
|
|
159
|
+
from. The runtime document now declares `trace` with one of
|
|
160
|
+
Playwright's six modes (`off`, `on`, `retain-on-failure`,
|
|
161
|
+
`on-first-retry`, `on-all-retries`, `retain-on-first-failure`),
|
|
162
|
+
validated (an unknown mode is a typed schema violation), resolved
|
|
163
|
+
beside the stall and assertion bounds, and written into the generated
|
|
164
|
+
config's `use.trace` — following the 0.13.6 `expectTimeoutSeconds`
|
|
165
|
+
precedent. When the key is absent the generated config keeps
|
|
166
|
+
`trace: 'off'` byte-identically, and a declared run's `trace.zip`
|
|
167
|
+
survives into `last-failures` with the other failure artifacts.
|
|
168
|
+
|
|
3
169
|
## 0.13.7
|
|
4
170
|
|
|
5
171
|
- **pack-fastapi: a once-called registry function now orders its
|
package/README.md
CHANGED
|
@@ -4,6 +4,7 @@ The gateforge command-line interface: initialize a project, discover
|
|
|
4
4
|
resources and classification signals, inspect automatic decisions, reuse a
|
|
5
5
|
repository's existing tests, evaluate obligations, run the supervised E2E
|
|
6
6
|
gate, enforce the exact staged candidate, and maintain baselines.
|
|
7
|
+
**0.13.8:** Selecting one step of a serial journey (`test.describe.serial`, or a describe or file that calls `test.describe.configure({ mode: 'serial' })`) selects the whole serial group in file order, so a named run no longer starts at step 3 without steps 1–2; each expansion is printed and recorded in the report. `runtime.yml trace` sets the supervised run's Playwright trace mode (e.g. `retain-on-failure`), and the trace lands in `<state dir>/last-failures/`.
|
|
7
8
|
**0.13.7:** Registration order reaches apps that mount every router through one registration function (`register_all_routers(app)`): when the function is a plain module-level `def` called exactly once at the app module's top level, its top-level `include_router` calls are ordered in place, so literal-vs-parameter overlaps such as `/items/export` vs `/items/{item_id}` resolve there too. Conditional or looped includes, repeated or nested calls and foreign call sites stay unordered (ambiguous).
|
|
8
9
|
**0.13.6:** A FastAPI literal-vs-parameter route overlap (`/items/export` vs `/items/{item_id}`) is attributed by registration order, as Starlette dispatches it, whenever pack-fastapi can place every matching route statically (otherwise it stays ambiguous). `runtime.yml expectTimeoutSeconds` sets the supervised run's `expect` timeout. A red `--result-only` run keeps Playwright's failure artifacts in `<state dir>/last-failures/`. A blocked transport claim names its own blocked call instead of an unrelated exchange from the same test.
|
|
9
10
|
**0.13.5:** Supervised runs honour a project's declared test timeout: the timeout Playwright resolves for each project (read from `playwright test --list` JSON, never by loading the config) becomes that project's timeout in the generated config, with 60 s as the floor.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter-audit.d.ts","sourceRoot":"","sources":["../src/adapter-audit.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAG1E,wEAAwE;AACxE,eAA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,EAAE,CAMvF;AAeD;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,aAAa,EAAE,MAAM,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,EAAE,CAAA;CAAE,CAU9F;AAgCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAsB,YAAY,CAChC,MAAM,EAAE,iBAAiB,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,kBAAkB,CAAC,CAqC7B"}
|
package/dist/adapter-audit.js
CHANGED
|
@@ -308,18 +308,25 @@ export async function probeAdapter(report, baseUrl, probeId) {
|
|
|
308
308
|
const paths = kitPathsOf(module);
|
|
309
309
|
if (paths !== null) {
|
|
310
310
|
const target = paths.list() ?? paths.read(probeId ?? '0');
|
|
311
|
+
const probe = module['probe'];
|
|
311
312
|
if (target === null) {
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
313
|
+
// A composed (listCollection) collection has no static path to
|
|
314
|
+
// name — but a kit that carries the probe hook reads the
|
|
315
|
+
// collection's FIRST page through its own walker, so it probes
|
|
316
|
+
// fine. Only a kit without the hook is genuinely unprobeable.
|
|
317
|
+
if (typeof probe !== 'function') {
|
|
318
|
+
return {
|
|
319
|
+
name: report.name,
|
|
320
|
+
outcome: 'skipped',
|
|
321
|
+
path: '',
|
|
322
|
+
detail: 'adapter declares no probeable path (composed collection reads are probed by the run)',
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
return probeThroughKit(report, baseUrl, probe, probeId);
|
|
318
326
|
}
|
|
319
327
|
// A kit adapter reads through its own seat, so the probe must
|
|
320
328
|
// too: an unauthenticated GET would report a 401 the adapter
|
|
321
329
|
// never sees and blame credentials that are perfectly correct.
|
|
322
|
-
const probe = module['probe'];
|
|
323
330
|
return typeof probe === 'function'
|
|
324
331
|
? probeThroughKit(report, baseUrl, probe, probeId)
|
|
325
332
|
: probePath(report, baseUrl, target);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter-audit.js","sourceRoot":"","sources":["../src/adapter-audit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,wEAAwE;AACxE,MAAM,CAAC,MAAM,sBAAsB,GAAG,6BAA6B,CAAC;AAkDpE;;;;;;;;GAQG;AACH,MAAM,UAAU,gBAAgB,CAAC,WAAmB;IAClD,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC;QAAE,OAAO,EAAE,CAAC;IACxC,OAAO,WAAW,CAAC,WAAW,CAAC;SAC5B,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;SACzC,IAAI,EAAE;SACN,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC;AAC9C,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,IAAY;IACjD,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACpC,IAAI,MAAM,GAAmC,IAAI,CAAC;IAClD,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,iEAAiE;QACjE,yDAAyD;QACzD,MAAM,QAAQ,GAAG,CAAC,MAAM,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,IAA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sBAAsB;YAC/B,IAAI,EAAE,QAAQ,CAAC,IAAI;YACnB,MAAM,EACJ,OAAO,QAAQ,CAAC,IAAI,aAAa,sBAAsB,IAAI,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG;gBAC7F,4BAA4B,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,UAAU;SACjE,CAAC;IACJ,CAAC;IACD,OAAO;QACL,IAAI,EAAE,MAAM,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,MAAM,EAAE,OAAO,QAAQ,CAAC,IAAI,aAAa,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,0BAA0B;KAC3F,CAAC;AACJ,CAAC"}
|
|
@@ -66,6 +66,13 @@ export interface SupervisedOptions {
|
|
|
66
66
|
* `expect` key is emitted and Playwright's own 5-second default stands.
|
|
67
67
|
*/
|
|
68
68
|
expectTimeoutMs?: number;
|
|
69
|
+
/**
|
|
70
|
+
* Playwright trace mode, written as `use.trace` in the generated
|
|
71
|
+
* config the supervised run executes under. Undefined resolves from
|
|
72
|
+
* `runtime.yml trace`; when neither declares a value the generated
|
|
73
|
+
* config keeps `trace: 'off'` — the default is unchanged.
|
|
74
|
+
*/
|
|
75
|
+
trace?: 'off' | 'on' | 'retain-on-failure' | 'on-first-retry' | 'on-all-retries' | 'retain-on-first-failure';
|
|
69
76
|
/**
|
|
70
77
|
* `--progress` target (additive): `stderr`, `file:<path>`, `off`, or
|
|
71
78
|
* undefined for the `run.progress` config key and then the CI-aware
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-gates.d.ts","sourceRoot":"","sources":["../../src/commands/test-gates.ts"],"names":[],"mappings":"AA6DA,OAAO,EA4BL,KAAK,eAAe,EAEpB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,eAAe,EAEpB,KAAK,WAAW,EAGhB,KAAK,iBAAiB,EAKtB,KAAK,S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AC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,GAAG;IAAE,IAAI,EAAE,UAAU,GAAG,IAAI,CAAC;IAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAyHrD;AACD;;;;;;;;GAQG;AACH,wBAAsB,sBAAsB,CAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,CAiJhG;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH;;;;;;;;;;;;GAYG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,SAAS,gBAAgB,EAAE,GACnC,aAAa,EAAE,CAajB;AAumID;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,eAAe,EAAE,eAAe,GAAG,IAAI,EACvC,QAAQ,EAAE,SAAS,iBAAiB,EAAE,GACrC,MAAM,CAgDR"}
|
|
@@ -99,6 +99,7 @@ import { pruneRunHistory, recordRunHistory } from '../history.js';
|
|
|
99
99
|
import { ProgressStream, resolveProgressTarget } from '../progress.js';
|
|
100
100
|
import { writeRunScopeView, writeStateFile, writeTestFailures } from '../state.js';
|
|
101
101
|
import { keepFailureArtifacts } from '../failure-artifacts.js';
|
|
102
|
+
import { expandSerialSelection } from '../serial-expansion.js';
|
|
102
103
|
export const TEST_GATES_USAGE = 'usage: gateforge test-gates [--changed] [--scope full|changed] [--suite <command>] [--out <dir>] ' +
|
|
103
104
|
'[--result-only] [--test <selector>] [--format text|json|sarif] [--witness-url <url>] [--run-token <token>] ' +
|
|
104
105
|
'[--run-timeout-min <minutes>] [--progress stderr|file:<path>|off|auto] ' +
|
|
@@ -231,6 +232,7 @@ export async function testGatesCommand(io, argv) {
|
|
|
231
232
|
runTimeoutMs: parseRunTimeoutMin(stringFlag(options, 'run-timeout-min')) ?? runtimeRunTimeoutMs(io.cwd),
|
|
232
233
|
stallTimeoutMs: runtimeStallTimeoutMs(io.cwd),
|
|
233
234
|
expectTimeoutMs: runtimeExpectTimeoutMs(io.cwd),
|
|
235
|
+
trace: runtimeTrace(io.cwd),
|
|
234
236
|
progress: progressFlag,
|
|
235
237
|
scope,
|
|
236
238
|
resultOnly,
|
|
@@ -391,6 +393,31 @@ function runtimeExpectTimeoutMs(cwd) {
|
|
|
391
393
|
return undefined;
|
|
392
394
|
}
|
|
393
395
|
}
|
|
396
|
+
/**
|
|
397
|
+
* The Playwright trace mode the OWNER declared in the staged runtime
|
|
398
|
+
* document, or undefined when the document declares none.
|
|
399
|
+
*
|
|
400
|
+
* `runtime.yml`'s `trace` is the owner's answer to "leave me a trace to
|
|
401
|
+
* diagnose a red supervised test from": the consumer config is never
|
|
402
|
+
* loaded, so this declaration is the only way a `use.trace` above `off`
|
|
403
|
+
* reaches the run's generated config and a `trace.zip` reaches
|
|
404
|
+
* `last-failures`. A document that cannot be read declares nothing, and
|
|
405
|
+
* `trace: 'off'` stands.
|
|
406
|
+
*
|
|
407
|
+
* Args:
|
|
408
|
+
* cwd: absolute repository root.
|
|
409
|
+
*
|
|
410
|
+
* Returns:
|
|
411
|
+
* string | undefined: the declared trace mode, or undefined for off.
|
|
412
|
+
*/
|
|
413
|
+
function runtimeTrace(cwd) {
|
|
414
|
+
try {
|
|
415
|
+
return loadRuntimeConfigAt(cwd, loadConfigAt(cwd).runtime)?.trace;
|
|
416
|
+
}
|
|
417
|
+
catch {
|
|
418
|
+
return undefined;
|
|
419
|
+
}
|
|
420
|
+
}
|
|
394
421
|
/**
|
|
395
422
|
* The legacy `--suite` orchestration (unchanged behavior): materialize
|
|
396
423
|
* run state, run the user's suite command, evaluate, report.
|
|
@@ -1677,6 +1704,21 @@ function quarantinedFrameworkIds(catalog, quarantinedKeys) {
|
|
|
1677
1704
|
}
|
|
1678
1705
|
return ids;
|
|
1679
1706
|
}
|
|
1707
|
+
/**
|
|
1708
|
+
* The catalog lookup the serial expansion ranges and orders members by:
|
|
1709
|
+
* one logical key's source line, or undefined when the catalog never
|
|
1710
|
+
* located the test.
|
|
1711
|
+
*
|
|
1712
|
+
* Args:
|
|
1713
|
+
* catalog: the current test catalog.
|
|
1714
|
+
*
|
|
1715
|
+
* Returns:
|
|
1716
|
+
* (logicalKey: string) => number | undefined: the line lookup.
|
|
1717
|
+
*/
|
|
1718
|
+
function catalogLineOf(catalog) {
|
|
1719
|
+
const lines = new Map(catalog.entries.map((entry) => [entry.logicalKey, entry.sourceLocation.line]));
|
|
1720
|
+
return (logicalKey) => lines.get(logicalKey);
|
|
1721
|
+
}
|
|
1680
1722
|
/**
|
|
1681
1723
|
* Builds one planned row from a contract-enumerated test identity
|
|
1682
1724
|
* (plan 2026-09-25, runner-agnostic evidence): the adapter's logical
|
|
@@ -1808,6 +1850,10 @@ async function runSupervisedTestGatesInner(io, options, declaredRunnerEnvNames)
|
|
|
1808
1850
|
// value wins, the document is re-read for an in-process caller, and
|
|
1809
1851
|
// neither declaring one means no `expect` key in the generated config.
|
|
1810
1852
|
const expectTimeoutMs = options.expectTimeoutMs ?? runtimeExpectTimeoutMs(io.cwd);
|
|
1853
|
+
// The trace mode: the same rule again — the caller's value wins, the
|
|
1854
|
+
// document is re-read for an in-process caller, and neither declaring
|
|
1855
|
+
// one keeps `trace: 'off'` in the generated config.
|
|
1856
|
+
const trace = options.trace ?? runtimeTrace(io.cwd);
|
|
1811
1857
|
// The reuse digest is the IDENTITY of the dependency bytes this run
|
|
1812
1858
|
// executes against, and it must be the same value whoever computes it.
|
|
1813
1859
|
// ONE resolver owns that value: the commit hook hands over the digest
|
|
@@ -2468,9 +2514,47 @@ async function runSupervisedTestGatesInner(io, options, declaredRunnerEnvNames)
|
|
|
2468
2514
|
: resolveTestSelectors(options.testSelectors, plannedRows.map((row) => ({ logicalKey: row.planned.logicalKey })));
|
|
2469
2515
|
// The selected logical keys, hoisted for the grading step below: a
|
|
2470
2516
|
// named run grades exactly the claims of the tests it ran.
|
|
2471
|
-
|
|
2517
|
+
let namedTestIds = namedSelections === null
|
|
2472
2518
|
? null
|
|
2473
2519
|
: [...new Set(namedSelections.flatMap((entry) => [...entry.logicalKeys]))].sort();
|
|
2520
|
+
if (namedSelections !== null) {
|
|
2521
|
+
const named = new Set(namedTestIds ?? []);
|
|
2522
|
+
plannedRows = plannedRows.filter((row) => named.has(row.planned.logicalKey));
|
|
2523
|
+
// A test this run did not execute can never have produced
|
|
2524
|
+
// evidence, so a claim row alone proves nothing: the graded SET is
|
|
2525
|
+
// `namedObligationIds` below, and the declaration inventory stays
|
|
2526
|
+
// whole. (A per-test filter here would silently drop a
|
|
2527
|
+
// declaration whose source location a sibling declaration in the
|
|
2528
|
+
// same file already occupies — the inventory is deduplicated per
|
|
2529
|
+
// source location, not per test.)
|
|
2530
|
+
}
|
|
2531
|
+
// Serial-group expansion (serial journeys fail by construction when a
|
|
2532
|
+
// mapped later step runs without the group's own earlier steps): a
|
|
2533
|
+
// selected test inside a describe in serial mode selects the WHOLE
|
|
2534
|
+
// group, in file order. The expansion joins the graded set too — an
|
|
2535
|
+
// added step's own claims are graded like any selected test's, and a
|
|
2536
|
+
// step that declares nothing contributes nothing. A full run already
|
|
2537
|
+
// selects everything; a re-seal replays the parent receipt's own
|
|
2538
|
+
// file-scoped plan; a non-Playwright runner has no serial scopes; and
|
|
2539
|
+
// a spec that declares nothing serial expands nothing.
|
|
2540
|
+
const serialExpansion = runnerName === 'playwright' &&
|
|
2541
|
+
catalog !== null &&
|
|
2542
|
+
reSealPlan === null &&
|
|
2543
|
+
(namedSelections !== null || options.scope === 'changed')
|
|
2544
|
+
? expandSerialSelection({
|
|
2545
|
+
cwd: io.cwd,
|
|
2546
|
+
rows: plannedRows,
|
|
2547
|
+
allRows: allPlannedRows,
|
|
2548
|
+
lineOf: catalogLineOf(catalog),
|
|
2549
|
+
})
|
|
2550
|
+
: null;
|
|
2551
|
+
if (serialExpansion !== null && serialExpansion.addedLogicalKeys.length > 0) {
|
|
2552
|
+
plannedRows = serialExpansion.rows;
|
|
2553
|
+
if (namedTestIds !== null) {
|
|
2554
|
+
namedTestIds = [...new Set([...namedTestIds, ...serialExpansion.addedLogicalKeys])].sort();
|
|
2555
|
+
}
|
|
2556
|
+
}
|
|
2557
|
+
const serialExpansionRecords = serialExpansion?.expansions ?? [];
|
|
2474
2558
|
// What the SELECTION declares, through EITHER surface: the trusted
|
|
2475
2559
|
// mapping resolution's bindings (the sidecar) or the current claim
|
|
2476
2560
|
// declarations of the selected tests (native Playwright annotations
|
|
@@ -2510,17 +2594,6 @@ async function runSupervisedTestGatesInner(io, options, declaredRunnerEnvNames)
|
|
|
2510
2594
|
}
|
|
2511
2595
|
return [...declared].sort();
|
|
2512
2596
|
})();
|
|
2513
|
-
if (namedSelections !== null) {
|
|
2514
|
-
const named = new Set(namedTestIds ?? []);
|
|
2515
|
-
plannedRows = plannedRows.filter((row) => named.has(row.planned.logicalKey));
|
|
2516
|
-
// A test this run did not execute can never have produced
|
|
2517
|
-
// evidence, so a claim row alone proves nothing: the graded SET is
|
|
2518
|
-
// `namedObligationIds` below, and the declaration inventory stays
|
|
2519
|
-
// whole. (A per-test filter here would silently drop a
|
|
2520
|
-
// declaration whose source location a sibling declaration in the
|
|
2521
|
-
// same file already occupies — the inventory is deduplicated per
|
|
2522
|
-
// source location, not per test.)
|
|
2523
|
-
}
|
|
2524
2597
|
// Dependency closure for a NARROWED plan (`--scope changed` or
|
|
2525
2598
|
// `--test`): Playwright runs a dependency project's tests before the
|
|
2526
2599
|
// dependent project, so a plan that selected only a `chromium` test
|
|
@@ -2556,6 +2629,15 @@ async function runSupervisedTestGatesInner(io, options, declaredRunnerEnvNames)
|
|
|
2556
2629
|
? `scope: changed (${plannedRows.length} tests) — ${providerChangedFiles.length} changed files (provider: ${providerIdentity})`
|
|
2557
2630
|
: `scope: full (${fullPlannedCount} planned tests) — add --scope changed for the ${affectedTestCount} tests affected by ${providerChangedFiles.length} changed files (provider: ${providerIdentity})`);
|
|
2558
2631
|
}
|
|
2632
|
+
// Serial-group selection: the run names each expansion on the
|
|
2633
|
+
// narration stream (stderr in every format — stdout stays pure json
|
|
2634
|
+
// under `--format json`), so the growth beyond the named or mapped
|
|
2635
|
+
// rows is on the record in plain words, and in the report's additive
|
|
2636
|
+
// `serialExpansions` field.
|
|
2637
|
+
for (const expansion of serialExpansionRecords) {
|
|
2638
|
+
const group = expansion.describe === null ? 'the file-level serial scope' : `serial group '${expansion.describe}'`;
|
|
2639
|
+
io.stderr.write(`selection: added ${String(expansion.added)} test${expansion.added === 1 ? '' : 's'} of ${group} (${expansion.file})\n`);
|
|
2640
|
+
}
|
|
2559
2641
|
const inventoryBlocking = discoveryError !== null
|
|
2560
2642
|
? [
|
|
2561
2643
|
{
|
|
@@ -3684,6 +3766,7 @@ async function runSupervisedTestGatesInner(io, options, declaredRunnerEnvNames)
|
|
|
3684
3766
|
...(runTimeoutMs !== undefined ? { timeoutMs: runTimeoutMs } : {}),
|
|
3685
3767
|
...(stallTimeoutMs !== undefined ? { stallTimeoutMs } : {}),
|
|
3686
3768
|
...(expectTimeoutMs !== undefined ? { expectTimeoutMs } : {}),
|
|
3769
|
+
...(trace !== undefined ? { trace } : {}),
|
|
3687
3770
|
activity: runActivity,
|
|
3688
3771
|
},
|
|
3689
3772
|
})
|
|
@@ -4640,7 +4723,26 @@ async function runSupervisedTestGatesInner(io, options, declaredRunnerEnvNames)
|
|
|
4640
4723
|
changedInputs,
|
|
4641
4724
|
},
|
|
4642
4725
|
};
|
|
4643
|
-
const
|
|
4726
|
+
const rawEvaluatedBase = evaluateRun(evaluationInput);
|
|
4727
|
+
const unreadableMappingByObligation = new Map(mappingBlockers
|
|
4728
|
+
.filter((entry) => entry.cause === 'TEST_KIND_UNKNOWN' && entry.name !== null)
|
|
4729
|
+
.map((entry) => [entry.name, entry]));
|
|
4730
|
+
const evaluatedBase = unreadableMappingByObligation.size === 0
|
|
4731
|
+
? rawEvaluatedBase
|
|
4732
|
+
: {
|
|
4733
|
+
...rawEvaluatedBase,
|
|
4734
|
+
verdicts: rawEvaluatedBase.verdicts.map((verdict) => {
|
|
4735
|
+
const problem = unreadableMappingByObligation.get(verdict.obligation.id);
|
|
4736
|
+
if (problem === undefined || verdict.verdict !== 'missing')
|
|
4737
|
+
return verdict;
|
|
4738
|
+
return {
|
|
4739
|
+
...verdict,
|
|
4740
|
+
reason: problem.detail,
|
|
4741
|
+
cause: 'TEST_KIND_UNKNOWN',
|
|
4742
|
+
nextAction: problem.nextAction ?? CAUSE_NEXT_ACTIONS.TEST_KIND_UNKNOWN,
|
|
4743
|
+
};
|
|
4744
|
+
}),
|
|
4745
|
+
};
|
|
4644
4746
|
// Owner-declared business rules (plan 2026-10-05 D4/D5), graded from
|
|
4645
4747
|
// THIS run's own sealed facts. A rule with no mapped test, or a mapped
|
|
4646
4748
|
// test that did not run, did not pass, or does not carry the type's
|
|
@@ -4952,6 +5054,10 @@ async function runSupervisedTestGatesInner(io, options, declaredRunnerEnvNames)
|
|
|
4952
5054
|
diagnosticContext,
|
|
4953
5055
|
...(options.resultOnly ? { outcome: 'partial-selection' } : {}),
|
|
4954
5056
|
...(namedSelections !== null ? { selectors: namedSelections } : {}),
|
|
5057
|
+
// Serial-group selection (additive): what each expansion added, so
|
|
5058
|
+
// the report says out loud that the selection grew beyond the named
|
|
5059
|
+
// or mapped rows. Empty adds no key.
|
|
5060
|
+
...(serialExpansionRecords.length === 0 ? {} : { serialExpansions: serialExpansionRecords }),
|
|
4955
5061
|
...(chaosRun === null
|
|
4956
5062
|
? {}
|
|
4957
5063
|
: { chaos: { ...chaosRun, ...(chaosSchedule === null ? {} : { schedule: chaosSchedule }) } }),
|
|
@@ -4977,6 +5083,7 @@ async function runSupervisedTestGatesInner(io, options, declaredRunnerEnvNames)
|
|
|
4977
5083
|
diagnosticContext,
|
|
4978
5084
|
...(options.resultOnly ? { outcome: 'partial-selection' } : {}),
|
|
4979
5085
|
...(namedSelections !== null ? { selectors: namedSelections } : {}),
|
|
5086
|
+
...(serialExpansionRecords.length === 0 ? {} : { serialExpansions: serialExpansionRecords }),
|
|
4980
5087
|
...(chaosRun === null
|
|
4981
5088
|
? {}
|
|
4982
5089
|
: { chaos: { ...chaosRun, ...(chaosSchedule === null ? {} : { schedule: chaosSchedule }) } }),
|