Skip to content

feat: improve SQLite support workflows and data integrity - #37

Merged
helbertm merged 2 commits into
masterfrom
codex/support-workflow-deploy
Oct 16, 2026
Merged

helbertm merged 2 commits into
masterfrom
codex/support-workflow-deploy

Conversation

@helbertm

Copy link
Copy Markdown
Owner

Problem

Support analysts opening many SQLite databases and SQL files could overwrite active drafts, lose unsaved database changes, or exhaust browser memory on large results. Large integer IDs and duplicate result labels could also produce incorrect exports.

Approach

  • Import SQL files into separate named tabs, raise working-library limits, and make recent databases searchable.
  • Confirm unsaved database replacement, arbitrate asynchronous opens, and preserve the active session when operations fail or are cancelled.
  • Bound worker results, preserve 64-bit SQLite IDs and column identity, detect CTE/PRAGMA writes, and avoid transferring unchanged databases.
  • Harden CSV exports and settings backups, tolerate storage quota failures, improve contrast, and document support workflows.
  • Add native SQLite contract tests and a real-browser support workflow gate. Retain the existing public footer; the local comparison draft is preserved separately.

Verification

  • npm run validate:full:ci (readable and minified artifacts, clean worktree)
  • npm run quality:docker (offline reproducible checks and secret scanning)
  • 63 unit/contract tests
  • Real-browser support workflows, including 50,000-row queries, async database opens, batch imports, quota failures, and data integrity
  • Browser accessibility checks in all three locales at desktop/mobile sizes
  • Final public-footer build passed static validation
  • Standalone file:// contract preserved

Quality impact

  • Accessibility: improved muted text and tab contrast; automated browser checks report zero violations on covered surfaces.
  • Localization: new actions, limits, and data-loss notices translated in pt-BR, es-ES, and en-US.
  • Security/privacy: spreadsheet-safe CSV, bounded results/imports, local-only SQL/data handling; existing Pages-only analytics isolation retained.
  • Performance/data integrity: bounded worker output, reduced unchanged-database copies, exact integer exports, and explicit dirty-session handling.

Residual risk

Native Safari and assistive-technology checks were not rerun for this change. Automated accessibility results do not replace those checks. Four privileged GitHub control-plane settings remain outside the public audit's verification scope. This PR deploys the Pages application through the existing workflow; it does not certify or publish a new versioned GitHub release.

@helbertm
helbertm merged commit 2eabe4e into master Oct 16, 2026
7 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