Skip to content

feat: add PostgreSQL EXPLAIN plan viewer - #142

Open
Bhavik-ag wants to merge 1 commit into
feat/production-connectionsfrom
feat/explain-plans
Open

Bhavik-ag wants to merge 1 commit into
feat/production-connectionsfrom
feat/explain-plans

Conversation

@Bhavik-ag

Copy link
Copy Markdown
Contributor

Summary

  • run EXPLAIN or confirmed EXPLAIN ANALYZE for the selected/current statement
  • render FORMAT JSON plans as a collapsible tree table
  • highlight expensive child nodes and estimate-vs-actual row mismatches
  • preserve production typed confirmation and support cancellation

Stack

Validation

  • 72 desktop tests
  • desktop node and web TypeScript checks
  • desktop lint
  • production desktop build
  • independent code review
  • git diff --check

@vercel

vercel Bot commented Sep 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated
dbdesk-web Ignored Ignored Sep 19, 2026 3:07am UTC
dbdesk-server Skipped Skipped Sep 19, 2026 3:07am UTC

@vercel
vercel Bot temporarily deployed to Preview – dbdesk-server September 18, 2026 18:17 Inactive
@greptile-apps

greptile-apps Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

The PR is not yet safe to merge because concurrent connection lifecycle operations can restore a closed profile or leak a live database adapter.

Summary

This PR adds a PostgreSQL EXPLAIN plan workflow and includes follow-up production-safety and connection-lifecycle changes.

  • Executes the selected or current SQL statement with FORMAT JSON.
  • Requires explicit confirmation for production EXPLAIN and all EXPLAIN ANALYZE operations.
  • Parses and renders nested plans with cost and row-estimate highlighting.
  • Adds parser, plan-viewer, production-safety, authentication-recovery, and reconnect-race tests.
  • The previous import-order and plan-viewer-test findings are resolved.

Reviews (3) · Last reviewed commit: "feat: add PostgreSQL explain plan viewer"

@vercel
vercel Bot temporarily deployed to Preview – dbdesk-server September 18, 2026 18:26 Inactive
@Bhavik-ag
Bhavik-ag force-pushed the feat/production-connections branch 3 times, most recently from cc03c5e to 0e4ea3a Compare September 19, 2026 03:00
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