Skip to content

refactor(patches): delete the unused plural sharedTables listing - #372

Merged
allisonmahmood merged 1 commit into
mainfrom
fix/325-delete-shared-tables
Sep 24, 2026
Merged

allisonmahmood merged 1 commit into
mainfrom
fix/325-delete-shared-tables

Conversation

@allisonmahmood

Copy link
Copy Markdown
Owner

Stacked on #370 (branch fix/336-fixture-modifiers).

Patches.sharedTables had no production caller. It kept its own sharedSources query and listing loop alive, while discovery already goes through read/companyInventory and declaration resolution uses singular sharedTable. Closes #325.

This deletes the plural service member, the sharedSources query, the implementation and the returned property, plus the one sharedTables assertion in the lifecycle test. The rest of that test stays. Singular sharedTable, read, companyInventory and readInventory are unchanged.

Caller check: a repo-wide grep for sharedTables/sharedSources (all file types) hit only the deleted code and that one assertion. There is no bracket or type-index access. The helpers the code used (serving, dieOnSchemaError, readInventory) still have other callers. The glossaries don't name the member.

Tests: pnpm typecheck and pnpm lint pass, and Patches.test.ts passes 31/31. The full pnpm test run gave 960 passed and 2 failed: two 5s timeouts in packages/integrations/src/postgres/{Operations,Runtime}.test.ts while other suites were running on the machine. Re-run alone, both files pass 9/9.

Implemented by Claude Opus 5.5 via Claude Code (foreman run orchestrated by Claude Fable 5.1).

@github-actions github-actions Bot added area:server Touches the server area size:s Under 100 changed lines labels Sep 23, 2026
@allisonmahmood
allisonmahmood force-pushed the fix/336-fixture-modifiers branch from e567dea to bbf2b84 Compare September 24, 2026 15:29
Base automatically changed from fix/336-fixture-modifiers to main September 24, 2026 15:37
Patches.sharedTables had no production caller; discovery uses read and
companyInventory, and declaration resolution uses singular sharedTable.
Remove the service member, its sharedSources query, the implementation and
its one test assertion.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@allisonmahmood
allisonmahmood force-pushed the fix/325-delete-shared-tables branch from 9c1ff60 to fb2ae3b Compare September 24, 2026 15:37
@allisonmahmood
allisonmahmood merged commit 2bd647e into main Sep 24, 2026
8 checks passed
@allisonmahmood
allisonmahmood deleted the fix/325-delete-shared-tables branch September 24, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:server Touches the server area size:s Under 100 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

patches: delete the unused plural sharedTables discovery branch

1 participant