build(frontend)!: knip drops --production; plain knip stays
The production pass (7ed2ac4e, E32) asked "is this export used by what
ships?". No real hit: its only findings were 37 exports a test imports,
answered with 36 `@internal` JSDoc tags (E34 S2) — test-only exports, not
defects. Since then it has only ever asked for another tag. The tags go
with it (36, no longer read by anything), and so do the production-only
`!…!` exclusions in knip.jsonc and their register rows. Plain knip (unused
files, exports and dependencies) keeps running in the gate.
This commit is contained in:
@@ -7,7 +7,6 @@ import { vocabKey } from "./vocab";
|
||||
* one-liner: `_summarize`'s "new=3, failed=0" (backend/app/scheduler.py). A flat one reads back into a
|
||||
* result, and `enrich`'s bare count ("50") into `{enriched: 50}` as `_result_data` names it; a nested
|
||||
* phase (a Python dict repr) or anything else does not, and stays as it was. */
|
||||
/** @internal exported for jobResult.dom.test.ts */
|
||||
export function parseSummary(summary: string | null | undefined): JobResult | null {
|
||||
if (!summary || /[{}[\]]/.test(summary)) return null;
|
||||
if (/^\d+$/.test(summary)) return { enriched: Number(summary) };
|
||||
|
||||
Reference in New Issue
Block a user