@gate-forge/cli 0.18.0 → 0.18.1
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 +38 -0
- package/guides/QUICKSTART.md +5 -5
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## 0.18.1
|
|
6
|
+
|
|
7
|
+
- **Fixed: a slow observe finalize no longer delays the next test's
|
|
8
|
+
witness session open.** The supervisor drain handled every spool
|
|
9
|
+
event strictly one after another, and a PASSED test's outcome end
|
|
10
|
+
awaited its observe finalize (adapter reads over HTTP) and the seal
|
|
11
|
+
inline — so the NEXT test's `testBegin` opened only after that
|
|
12
|
+
finalize resolved. A finalize slower than the worker fixture's 5 s
|
|
13
|
+
session wait failed the next test with "No supervisor-issued witness
|
|
14
|
+
session" although nothing was wrong with it (seen as the single
|
|
15
|
+
failing test of 791 in PM witnessed CI). The released-slot outcome
|
|
16
|
+
end now queues its finalize→seal chain on a serialized off-path
|
|
17
|
+
queue: the witness sees the same call order as before (finalize
|
|
18
|
+
still before seal per session, re-deliveries identical), the
|
|
19
|
+
worker-end release path, slot bookkeeping, lifecycle-conflict
|
|
20
|
+
detection and freeze ordering are unchanged, and `stop` settles
|
|
21
|
+
every queued chain before the report, freeze handler and leftover
|
|
22
|
+
force-close read anything.
|
|
23
|
+
|
|
24
|
+
- **Fixed: a supervisor session open aborted at the transport no longer
|
|
25
|
+
orphans the witness session it minted.** The drain recorded the
|
|
26
|
+
worker slot only when `client.openSession` resolved, so an open whose
|
|
27
|
+
response was lost after the witness had already bound the session
|
|
28
|
+
(the 5 s supervisor call timeout fired) left the session open with
|
|
29
|
+
no owner: the test's own ends closed nothing, and the NEXT test on
|
|
30
|
+
that worker was 409-refused (`worker N already carries an open
|
|
31
|
+
session for testId '<prev>'`) and failed with "No supervisor-issued
|
|
32
|
+
witness session". The drain now makes ONE further idempotent open
|
|
33
|
+
call when an open fails at the transport level (status 0 — the
|
|
34
|
+
outcome is unknown): the witness answers the identical (worker,
|
|
35
|
+
testId) re-open with the same session, so the original session is
|
|
36
|
+
reclaimed, never duplicated. A definite refusal (403/409/400) is
|
|
37
|
+
never retried, a recovery that also fails fails closed exactly as
|
|
38
|
+
before, and every other lifecycle rule (conflicts, release/seal
|
|
39
|
+
order, freeze audit) is unchanged.
|
|
40
|
+
|
|
3
41
|
## 0.18.0
|
|
4
42
|
|
|
5
43
|
- **Fixed: the run-wide complete-scan check counts only files a detector
|
package/guides/QUICKSTART.md
CHANGED
|
@@ -24,11 +24,11 @@ Example for a React frontend, FastAPI backend, and SQLAlchemy data layer:
|
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
26
|
npm i -D \
|
|
27
|
-
@gate-forge/cli@0.18.
|
|
28
|
-
@gate-forge/pack-playwright@0.18.
|
|
29
|
-
@gate-forge/pack-http@0.18.
|
|
30
|
-
@gate-forge/pack-fastapi@0.18.
|
|
31
|
-
@gate-forge/pack-sqlalchemy@0.18.
|
|
27
|
+
@gate-forge/cli@0.18.1 \
|
|
28
|
+
@gate-forge/pack-playwright@0.18.1 \
|
|
29
|
+
@gate-forge/pack-http@0.18.1 \
|
|
30
|
+
@gate-forge/pack-fastapi@0.18.1 \
|
|
31
|
+
@gate-forge/pack-sqlalchemy@0.18.1
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Use the project-local `gateforge` binary from your npm script or add `node_modules/.bin` to your shell `PATH`. If the scan recommends other packs, add only the ones your code uses, at the same version. A mismatched Gateforge package contract can stop the CLI with exit code 2 and `GATEFORGE_PACKAGE_INCOMPATIBLE`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gate-forge/cli",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.1",
|
|
4
4
|
"gateforgeCompatibility": {
|
|
5
5
|
"supervisedFixtureProtocol": "gateforge.supervised-playwright.v1"
|
|
6
6
|
},
|
|
@@ -33,16 +33,16 @@
|
|
|
33
33
|
"test": "vitest run"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@gate-forge/core": "^0.18.
|
|
37
|
-
"@gate-forge/http-contract": "^0.18.
|
|
38
|
-
"@gate-forge/pack-fastapi": "^0.18.
|
|
39
|
-
"@gate-forge/pack-alembic": "^0.18.
|
|
40
|
-
"@gate-forge/pack-http": "^0.18.
|
|
41
|
-
"@gate-forge/pack-react-router": "^0.18.
|
|
42
|
-
"@gate-forge/pack-playwright": "^0.18.
|
|
43
|
-
"@gate-forge/pack-sqlalchemy": "^0.18.
|
|
44
|
-
"@gate-forge/pack-task": "^0.18.
|
|
45
|
-
"@gate-forge/plugin-protocol": "^0.18.
|
|
36
|
+
"@gate-forge/core": "^0.18.1",
|
|
37
|
+
"@gate-forge/http-contract": "^0.18.1",
|
|
38
|
+
"@gate-forge/pack-fastapi": "^0.18.1",
|
|
39
|
+
"@gate-forge/pack-alembic": "^0.18.1",
|
|
40
|
+
"@gate-forge/pack-http": "^0.18.1",
|
|
41
|
+
"@gate-forge/pack-react-router": "^0.18.1",
|
|
42
|
+
"@gate-forge/pack-playwright": "^0.18.1",
|
|
43
|
+
"@gate-forge/pack-sqlalchemy": "^0.18.1",
|
|
44
|
+
"@gate-forge/pack-task": "^0.18.1",
|
|
45
|
+
"@gate-forge/plugin-protocol": "^0.18.1",
|
|
46
46
|
"picomatch": "^4.0.7",
|
|
47
47
|
"yaml": "^2.8.1"
|
|
48
48
|
},
|