Repository navigation
refactor(patches): delete the unused plural sharedTables listing - #372
Merged
Merged
Conversation
allisonmahmood
force-pushed
the
fix/336-fixture-modifiers
branch
from
September 24, 2026 15:29
e567dea to
bbf2b84
Compare
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
force-pushed
the
fix/325-delete-shared-tables
branch
from
September 24, 2026 15:37
9c1ff60 to
fb2ae3b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #370 (branch fix/336-fixture-modifiers).
Patches.sharedTableshad no production caller. It kept its ownsharedSourcesquery and listing loop alive, while discovery already goes throughread/companyInventoryand declaration resolution uses singularsharedTable. Closes #325.This deletes the plural service member, the
sharedSourcesquery, the implementation and the returned property, plus the onesharedTablesassertion in the lifecycle test. The rest of that test stays. SingularsharedTable,read,companyInventoryandreadInventoryare 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 typecheckandpnpm lintpass, andPatches.test.tspasses 31/31. The fullpnpm testrun gave 960 passed and 2 failed: two 5s timeouts inpackages/integrations/src/postgres/{Operations,Runtime}.test.tswhile 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).