Skip to content

Playground: tested examples, refusal caption, valid-but-untranslated state - #80

Merged
kvlonge merged 1 commit into
mainfrom
land/examples
Nov 5, 2026
Merged

kvlonge merged 1 commit into
mainfrom
land/examples

Conversation

@kvlonge

@kvlonge kvlonge commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Website-only. The examples move into examples.js and an engine test checks every example's stage outcome (the first-load default passes every stage). The HASH example gets a caption on why SQLQuack refuses rather than guesses. When SQL parses and passes the Snowflake checks but is not translated, the results open with "Valid Snowflake SQL. Not translated to DuckDB: ", stage 3 reads NOT TRANSLATED in amber, and stage 4 says nothing was translated; parse and check failures stay red. Stage notes are padded inside their panel and readable. Nothing deploys.

The examples move into examples.js, shared with the engine tests, which
now check that the first-load default and the translating examples pass
every stage, and that each error example stops where it is meant to.
The refused example (HASH, a known divergence) gets a caption saying
why SQLQuack refuses rather than guesses.

When the SQL parses and passes the Snowflake checks but is not
translated, the results open with "Valid Snowflake SQL. Not translated
to DuckDB: <reason>", stage 3 reads NOT TRANSLATED in amber instead of a
red FAIL, its underline is amber, and stage 4 says nothing was
translated. Parse and check failures stay red.
@kvlonge
kvlonge merged commit d539bbe into main Nov 5, 2026

kvlonge commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

Landed on main by fast-forward as d539bbe0 (49bd4ec..d539bbe), under the D144 slot after #69.

  • Gate: make check-merge RECORDER=0 on the exact head d539bbe: exit code 0.
  • Public-repository hygiene scan on the same head: exit code 0.

@kvlonge
kvlonge deleted the land/examples branch November 9, 2026 21:32
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