Repository navigation
feat(connection): drop the pool size setting and the pool counter - #769
Merged
Merged
Conversation
Each editor tab, the agent and backups now have connections of their own (#731), so the profile's pool only carried schema browsing, dialogs and admin. Asking users to size it, and showing them its usage, had stopped meaning anything; no other client does either. - The interactive lane is a fixed INTERACTIVE_LANE_MAX (3) connections, one kept open. The profile's pool_min/pool_max are still stored and accepted, so profiles from older builds load, but are no longer read. - The Advanced tab loses Min/Max pool size and their validation; the status bar loses the "pool n/m" counter and the pool_stats polling behind it. - A full lane's message says what is busy and that editor tabs are not affected, rather than suggesting a setting that no longer exists. - FR-1.2.3 now describes a connection per purpose. Part of #731. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g
This was referenced Oct 19, 2026
Merged
Merged
EVWorth
added a commit
that referenced
this pull request
Oct 20, 2026
* release: 1.3.0 Version bump across the three manifests and the two lockfile entries that record the app's own version. 1.2.0 and 1.2.1 were bumped but never tagged, so 1.3.0 is the first release since 1.1.0 and carries everything since it: Connections (#731) - Each editor tab runs on its own server session, so SET @var, SET SESSION, temporary tables and multi-run transactions carry over (#734) - Each agent session, and each backup or restore, has connections of its own, so none of them can hold up the editor or each other (#732, #770) - The Min/Max pool size setting and the status-bar pool counter are gone; connections are no longer something to size (#769) - A "busy" error says what is busy and what to wait for (#727) Grid - Grid edits save on the tab's session without committing its open transaction (#762) - Copy a long cell value without opening the viewer (#748) Fixes - Linux: WebKitGTK's DMABUF renderer is off under Wayland (#742) - rustls for RUSTSEC-2026-0285 and RUSTSEC-2026-0346..0349 (#728, #759) - Tauri 2.12.3, tauri-plugin-updater 2.13.3, tauri-plugin-shell 2.5.0 (#749, #747, #758), and dependency roll-ups Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g * fix(deps): bump rustls-webpki and webpki-roots for RUSTSEC-2026-0381..0383 rustls-webpki 0.103.16, webpki-roots and webpki-root-certs 1.0.10. The advisories were published today: certificate verification could accept distrusted intermediates, and the bundled roots still trusted the distrusted emSign intermediates. cargo audit fails on all three, and a release should not ship them. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WTypK4RjzzdjoFxd3qk14g --------- Co-authored-by: Claude <[email protected]>
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.
Part of #731: the "revisit Max pool size" item.
Why
Editor tabs (#734), the agent and backups/restores (#732) now have connections of their own, so the profile's pool only carried schema browsing, dialogs and admin. Sizing it was no longer something a user could make a sensible choice about. DBeaver, DataGrip, Workbench, HeidiSQL and TablePlus don't expose a pool size or a pool counter, and the maintainer agreed to drop both.
Change
Backend (
mas-core)INTERACTIVE_LANE_MAX= 3 connections, one kept open. One alone would let a slowinformation_schemaread stall the schema tree.ConnectionProfile.pool_min/pool_maxare still stored and accepted, now#[serde(default)], so profiles from older builds load. Nothing reads them any more.clamped_pool_sizing,POOL_MAX_LIMIT,PoolStats,ConnectionManager::pool_stats, and thepool_statscommand.Frontend
connection-validation.ts) are gone.pool_statspolling inconnectionHealthStore.bindings.tsregenerated withjust bindings.Docs: FR-1.2.3 now describes a connection per purpose; ARCHITECTURE and TESTING_STRATEGY are updated to match.
Tests
mas-core,mas-admin,mas-mcp), 208 passed.connection_lanes,connection_health,editor_sessions,query_timeoutandgrid_editspass.a_stored_pool_size_is_ignoredreplaces the pool-stats and clamping tests. It checks that(20, 0),(1, 1000)and(1, 5)all connect with a lane of exactlyINTERACTIVE_LANE_MAX.a_full_interactive_lane_counts_only_its_own_queriesanda_tab_with_a_session_runs_while_the_shared_pool_is_full.tscis clean, andvitesthas 2966 passing.src/__tests__/main.test.tsx, which times out in my container on main too and passes in CI.-D warnings, rustfmt, dprint, eslint, the vi.mock path check, and the documented-commands check are clean.Next
One remaining #731 item, in a follow-up PR: give each agent session its own connection, and each backup/restore job its own connection, instead of the shared agent and job lanes.
Generated by Claude Code