Repository navigation
Conversation
HandSonic
marked this pull request as draft
August 31, 2026 04:07
HandSonic
marked this pull request as ready for review
August 31, 2026 04:32
HandSonic
marked this pull request as draft
August 31, 2026 05:10
HandSonic
force-pushed
the
fix/sql-parser-latest-request
branch
2 times, most recently
from
August 31, 2026 06:02
f7b654d to
ac1c0b6
Compare
HandSonic
force-pushed
the
fix/sql-parser-latest-request
branch
from
September 3, 2026 08:08
ac1c0b6 to
3750b0a
Compare
HandSonic
marked this pull request as ready for review
September 3, 2026 14:28
HandSonic
force-pushed
the
fix/sql-parser-latest-request
branch
from
September 3, 2026 21:07
3750b0a to
7d9989f
Compare
Align existing OtterMind/Chat2DB PR OtterMind#2847, retaining its focused behavior and current Community contracts.
This branch has not been deployed
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.
Related issue
N/A - no matching issue was found.
Summary
SQL parser responses had no ownership over the current editor model/SQL/database. Older responses could overwrite statements, markers, completion, decorations, and hints, while single-statement execution paths could read stale statement refs during the debounce window. This change adds scoped parser generations, clears invalidated state, requires every single-statement entry to await a committed quick parse, and binds toolbar/shortcut execution to trigger-time selection and cursor snapshots.
Affected surfaces
Verification
Risk and compatibility
Reviewer map
SqlParserRequestCoordinator,handleSQLParserRightNow, and both single-execution handlers.7d9989f9c6806fcf6da6244fda994ad8fffb25d0; no migration is required.Contributor declaration
AI assistance: OpenAI Codex assisted with diagnosis, implementation, deterministic tests, verification, and adversarial review.
Latest-main revalidation (2026-09-04)