Skip to content

Commit 105d266

Browse files
committed
test(cli): drive migrate audit-metadata-bodies in the --json stdout-purity family
`os migrate audit-metadata-bodies` calls `bootSchemaStack(` and declares `--json`, so the purity suite's source discovery already counts it, but FAMILY did not list it and the nightly reconciliation case went red on main. List it with its bare argv: the dry run is the command's default, so the drive boots, reads sys_audit_log / sys_activity and writes nothing, and the three per-member purity assertions now run against it. Claude-Session: https://claude.ai/code/session_01VvcEokUG1tvVxkceYfR5XB Co-authored-by: Claude <noreply@anthropic.com>
1 parent 43e928d commit 105d266

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎packages/cli/test/json-stdout-purity.e2e.test.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ const FAMILY: Record<string, string[]> = {
9191
// diagnostic the failed scan produces is emitted before it.
9292
'migrate account-issuer': [],
9393
'migrate apply': [],
94+
// A dry run is its DEFAULT and the only form driven here: without `--apply`
95+
// it boots (plugin-audit's objects registered), reads `sys_audit_log` /
96+
// `sys_activity` and writes nothing. Its rewrite runner logs through a sink of
97+
// its own, which `--json` points at stderr — a third pollution source beside
98+
// the two in the header, so this member is worth driving, not only listing.
99+
'migrate audit-metadata-bodies': [],
94100
'migrate files-to-references': [],
95101
'migrate meta': ['--stored'],
96102
'migrate multi-value-columns': [],

0 commit comments

Comments
 (0)