Skip to content

Summer changes preview (PG + RA + #30, combined, do not merge)#32

Closed
Edwinexd wants to merge 13 commits into
masterfrom
preview/summer-changes
Closed

Summer changes preview (PG + RA + #30, combined, do not merge)#32
Edwinexd wants to merge 13 commits into
masterfrom
preview/summer-changes

Conversation

@Edwinexd

Copy link
Copy Markdown
Owner

Summer changes — combined preview branch

Not for merge — this branch exists to get a single Cloudflare preview environment with all the summer work stacked together. The individual pieces ship via their own PRs (#27, #31, and the Postgres branch).

What's combined here

  • Postgres engine (feature/pglite-autocomplete, up to date with master) — dual SQLite/PostgreSQL via PGlite + engine selector, CodeMirror editor, autocomplete, license dialog. Includes the parity fixes (duplicate-column rowMode, NUMERIC/BIGINT normalization, safe engine load with SQLite fallback).
  • Relational algebra mode (Add relational algebra mode #27) — RA→SQL transpiler, with π now eliminating duplicate tuples (set semantics; δ stays as an explicit operator).
  • Issue Fix 11 B #30 data (Add persons who are neither student nor teacher (#30) #31) — 4 persons who are neither student nor teacher.
  • master — German support merged in; RA + engine UI strings relocated into the en/sv/de packs (German machine-translated — needs a native review).

Verified locally

  • English DB: Person 25 · neither 4 · both 2
  • tsc clean · 249 tests pass · production build green
  • All 6 data variants (en/sv/de × sqlite/pg) regenerate with 0 errors

Note for the eventual real merge

Reusing #30's oracle.enc (it's branched off master, which has no Postgres work) breaks 5 PostgreSQL reference queries — YEAR() and boolean = integer — because it lacks the pgQuery overrides. Here the 4 persons were added to the Postgres oracle instead. When #30 and the Postgres work actually merge, the oracle must carry both the new persons and the pgQuery overrides.

@Edwinexd Edwinexd marked this pull request as draft June 14, 2026 20:54
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 14, 2026

Copy link
Copy Markdown

Deploying sql-validator with  Cloudflare Pages  Cloudflare Pages

Latest commit: d658fe0
Status: ✅  Deploy successful!
Preview URL: https://55f4afd0.dsv-db-sql-validator.pages.dev
Branch Preview URL: https://preview-summer-changes.dsv-db-sql-validator.pages.dev

View logs

@Edwinexd Edwinexd changed the title Summer changes preview (PG + RA + #30, combined — do not merge) Summer changes preview (PG + RA + #30, combined, do not merge) Jun 14, 2026
@Edwinexd Edwinexd force-pushed the preview/summer-changes branch from 6fc4c5c to d658fe0 Compare June 16, 2026 11:00
@Edwinexd

Edwinexd commented Jul 6, 2026

Copy link
Copy Markdown
Owner Author

Superseded: #27 (RA), #33 (PostgreSQL), and #31 (neither-persons) are all merged to master as separate merge commits. The oracle carries both the 4 new persons and the pgQuery overrides; all 6 data variants regenerate with 0 errors and reproduce the committed data. Closing this preview branch.

@Edwinexd Edwinexd closed this Jul 6, 2026
@Edwinexd Edwinexd deleted the preview/summer-changes branch July 6, 2026 10:10
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