Skip to content

Commit 78ad84f

Browse files
committed
test(lint): table the fold's stored list and the walk's stored names as plumbing receivers
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5pZiFTTaXqbY34YRcV
1 parent e681d49 commit 78ad84f

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

‎packages/lint/src/validate-expressions.test.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4373,6 +4373,10 @@ describe('validateStackExpressions — reads only keys the spec declares (meta-t
43734373
// the metadata reads, `options` and `picklist`, go through
43744374
// `declaresOptionsOnceServed`.
43754375
'fieldList', 'declaredNames',
4376+
// [#33494] The names the door's stored extensions add (a Set of field
4377+
// names), read to keep the target's served copy from filling a tied
4378+
// name back in. Its keys are Set methods (`add`, `has`), never metadata keys.
4379+
'storedNames',
43764380
// [#13935] The field-rule verdict, split into a compute half and a push
43774381
// half so the walk can tell `check` a verdict was issued. `verdict`'s
43784382
// keys are this helper's own `{ root, message, source }`, never metadata

‎packages/lint/src/validate-security-posture.test.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2483,6 +2483,9 @@ describe('validateSecurityPosture — reads only keys the spec declares (meta-te
24832483
// #31998: the role-word extension walk's finding path (`….fieldPatches.${fieldName}.label`), a template
24842484
// segment and not a receiver.
24852485
'fieldPatches',
2486+
// #33494: the fold's `stored` parameter, the host's list of other packages' published extensions
2487+
// (`StoredObjectExtension[]`) — `.forEach`, a JS Array method; each entry is read by `collect` as `ext`.
2488+
'stored',
24862489
]);
24872490
expect(receivers.filter((r) => !tabled.has(r) && !PLUMBING.has(r))).toEqual([]);
24882491
});

0 commit comments

Comments
 (0)