Skip to content

fix(macos): fix the verified defects from the app audit - #4429

Open
datlechin wants to merge 3 commits into
mainfrom
fix/audit-defect-batch
Open

datlechin wants to merge 3 commits into
mainfrom
fix/audit-defect-batch

Conversation

@datlechin

@datlechin datlechin commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Summary

Fixes the high and medium defects verified in the macOS app audit, plus same-cause cases found while fixing them.

Data grid and inspector

  • A value window popped out of the inspector writes only to the tab and record it opened on, with that tab's column types and NOT NULL rules. A commit to a replaced, deleted or closed row is refused.
  • Hide Column and Show All Columns work in the Structure tab.
  • A moved column stays put in a query result with a hidden column.

Editor

  • Vim edits skip the typing filters, so x, r, ~, R and o no longer auto-pair or remove brackets and quotes.
  • Vim . repeats the last change of any kind, including typed text, Backspace, Ctrl-U and Ctrl-W in Insert mode, and a count.
  • Clear All in the parameter panel clears every parameter.
  • Each query tab keeps its own caret, selection and scroll position.

Workspace

  • Save, Save on close, Close All and connection close write both the result edits and the dirty .sql file.
  • Selecting a Redis database opens a new tab instead of replacing one that holds commands, staged edits, filters or a sort.
  • An ER diagram of a schema named default stays on that schema. View ER Diagram shows for a favorite in that schema.

Compare & Sync and Transfer Tables

  • On DuckDB and PGlite a run joins a transaction already open on the session and never sends its own BEGIN or COMMIT.
  • Stop and keep what ran on PostgreSQL reports the rollback after a failure. A failed ROLLBACK is reported, not counted as done.
  • A timestamptz copied into a column without a time zone compares equal. Result comparison classifies each column per side, so it no longer depends on row order.
  • Tables, views, routines and triggers pair across two schemas. Tables script into the target schema, and foreign keys to the source's own schema follow. A view, routine or trigger from another schema is compared but not scripted.
  • A table whose counterpart could not be read is no longer offered as Create or Drop.
  • Transfer Tables has a Schema picker, stays off until the schema is known, and writes into the chosen schema.

AI and MCP

  • MCP explain_query with an actual plan respects Manual Commit, like execute_query.
  • Long chats with tool calls keep sending after the transcript is trimmed.
  • Approved write tool calls from one reply run one at a time, in order. Read-only rounds still run concurrently.
  • Scope change: chat confirm_destructive_operation accepts database and schema, like execute_query, and refuses undeclared arguments. It runs where the approval card says.
  • Scope change: a database the connection cannot switch to (SQLite and other fixed-database engines) or a schema on an engine without schemas (MySQL, MariaDB, SQLite) is now refused. It used to run silently in the current one. This covers every MCP tool, resource and prompt that takes them, the chat tools and AppleScript.

Connections, sync and SSH

  • Closing a connection that is still connecting ends the connect: no orphan tunnel, and the post-disconnect script is not left armed.
  • A jump host that asks for a code after the key (publickey,keyboard-interactive) can sign in.
  • A synced SSH or credential profile deletion no longer marks an externally edited connections.json as trusted.
  • Pushing a settings category keeps options a newer build wrote.
  • Team Catalog publish leaves out tunnel commands and startup commands.

Tests changed on purpose

  • MultiRowEditStateDetachedCommitTests: rewritten for the new detached-field API.
  • detachedTypedFunctionIsPromoted and clearedDetachedJSONStagesNull moved into InspectorDetachedStagingTests.
  • FavoritesMenuSpecTests/unrepresentableDiagramIsNotOffered replaced by diagramIsOfferedWhateverTheSchemaIsCalled.
  • ERDiagramSchemaKeyTests/keyPreservesSchema removed with the function it tested.

Test plan

  • Every new suite fails on main and passes here. The exceptions call an API this PR adds: inspector staging, the Vim adapter, Clear All and the compare transaction owner.
  • Unit plan: 33,327 executed, 33,327 passed, 2 skipped (macOS 27). The suites touched by later review rounds were rerun after them: 89 compare, 759 Vim.
  • Lint: 0 violations on 96 changed files.
  • Not automated: Vim and caret behaviour in a running editor, a live SQL Server for cross-schema compare and the Transfer Tables Schema picker, and a real bastion with publickey,keyboard-interactive.

Screenshots

Transfer Tables with a PostgreSQL destination whose tables live in sales.

Before After
Before: no Schema picker, tables looked up in public After: Schema picker on sales

After, dark

Docs: TableProApp/docs#271

This branch has not been deployed

No deployments
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