Repository navigation
app/: the public demo reset (sc-8900) - #88
Merged
Merged
Conversation
ndbroadbent
force-pushed
the
laravel-demo
branch
from
December 2, 2026 16:52
ad0ac77 to
e09334e
Compare
ndbroadbent
force-pushed
the
laravel-render
branch
from
December 2, 2026 16:52
2c13ff5 to
690255f
Compare
VisualCIdocspring/visualci · build #395 · 333 unchanged · no changes This PR vs base: 22 changed, 2 added since #360, across 6 builds Updated as builds change. Agents can review with VisualCI's MCP tools. |
ndbroadbent
force-pushed
the
laravel-render
branch
from
December 2, 2026 20:28
690255f to
c1e784a
Compare
ndbroadbent
force-pushed
the
laravel-demo
branch
from
December 2, 2026 20:28
e09334e to
0055518
Compare
ndbroadbent
force-pushed
the
laravel-render
branch
from
December 2, 2026 20:39
c1e784a to
ee2d05d
Compare
ndbroadbent
force-pushed
the
laravel-demo
branch
from
December 2, 2026 20:39
0055518 to
0ac07e4
Compare
ndbroadbent
force-pushed
the
laravel-render
branch
from
December 2, 2026 21:03
ee2d05d to
d7607f5
Compare
ndbroadbent
force-pushed
the
laravel-demo
branch
from
December 2, 2026 21:03
0ac07e4 to
4270607
Compare
…isualci/demo through the real pipeline (its owner, organization and public project made if missing, a visualci organization that isn't the demo's refused, the builds and their group rows deleted, the demo's four builds sent again with one approved, not charged); demo:reset runs daily with its heartbeat
ndbroadbent
force-pushed
the
laravel-demo
branch
from
December 2, 2026 21:14
4270607 to
5a443b0
Compare
This was referenced Dec 3, 2026
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.
Ports the public demo reset to the Laravel Rust app (sc-8900):
server/src/tasks/demo_reset.rs, and the part ofscreenshots_seed.rsits builds use. Based onlaravel-render.domain::demo::resetrebuilds visualci/demo from scratch, as today:demo@visualci.comif missing (create!(User …)), and setssignup_notified_atwhen it's NULL, so no sign-up email goes out and/statusdoesn't wait on it.visualciorganization (the owner as admin) and thedemoproject if missing. Avisualciorganization the owner isn't a member of is refused.ORGandPROJECTkeep today's values.Two differences from today:
build_groups.source_build_id, which has noON DELETEon purpose). So the reset deletes the project's group rows and its builds together, in one transaction.ProcessBuildjob. The job charges credits, and a nightly reset would use up the demo organization's allowance; today's task didn't charge either.demo:resetruns daily at 05:00 (nameddemo-reset, one runner, without overlapping). It pushes its result toVISUALCI_DEMO_HEARTBEAT, failing with the error.The rest of
screenshots_seed(the visual job's seeded app data) isn't ported.demo_buildsused onlyweb_buildsand its drawing and content helpers.Tests (
tests/demo.rs):reset()makes the four builds: PR Landing: remove the agents' notes for now #42 has changed, added and removed snapshots of every kind, and PR Deterministic screenshots: scroll position, and timestamps in PNGs #41 is approved. The owner is marked notified.demo:resetcommand) gives the same demo after a build was tampered with.visualciorganization that isn't the demo's is refused.The full app suite passes with
--lockedon docspring-dev; clippy and fmt are clean.