You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3ea7fdc
Browse filesBrowse the repository at this point in the historyBrowse files
ci: wire framework-checks, generation-retention and napi-fuzz into the witness matrix
All three were local-only, so nothing caught their regressions.
framework-checks had silently stopped testing astro: its installs used
--legacy-peer-deps (the fork's 6.0.3-bridge.N prerelease satisfies no
^6 peer range), which also dropped @astrojs/check's own peers, so
astro check stopped at its install prompt for both TNB and stock and
the parity compare passed on two identical prompts. Installs now
resolve against stock typescript (STOCK_TSSERVER_PATH's package, which
replaces the private npm pack) and node_modules/typescript is relinked
per run; framework versions are pinned and a changed pin reinstalls;
the astro cases fail when no Result line was printed; the TNB side
links the real package root, so the isolated CI tools copy works.
TNB_FW_CACHE had no setter and is gone.
generation-retention defaults --tsserver to lib/tsserver.js and the
stock calibration to STOCK_TSSERVER_PATH, the matrix's no-argument
shape. framework-checks joins wg3, the other two wg4 (the ~23s
groups).
Co-authored-by: Johnson Chu <johnsoncodehk@users.noreply.github.com>
Copy file name to clipboardExpand all lines: AGENTS.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,8 @@ TNB is a tsgo-backed TypeScript fork: upstream `microsoft/TypeScript` and `micro
32
32
33
33
-`npm run check:lib` / `check:enums` / `check:sourcefile-guard`
34
34
-`npm run check:go-as-guards` — Go-side Type-cast guard: every `Type.As*()` chain deref and unguarded nil-family assignment in the tsgo patches/overlay is fixed or carries an inline `// asguard:exempt` reason (issues #69/#70 bug class)
35
-
- Witnesses: 86 across wg0–wg6, all wired in CI (`.github/workflows/ci.yml`), single source of truth `tools/ci-witness-groups.mjs` — `node tools/ci-witness-groups.mjs all` validates dup/missing/orphan/local-only/baseline wiring and emits the matrix (`matrix` mode feeds the ci.yml prepare job).
36
-
- Local-only — run on demand, not in the matrix (reasons in the matrix header comment): framework-checks, generation-retention, napi-fuzz, completion-latency, postedit-latency, perf-edit-rpc, perf-qi-rpc, typing-cpuprof.
35
+
- Witnesses: 89 across wg0–wg6, all wired in CI (`.github/workflows/ci.yml`), single source of truth `tools/ci-witness-groups.mjs` — `node tools/ci-witness-groups.mjs all` validates dup/missing/orphan/local-only/baseline wiring and emits the matrix (`matrix` mode feeds the ci.yml prepare job).
36
+
- Local-only — run on demand, not in the matrix (measurement, not pass/fail): completion-latency, postedit-latency, perf-edit-rpc, perf-qi-rpc, typing-cpuprof.
37
37
- Locally hostable gates: `check:sim-nav` and `check:sourcefile-guard` need a volar checkout. ci.yml's recipe, which is the one to copy (`VOLAR_SHA` is the ci.yml env pin — set it in your shell, a shallow clone does not carry the tag):
38
38
```sh
39
39
export VOLAR_SHA=<.github/workflows/ci.yml value>
@@ -69,9 +69,9 @@ TNB is a tsgo-backed TypeScript fork: upstream `microsoft/TypeScript` and `micro
69
69
-`triage-cli-only-flags` — CLI-only options (`--strict`, `--target`, …) ride updateSnapshot to Go; diagnostics must move like stock
-`triage-external-edits` — issue #49: disk rewrites reach tsgo across estree/tsserver/tsc-watch host classes (tsc-watch: the thin program registers a watcher per program file — it never passes files through getSourceFile, where stock creates them)
72
-
-`triage-generation-retention`(local-only) — 100 edit+F12 rounds hold a ≈0 heapUsed slope (no closure pins a generation island)
73
-
-`triage-framework-checks`(local-only) — svelte-check/astro-check/glint vs stock parity (fixtures under /tmp/tnb-fw-fixtures)
74
-
-`triage-napi-fuzz`(local-only) — NAPI payload fuzz probe
72
+
-`triage-generation-retention` — 100 edit+F12 rounds hold a ≈0 heapUsed slope (no closure pins a generation island)
73
+
-`triage-framework-checks` — svelte-check/astro-check/glint vs stock parity (pinned framework versions installed under /tmp/tnb-fw-fixtures against stock typescript, then relinked to TNB/stock per run)
74
+
-`triage-napi-fuzz` — NAPI payload fuzz: echo round-trips byte-identical on the string and binary paths
if(/ts\(2304\):\s*Cannotfindname'Fragment'/.test(t))return"false positive: global Fragment unresolved (#38 — plugin ambient roots dropped on snapshot rebuild)";
@@ -177,34 +192,32 @@ const { title } = Astro.props;
177
192
.replace(/\d{2}:\d{2}:\d{2}/g,'TT:TT:TT')
178
193
.replace(/\d+(?:\.\d+)?m?s\b/g,'Xms');
179
194
consta=norm(out).trim(),b=norm(outStock).trim();
195
+
if(!/Result\(\d+files?\)/.test(a))return`astro check did not run:\n${a}`;
180
196
if(a!==b)return`output mismatch vs stock:\n--- tnb ---\n${a}\n--- stock ---\n${b}`;
0 commit comments