Skip to content

Commit f32c4b2

Browse files
committed
chore(objectql): retire the PR-10d.1 dry-run-hash-compat probe and its scripts program
The one-time ADR-0008 PR-10d.1 compatibility probe finished its job when PR-10d.2 aligned the repository; nothing ships it (objectql's `files` is `dist` only) and nothing runs it. Delete it rather than repair its type-blind `hashSpec(body)` call. - delete `packages/objectql/scripts/dry-run-hash-compat.ts` and its test `src/dry-run-hash-compat.test.ts` (no other importer of `runDryRun`); - `scripts/` is now empty, so `tsconfig.scripts.json` and the `typecheck` leg that named it go too (an empty program fails TS18003); - drop the two EXEMPT_FILES rows in `check-error-code-casing.mjs`; - reword the comments that stated the deleted files as present: the `tsconfig.test.json` rootDir note, the two `.pin.ts` docblocks quoting the `typecheck` line, and four spots in `check-type-check-coverage.mjs` (dated census rows and measurements are kept as history). Claude-Session: https://claude.ai/code/session_017ErfyP2Rx7XWHJA27QjyUi Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0fe0a59 commit f32c4b2

9 files changed

Lines changed: 29 additions & 678 deletions

‎packages/objectql/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"build": "tsup && node ../../scripts/check-dts-emitted.mjs",
2222
"test": "vitest run --project local",
2323
"test:repo": "vitest run --project repo",
24-
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.scripts.json && pnpm check:test-typecheck",
24+
"typecheck": "tsc --noEmit && pnpm check:test-typecheck",
2525
"check:test-typecheck": "tsx ../../scripts/check-test-typecheck.mts --self-test && tsx ../../scripts/check-test-typecheck.mts --package packages/objectql --project tsconfig.test.json",
2626
"gen:test-typecheck-debt": "tsx ../../scripts/check-test-typecheck.mts --update --package packages/objectql --project tsconfig.test.json"
2727
},

‎packages/objectql/scripts/dry-run-hash-compat.ts‎

Lines changed: 0 additions & 330 deletions
This file was deleted.

‎packages/objectql/src/datasource-def-credentials-ref.pin.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
*
3030
* ⚠ It is NOT that a directive in a `*.test.ts` here would go unevaluated —
3131
* this docblock used to say so, and that is FALSE on this tree. This package's
32-
* `typecheck` is `tsc --noEmit && tsc --noEmit -p tsconfig.scripts.json &&
33-
* pnpm check:test-typecheck`, and the last leg runs
32+
* `typecheck` is `tsc --noEmit && pnpm check:test-typecheck`, and the last
33+
* leg runs
3434
* `--project tsconfig.test.json`, whose `include` is `src/**\/*` with no test
3535
* exclusion: 299 of this package's `src` test files are in that program,
3636
* measured with `tsc --listFiles` (0 in the build program — the firing control

0 commit comments

Comments
 (0)