Skip to content

fix(sqlite): preserve session state across TUI script statements - #364

Merged
Maxteabag merged 2 commits into
mainfrom
fix/sqlite-script-session
Nov 27, 2026
Merged

Maxteabag merged 2 commits into
mainfrom
fix/sqlite-script-session

Conversation

@Maxteabag

Copy link
Copy Markdown
Owner

Refs #340. This change addresses SQLite TUI scripts.

Run All keeps a single SQLite connection across statements, so a TEMP table created by the script is available to subsequent statements. Explicit transactions can continue across runs. File-backed and in-memory databases are covered.

The original flow failed with “no such table: sample”. The focused run on ai-swarm passed 63 tests covering Run All, BEGIN/COMMIT/ROLLBACK, TEMP tables and separate script invocations. Six MySQL cases were excluded.

@Maxteabag
Maxteabag merged commit f7fbfab into main Nov 27, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant