Skip to content

Commit c179dd7

Browse files
claude[bot]claude
andauthored
docs(plugin-audit): the tenantId pin's title says v16-removed, the major it was actually removed in (#11502) (#11543)
The live test name at audit-writers.test.ts:1653 read "does not resolve the v11-removed `tenantId` alias". The #3290 `session.tenantId` removal shipped in the v16 major, not v11 — there is no v11 release page at all (release pages on main are v9, v12-v17). Two siblings in this same package already carry the correct label for the same removal, which is what pins the right form: src/audit-writers.ts:1205 "removed repo-wide in the v16 major (#3290)" src/audit-writers.test.ts:1560 "REMOVED repo-wide in the v16 major (#3290)" so the title was the one site left disagreeing with its own file's doc comment 90 lines above it. Title text only — no assertion, fixture or subject moves. The pin still fires on exactly what it fired on before: a session in the removed dialect must not resolve, `organization_id` stays null. Claude-Session: https://claude.ai/code/session_01APWX2AwT3a4xDcjPCe8bk4 Co-authored-by: Claude <noreply@anthropic.com>
1 parent c33f185 commit c179dd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/plugins/plugin-audit/src/audit-writers.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1650,7 +1650,7 @@ describe('audit writers — the writer reads the session key the engine emits (#
16501650
expect(created.find((c) => c.object === 'sys_audit_log')?.row.organization_id).toBe('org-A');
16511651
});
16521652

1653-
it('⛔ does not resolve the v11-removed `tenantId` alias', async () => {
1653+
it('⛔ does not resolve the v16-removed `tenantId` alias', async () => {
16541654
const { engine, fire, created } = makeEngine(AUDITED);
16551655
installAuditWriters(engine as any, 'test.audit');
16561656

0 commit comments

Comments
 (0)