Skip to content

Migration verification ​

Platform verification status (v0.1.0-beta.2) ​

v0.1.0-beta.2 ships macOS arm64 and x86_64 DMGs, a Windows x64 NSIS installer and a Linux x86_64 .deb, all built from one release commit, with one SHA256SUMS file. What has been verified per platform (the recorded runs are from the Windows and Linux platform branches):

PlatformVerifiedNot yet verified
macOS arm64As for beta.1 below: local checks and fixtures on macOS 27.0.1, release-candidate checks on the ad-hoc DMG, user QA against MySQL DirectDeveloper ID signing and notarization; see the alpha checklist below
macOS x86_64Built for x86_64 from the release commitAny run on Intel hardware
Windows x64GitHub windows-2025 runners (Windows Server 2025): Rust workspace tests (162 passed, 0 failed, including the Windows outcome-journal store tests), and the MySQL, MariaDB and PostgreSQL real-database tests (export read-back included) through the remote fixture host. On release/* branches every Windows step gates, and a separate job builds the unsigned NSIS installer, installs it silently, checks that the installed app opens its StoneQL window and stays running, uninstalls it and uploads it with its SHA-256A real Windows 10/11 PC (install, SmartScreen, WebView2 download, GUI); SSH tunnels (not implemented on Windows); renderer-crash recovery (not implemented on Windows)
Linux x86_64A dedicated Ubuntu 26.04 build server, real-window tests under dbus-run-session -- xvfb-run: Rust, frontend, browser and desktop tests, every Docker fixture (test:native-database, test:native-postgres, test:execution, test:ssh, test:lifecycle, test:resources, test:receive-limit, test:journal-crash), test:secret-service against a throwaway GNOME Keyring, renderer-crash recovery (real_window_reload), desktop:smoke and audit:release:linux. The release .deb is built on Ubuntu 22.04 (highest required symbol GLIBC_2.34) and was installed with apt and launched under Xvfb in fresh Ubuntu 22.04 and Debian 12 containers, where the welcome screen renderedA real GNOME session: the GNOME Keyring unlock prompt and its dismissal, the master-password flow in the real window, Wayland, HiDPI and clipboard; KWallet and KeePassXC; arm64

GitHub CI does not run Linux; the build server is the Linux evidence. Accepted Windows gaps in the outcome journal: no ownership/ACL check of the journal directory, and no directory fsync or write-through rename, so the rename is not guaranteed to survive a power loss.

Windows remote fixture host ​

Windows runners cannot run the Linux Docker fixtures, so the Windows CI job runs the same real-database tests against a project-owned test host reached over a restricted SSH account. The host holds only disposable test data.

  • tools/test-remote-fixture.mjs runs on the CI runner: it builds the live_database and live_postgres test binaries, asks the host to prepare fixtures for one full commit id, forwards the fixture ports over SSH and runs the binaries locally. The host still owns every container and performs every check a local run does (report, export read-back, cleanup); tools/remote-fixture.mjs adds the --remote mode to the harnesses.
  • tools/ci-fixture-host/ holds the host side: stoneql-ci-fixture, the account's forced command, accepts only <native|postgres> <40-hex commit>; stoneql-ci-run fetches that commit from the public repository and runs one harness at a time.
  • The account's key allows only that forced command and local port forwarding to loopback: no shell, PTY, agent, X11 or remote forwarding. Arbitrary commands, PTYs, malformed commits, forwards to non-loopback addresses and remote forwards were checked to be refused.
  • The CI step "Real databases (remote fixture host)" is skipped when the STONEQL_FIXTURE_* secrets are absent. Latency matters: the product's 3 s read deadline failed against a distant host, so the host must be close to the runners.

v0.1.0 Alpha (macOS) verification checklist ​

The macOS-only platform scope of StoneQL v0.1.0 Alpha is an Approved product decision (2026-10-26), as is its feature scope (D022): a usable MySQL/MariaDB client with live browsing, CRUD, safe SQL execution, SSH and basic SQL/CSV import/export. This checklist separates what has run from what the alpha still needs. "Executed" rows ran locally on macOS ARM (Apple Silicon), mostly against disposable fixtures with debug builds; the release-candidate row ran on the ad-hoc signed DMG published as v0.1.0-beta.1 (2026-11-17). None ran against a Developer ID-signed or notarized artifact. Nothing here marks a milestone complete. See the roadmap and deployment requirements.

Executed — Implemented and verified (local, fixtures) ​

CheckCommand or evidenceLimits
Rust build/fmt/Clippy/tests, contract drift, crate boundaries, vendored SQLx provenancenpm run rust:build, rust:fmt, rust:lint, rust:test, contracts:check, rust:boundaries, rust:vendorLocal macOS; GitHub Actions runs the same checks on macOS 15 and Windows Server 2025 runners on published releases and manual runs (.github/workflows/rust.yml)
Frontend unit, build and browser scenarios (Light/Dark, live-bridge simulations)npm test, npm run build, npm run test:browserBrowser shims, not the native WebView
Native WebView startup smokenpm run desktop:smoke (2,783 ms latest, debug)Startup and mount only; unsigned debug build
SQL import benchmark (MySQL/MariaDB)npm run bench:sql-import (see SQL execution)Release build; Docker fixtures with 1 GiB memory caps; macOS arm64
Release startup profile (30 launches)npm run desktop:profile (30/30; median 607 ms, p95 701 ms, arm64)Optimized build plus the non-shipped smoke feature; unsigned; sequential launches without a cache purge; budgets approved 2026-11-17 (A3)
Native IPC ACL, exact values, protocol rejection, close cancellationnpm run desktop:testTauri test runtime
MySQL/MariaDB live read-only handlers with TLS fixturesnpm run test:native-database, test:lifecycleMockRuntime command handlers, not GUI
Runtime resource profile (100,000-row workload, RSS)npm run test:resources (profiles)Runtime process only; excludes Tauri/WebView; debug
SSH tunnels, host-key policy, 100 mixed cycles, Keychain referencesnpm run test:ssh (SSH and secrets)Per-run Keychain service, unsigned; no real prompts or picker
M006 execution: BUSY ownership, cancel→terminal samples, transaction outcomes, 100 fault/transaction cycles, session-state isolationnpm run test:execution (SQL execution)Direct MySQL/MariaDB/PostgreSQL; passed again at 970ade2 (2026-11-17). Read-write over SSH is covered by test:ssh. Silent-drop lost COMMIT/ROLLBACK cases still have small samples
Beta release candidate (970ade2, ad-hoc DMG)Checksum, hdiutil verify, codesign --verify --deep --strict, content scan, install/upgrade over the previous build, 30 cold launches (median 1.82 s, p95 2.79 s), idle whole-app RSS 191 MiB, quarantined first launch (blocked as expected), uninstall/reinstall, audit:release, SBOMs; user QA against MySQL DirectmacOS 27.0.1 arm64 only; ad-hoc signature, not notarized; Open Anyway path not exercised

Required — not yet executed (Unresolved release blockers) ​

RequirementWhat must be shown
Native packagingRelease .app/.dmg built with bundling enabled, icons, explicit minimum macOS version; checksums and SBOM. The ad-hoc beta DMG has checksums and SBOMs; the minimum macOS version is still the Tauri default (10.13), verified on 27.0.1 only
Signing and notarizationcodesign --verify --deep --strict, spctl --assess, accepted notarytool submission, stapler validate, quarantined first launch on a clean machine
Native end-to-endSigned app driving real MySQL/MariaDB Direct and over SSH: enrollment, auth methods, TLS refusal cases, queries with exact values, disconnect, reload, quit with unsaved edits. Only MySQL Direct was exercised by hand in the packaged beta
KeychainFirst-save, first-use and post-upgrade prompts on the signed build; prompt within the connect timeout; denial handled. Ad-hoc beta: post-upgrade double prompt observed and documented for users
Install/upgrade/uninstallDMG install; upgrade from earlier alpha builds preserving profiles and secret references; uninstall and secret cleanup verified. Executed on the ad-hoc beta DMG; repeat on the signed build
Credential cleanup and session lifecycleFailed secret deletion surfaced; no orphan tunnels/pools/grants after quit, crash relaunch, sleep/wake and network change
Startup and resource usage30 cold launches and whole-app RSS on arm64 release build against the budgets approved 2026-11-17 (A3). Beta DMG: launches and idle RSS done; 8-connection RSS not done
Intel (x86_64)Same evidence on Intel hardware, only if x86_64 is included
Dependency auditAudit result applicable to the macOS artifact, with Linux-only advisories excluded by evidence or explicitly risk-accepted. npm run audit:release audits only the shipped macOS graph (stoneql-desktop --features custom-protocol, normal+build dependencies, arm64 and x86_64) from a pruned copy of Cargo.lock; plain cargo audit remains the full-lockfile audit and keeps reporting test-only advisories (SQLite, RUSTSEC-2026-0459). No advisory is ignored in the macOS audit. For the Linux build (shipped as a .deb from v0.1.0-beta.2), npm run audit:release:linux audits the shipped x86_64-unknown-linux-gnu graph the same way and fails on every advisory, vulnerability or warning, except two documented exceptions approved by the user on 2026-11-17 and re-checked at every Tauri upgrade: RUSTSEC-2024-0429 (glib 0.18.5, unsound VariantStrIter, unused by Tauri's GTK stack and StoneQL) and RUSTSEC-2024-0370 (proc-macro-error 1.0.4, unmaintained, compile-time only through the glib-macros proc macro). It also fails when an excepted advisory is no longer reported. The exceptions, with reasons and dependency paths, are in tools/audit-exceptions.mjs.
SSH review blockers (D022)Native host-key trust (renderer-supplied keys ignored), Keychain resolution inside cancellable bounded setup, dead-tunnel slot release, host/port edits invalidate trust, failed secret deletion reported
Safe SQL execution (D022)BUSY on a busy connection with nothing queued; cancel-to-terminal within the approved bound; unknown outcomes never retried; transaction expiry and cleanup; MySQL write cancellation and SSH cancellation-slot exhaustion resolved before unrestricted read-write SQL
Live browsing and CRUD (D022)Database/table tree, paged browse with server-side sort/filter, single-row insert/update/delete with optimistic conflict detection and database constraint errors, exact values and NULL/default distinctions, on MySQL and MariaDB Direct and over SSH
SQL/CSV transfers (D022)Export and import round trips with independent read-back, quota/cancel/disk-full cleanup, truthful partial outcomes
Metadata allocation boundDecision on the proposed driver-level result-metadata cap, and its fixtures if adopted

Deferred (not required for the alpha) ​

Windows and Linux were deferred for the alpha; their beta.2 status is in Platform verification status above. Still open there: Windows SSH tunnels and agents, real-hardware Windows and Intel Mac runs, and real-desktop Linux checks. Under D022, SQLite live support, advanced database objects and XLSX import are also Deferred, and PostgreSQL is optional: their existing fixture commands (npm run test:native-postgres and the SQLite runtime tests) keep running as regressions but are not alpha release evidence unless PostgreSQL is admitted.

Native reload guard (M006 read-write blocker 2) ​

The desktop host refuses every navigation of the main webview while its runtime registry holds an open transaction lease, or a job of the current session whose final update the renderer has not fetched (running, or finished with results not yet read). The decision comes from native state only, never from the renderer. A refused navigation asks the renderer to confirm with the in-app dialog. On confirmation the renderer rotates the session through host_info: the host resets the registry, so leases are rolled back with recorded outcomes, jobs are interrupted and every job record is released. Only then does the reload proceed. The decision is Connections::has_active_work(owner) (an open lease or a job record of the app's single runtime owner). unknown outcomes from before the reload stay listed by the new renderer until acknowledged (see SQL execution, Unknown outcomes). Read-write SQL is on by default since A15 (2026-11-17), so production builds, including the v0.1.0-beta.1 DMG, can hold leases and jobs and rely on this guard.

Reload pathPresent inCovered by
location.reload(), same-origin location.assign, native Webview::reloadAll buildsSTONEQL_REAL_WINDOW=1 cargo test --locked -p stoneql-desktop --features custom-protocol --test real_window_reload (real WKWebView; run npm run build first; skipped without the variable)
Guard decision (lease, job, idle handle, confirmed rotation)All buildstests/reload_guard.rs in npm run desktop:test (MockRuntime; MockRuntime does not run navigation hooks)
Web content process terminated (renderer crash) while a lease and a running job are held: host ends the session, reloads, the new renderer lists the interrupted jobmacOS and Linux builds (not Windows)real_window_reload (kills the window's com.apple.WebKit.WebContent process on macOS, or its WebKitWebProcess under dbus-run-session -- xvfb-run on Linux, with SIGKILL; it is identified as the only one started since the test began and nothing is killed when that is ambiguous) and tests/reload_guard.rs (renderer_lost against MockRuntime)
In-app confirmation, cancel and confirmAll buildstests/browser/native-reload.spec.ts (browser shim, Light/Dark)
Cmd+RNo responder: the default macOS menu has no Reload itemManual check
WKWebView context-menu Reload; Web Inspector reloadContext menu: all builds, unverified. Inspector: debug builds only (devtools are off in release)Manual check

Manual check, on a local debug build (read-write is on by default since A15, 2026-11-17), against a disposable database:

  1. Connect read-write, begin a transaction and insert a row.
  2. Press Cmd+R. Nothing should happen.
  3. Right-click an empty area of the page and choose Reload, if the menu offers it. Then open Web Inspector and press Cmd+R inside it. Each time, the page must stay loaded and show "Reload StoneQL?".
  4. Click Cancel. The transaction must still be open and usable.
  5. Repeat step 3 and click Reload StoneQL. The page reloads, the row is absent when checked from an independent client, and the server session has ended.
  6. If the rollback was not confirmed (for example the server was paused), the reloaded page lists the transaction as "Outcome unknown" until you acknowledge it.
  7. Renderer crash: begin a transaction, insert a row and start a long statement. Find the new content process (ps -axo pid,lstart,comm | grep WebKit.WebContent, the one started with StoneQL) and run kill -9 <pid>. The window must reload by itself (not stay blank), the row must be absent from an independent client, and the interrupted statement must be listed as "Outcome unknown".

M001 foundation verification — 2026-10-25 ​

The approved Rust foundation/evaluation adds no production connectivity or frontend integration. Local checks passed: Rust workspace build/fmt/all-target Clippy, 12 Rust tests, generated TypeScript drift/strict compilation, host/driver/runtime boundary checks, 28 live driver assertions, cargo-audit with zero vulnerabilities/warnings after Tokio remediation, 128 frontend tests plus seven root tests, frontend build, 17 browser scenarios (12.9s), documentation build and workflow lint. The 73-file frontend preservation audit still passes. See driver evaluation and Rust development for reproducible evidence, tested fixtures and limitations. Native Windows/Linux hosted CI and production TLS/pooling/transaction guarantees remain unverified; M001 completion review and M002 approval are pending. No commit or push was made for M001.

Latest recheck — 2026-10-25 ​

Approved elevated execution of npm run test:browser passed all 17 scenarios in 13.2 seconds, covering both themes, column dialogs, grids, database objects, remediation, export, CRUD and connection workspaces. Chromium sandboxing remained enabled. The sandboxed run reached Vite but failed at Chromium macOS Mach-port registration; approved execution resolved that restriction.

Git index-write verification also succeeded with approved elevation. The earlier listener, browser and Git failures below describe historical restricted runs, not the latest outcome. Graphical Mermaid/live documentation checks and external-link verification remain outstanding. This verification does not approve backend implementation.

Verification uses Node 26.11.1 and npm 11.20.0. Results below distinguish executed checks from environment-blocked workflows.

Executed checks ​

  • Migrated frontend: 128 automated tests passed.
  • Migrated frontend production build passed; existing nonfatal large-bundle advisory remains.
  • Source, test, asset and application-config SHA-256 preservation is checked separately against the one-time migration baseline. It does not freeze future intentional frontend development.
  • Root regression suite: 128 frontend tests plus 6 workspace/documentation tests passed (134 total).
  • Separate migration baseline: all 73 original source/test/asset/application-config files match SHA-256 hashes.
  • Original frontend dependency lock records are unchanged. Clean npm ci --offline --ignore-scripts --no-audit --no-fund succeeded using a temporary cache of genuine npm artifacts; npm ls --all passed.
  • Documentation production builds and local link/asset checks passed at /, /stoneql/, and custom-domain / with CNAME generation.
  • All 17 browser scenarios were collected across seven files. Execution was retried and blocked before any scenario ran.
  • Root frontend dev/preview and docs dev/preview commands resolve the correct workspace, then fail at local listener creation with EPERM. Live preview/navigation and screenshots remain unverified.
  • Git confirms .ref/workprogress.md is ignored and not tracked. No native framework dependency or Rust placeholder was introduced.

Browser blocker ​

All 17 existing Playwright scenarios remain required. The post-migration run rejects the Vite listener with listen EPERM: operation not permitted 0.0.0.0:5173. Test discovery is not browser verification. Native browser startup also failed in earlier stabilization attempts. No browser sandbox or host security controls are disabled.

Consequently Light/Dark screenshots, interactive object workflows, resize behavior and dialog focus have not been reverified after migration. Run npx playwright install chromium and npm run test:browser on a supported host. Existing object coverage is documented separately in database objects.

Documentation checks ​

Root docs are the canonical source. Source links/navigation and generated page/asset paths are checked by npm run docs:build. Mermaid loads from a pinned browser CDN and has a source fallback; graphical rendering requires browser/network verification. External links are not validated by the local checker. No GitHub Pages deployment has occurred.

The new checks found and fixed three documentation-only issues: VitePress output paths initially resolved outside .website/, archived README links needed paths relative to their new location, and base-path validation needed to reject dot segments. Generated-link checks now verify the actual configured output. No Vue source or existing test styling was changed.

The one-time preservation audit can be reproduced with node --test .ref/planning/preservation.test.mjs; future intentional source changes should not update this historical migration evidence merely to make a general test suite pass. Root tests enforce ongoing workspace/documentation contracts instead.

Remaining limitations ​

No browser, native WebView, screen-reader or graphical Mermaid verification is claimed. External URLs were not exhaustively checked. GitHub repository links require environment configuration locally because no remote is configured; Actions derives the real repository automatically. The frontend retains its existing nonfatal bundle-size advisory. Architecture decisions are proposals, and no backend, real database operation, publication or deployment was performed.

Commit status ​

A task-completion commit was requested and attempted. git add failed with Unable to create '.git/index.lock': Operation not permitted because this execution environment grants read-only access to .git. No files were staged and no commit was created. No push or deployment was attempted. Commit the reviewed source/documentation changes from a terminal with authorized Git write access; keep local progress and generated output excluded.

StoneQL v0.1.0-beta.3 · Public beta for macOS, Windows and Linux · Keep backups and verify important changes on the server.