Repository navigation
Conversation
The demo at sqlbuild.com/demo had broken pages: Runs threw, Jobs, Locations and Connections could not load, Providers, some runs and every plan had no recording, and theme.js was a 404 under /demo. scripts/record-demo-duckshop.mjs records it again: it builds the DuckDB copy of DuckShop with the demo's jobs, nightly_job_group and a sensor, runs the group twice on sqb dev (the second time with a failing audit), opens every page, plan section and group member, and records the reads. record-demo.mjs now renumbers ids, moves times to a fixed moment and keeps a read asked at several times once, so two recordings differ only in run timings, and its --compare mode prints every other difference. app.html loads theme.js from the app's base path.
Contributor
Author
|
Compare output against the recording on main, from 152 differences apart from timings |
… demo The demo recording renumbered the UI's own nil uuid, so the first page of every table's size history had no recording; it is kept as it is. Renumbered uuids now count in their first block, which the UI shows as a run's label, so runs no longer all read 00000000. Times move with the moment the pages were read rather than the last run's end, so nothing read while recording shows as still to come.
Contributor
Author
|
Updated compare output against the recording on main, after the review fixes in 65e5efd, from 154 differences apart from timings |
chio-labs-delivery
Bot
added this pull request to the merge queue
Dec 6, 2026
Any commits made after this event will not be merged.
The nightly group now runs twice without a failing audit, so the demo shows no failed or blocked runs. The comparison also leaves out a statistics refresh that found nothing new, which a page makes only if an event arrives while it is open.
kvlonge
disabled auto-merge
December 6, 2026 17:24
kvlonge
added this pull request to the merge queue
Dec 6, 2026
Any commits made after this event will not be merged.
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Dec 6, 2026
chio-labs-delivery
Bot
added this pull request to the merge queue
Dec 6, 2026
Any commits made after this event will not be merged.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The demo at sqlbuild.com/demo has broken pages. Runs throws. Jobs, Locations and Connections show "Couldn't load". Providers, six run pages and every plan have no recording. Every page gets a 404 for
/theme.js. Re-recording was a manual click-through, and two recordings could not be compared.Changes
node scripts/record-demo-duckshop.mjsrecords the demo in one command. It builds the DuckDB copy of DuckShop with the demo's jobs,nightly_job_groupand a sensor (ui/demo/project/). It runs the group twice onsqb dev, and both runs pass. Then it opens every page, plan section, "Show more" page, diff and group member.record-demo.mjsrenumbers server-made ids, moves times to a fixed moment and keeps a read asked at several times once. Two recordings now differ only in run timings.--compare <old> <new>prints every other difference, leaving out polls that found nothing new.app.htmlloadstheme.jsfrom the app's base path. The default build is unchanged.Verification
0 differences apart from timings. The recording here is the first of them.