From 3a75ee2b1d27ce19bfdbb412fe9f4416705cc911 Mon Sep 17 00:00:00 2001 From: Oke Iyanuoluwa Enoch <70354778+Iyanuoluwa007@users.noreply.github.com> Date: Wed, 18 Nov 2026 21:53:31 +0000 Subject: [PATCH] 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. --- docs/development/testing.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/development/testing.md b/docs/development/testing.md index f4091dfa6c..9b2ecf5e4f 100644 --- a/docs/development/testing.md +++ b/docs/development/testing.md @@ -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/.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