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:
@@ -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.
|
||||
|
||||
@@ -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-
|
||||
|
||||
Reference in New Issue
Block a user