chore(deps): adopt @query-doctor/core ^0.23.0 - #225
Merged
Conversation
0.22.0 dumped a schema whose every constraintType was truncated to its first character, so primary_key arrived as p and foreign_key as f. 0.23.0 fixes the dump SQL, and normalizes the old codes back to names on the way in, so a snapshot taken by either version reads the same. Co-Authored-By: Claude <noreply@anthropic.com>
There was a problem hiding this comment.

Query Doctor — 6 successful checks
More details via MCP → get_ci_run({ runId: "019fdc56-9f17-7e4b-96d4-3bfa35bff20b" }) · view run · docs
3 queries read against main on assumed statistics of 10,000,000 rows per table. Sync production stats for costs measured against your real data.
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.
Goal
Get the analyzer onto the core it needs to dump a schema correctly. Follows Query-Doctor/Site#3925, which published
@query-doctor/core@0.23.0. This is the last step; nothing else is waiting on it.What
Before: on 0.22.0,
dumpSchemaruns SQL whoseCASE con.contyperesolves to thechartype, so every constraint name is cut to its first character.primary_keyis dumped aspandforeign_keyasf. Any consumer matching on the full name sees nothing.After: constraint names arrive whole.
How
The range moves from
^0.22.0to^0.23.0, and the lockfile follows. No source changes.0.23.0 also maps the old one-character codes back to names when it parses a snapshot, so schemas dumped by an analyzer still on 0.22.0 keep reading correctly. That is what makes this bump safe to land on its own schedule rather than in lockstep with anything.
Tests
No behavior in this repo changed, so no test was added.
npm testpasses locally against 0.23.0: 440 tests across 43 files, including the runs that dump a real Postgres schema in a container.tsc --noEmitis clean.