docs(testing): drop the removed cancelled-constructor baseline (#12098)

#11787 migrated the last direct AnalysisCancelledError constructions and
deleted scripts/verify/baselines/analysis-cancelled-constructor.json, but
the testing guide still told contributors their files were listed there.
State that the guard now has no baseline and allows zero copies.
This commit is contained in:
Oke Iyanuoluwa Enoch authored and GitHub committed 2026-11-18 16:53:31 -05:00
1 parent 86cf8942de
commit 3a75ee2b1d
1 file changed
+5 -5
+5 -5
View File
@@ -195,11 +195,11 @@ Its reason argument is required: an aborted `AbortSignal`, an earlier
`AnalysisCancelledError`, a `carriedReason(...)` recovered from an inner
failure, or an `OwnerCancellation` when REA itself closed the work's owner. The
architecture guard rejects a direct `new AnalysisCancelledError(` outside that
module. Files that still construct one directly are listed with their counts in
`scripts/verify/baselines/analysis-cancelled-constructor.json`; a file may not
exceed its count, and after removing copies run
`node scripts/verify/architecture-guards.mjs --shrink-baselines` to lower it.
Each counted guard keeps its baseline in its own
module. No file is allowed one, so this guard has no baseline file; a guard
without one allows zero copies. Other counted guards still list the files that
keep copies, with their counts; a file may not exceed its count, and after
removing copies run `node scripts/verify/architecture-guards.mjs --shrink-baselines`
to lower it. Each counted guard keeps its baseline in its own
`scripts/verify/baselines/<guard-key>.json`, with paths sorted by code unit, so
changes to different guards never edit the same file. Resolve a conflict in one
of these files by keeping both sides' entries (the higher count where they