Skip to content

feat(demo): make pnpm dev a vNext playground#203

Closed
Light2Dark wants to merge 1 commit into
dev-refactorfrom
codex/vnext-demo
Closed

feat(demo): make pnpm dev a vNext playground#203
Light2Dark wants to merge 1 commit into
dev-refactorfrom
codex/vnext-demo

Conversation

@Light2Dark

@Light2Dark Light2Dark commented Jul 26, 2026

Copy link
Copy Markdown
Member

Summary

  • makes the existing pnpm dev workflow open an interactive vNext playground
  • adds realistic in-memory relation, namespace, and batched column providers
  • includes CTE, correlated-scope, LATERAL, latency, invalidation, and dialect scenarios
  • documents the current logical-output inference boundary directly in the demo

Why

The merged vNext API was only represented by tests and documentation while the repository demo still exercised the legacy API. This gives maintainers and marimo consumers a direct visual evaluation loop before migrating production integrations.


Summary by cubic

Make pnpm dev open an interactive vNext SQL playground backed by an in-memory catalog. This gives a fast, visual feedback loop for the merged language service before migrating production integrations.

  • New Features

    • vNext playground with in-memory relation, namespace, and column providers.
    • Dialect switcher (duckdb, postgresql, bigquery, dremio).
    • Latency selector, "Invalidate catalog" button, and live request counters.
    • Scenario buttons for CTEs, correlated scope, LATERAL, relation/namespace/column completion; statement gutter and compact completion info.
    • Demo notes the current boundary: no inferred output columns for CTEs/derived tables yet.
  • Refactors

    • Demo rebuilt on vNext (createSqlLanguageService, sqlEditor); removes legacy hover/lint/navigation wiring.
    • README.md updated with pnpm dev instructions; demo data moved to demoTables; test switched to a fixed CTE doc for navigation checks.

Written for commit 005009e. Summary will update on new commits.

Review in cubic

@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines Unknown% (🎯 91%) 0 / 0
🔵 Statements Unknown% (🎯 91%) 0 / 0
🔵 Functions Unknown% (🎯 90%) 0 / 0
🔵 Branches Unknown% (🎯 85%) 0 / 0
File CoverageNo changed files found.
Generated in workflow #771 for commit 005009e by the Vitest Coverage Report Action

Comment thread demo/index.ts
parent: document.querySelector("#sql-editor") ?? undefined,
function loadExample(markedSql: string): void {
const cursor = markedSql.indexOf("|");
const text = markedSql.replace("|", "");
@Light2Dark

Copy link
Copy Markdown
Member Author

Superseded by #204, which includes the playground work together with the standard API reconciliation, completion UX fixes, and final performance gates.

@Light2Dark Light2Dark closed this Jul 26, 2026
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.

2 participants