test(core): add tracking-issue ref to M8/M9 allow-test-rule exemptions (#1531)

lint-allow-test-rule-refs (ADR-456) flagged the two architectural-invariant
exemptions as novel offenders lacking a #NNN reference, failing lint-tests. Add
(see #1531) to both annotation lines; lint:ci now green.

Claude-Session: https://claude.ai/code/session_01R88n7Q54bAaVHFkDbbH1yz
This commit is contained in:
Dave
2026-06-21 14:37:18 -04:00
parent 559da2eeec
commit 4c677f2d92
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
'use strict';
// allow-test-rule: architectural-invariant
// allow-test-rule: architectural-invariant (see #1531)
// writeStateMd's "scan happens INSIDE the lock" property is a concurrency invariant.
// A single-threaded test cannot observe the difference between scan-before-lock and
// scan-after-lock unless something mutates the disk in the window between the two.

View File

@@ -1,5 +1,5 @@
'use strict';
// allow-test-rule: architectural-invariant
// allow-test-rule: architectural-invariant (see #1531)
// acquireStateLock's "no orphan empty lock + no fd leak on a recoverable
// writeSync/closeSync error" property is a resource-safety invariant of a private
// function. A single-threaded test cannot otherwise force the openSync-succeeds-