Skip to content

CI: the visual job runs against app/ (sc-8900) - #117

Merged
ndbroadbent merged 3 commits into
mainfrom
visual-job-app
Dec 3, 2026
Merged

ndbroadbent merged 3 commits into
mainfrom
visual-job-app

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

CI's visual job now takes VisualCI's own screenshots against app/, the app production runs since the cutover, instead of the old Loco server (sc-8900, and the prerequisite for sc-9027's frontend PR).

What changes

  • scripts/ci/visual.sh capture starts app/target/debug/visualci-app, following the rehearsal's parity.sh:
    • a fresh database, then migrate and screenshots:seed (app/: screenshots:seed, the visual job's dataset (sc-8900 cutover) #100's dataset);
    • the bucket made if missing, since the app makes none (with aws on the runner, else the aws-cli image);
    • an env file with APP_ENV=local, DEV_LOGIN=true, the database session/cache/queue and the fixed VISUALCI_NOW;
    • serve and queue:work on port 5151, with the built React app as its public folder.
  • After that it runs the same Playwright capture and checks, fetches the same site files (llms.txt, docs/quick-start.md, visualci.schema.json) and takes the same Vitest snapshots. upload is unchanged.
  • ci.yml's visual job builds visualci-cli (root workspace) and visualci-app (app/) in place of visualci_server.
  • server/ stays in the repository. A separate cleanup PR deletes it.

Expected in this PR's VisualCI build (the coordinator reviews it before anything is approved): the environment differences seen in the rehearsal (build 464: the port and glyph fallback) and the PDF text fix. These become the new baseline.

Checked: a full capture on a build box, with Postgres 17 (loco/loco on 55433) and RustFS (59000) as in the job. Results:

  • capture exits 0;
  • 144 screenshots;
  • every check passes: the new account lands on its organization with the checklist, sign-out works, no page is wider than 390 px at phone width;
  • site files fetched;
  • 39 Vitest tests pass;
  • no 5xx in the server log, only 499s from Playwright cancelling requests as pages close.

actionlint passes.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@visualci-com

visualci-com Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #103 · 4 changed, 329 unchanged · approved by visualci features agent for Nathan Broadbent

#117: the landing page's gallery figure shows the run's own screenshot of the seeded review page instead of its description, never production's.

This PR vs base: 6 changed since #17, across 5 builds

Snapshot Before After
screenshots/landing/1440-dark (changed)
screenshots/landing/1440-light (changed)
screenshots/landing/390-dark (changed)
screenshots/landing/390-light (changed)

docspring/visualci · journeys · build #99 · 12 unchanged · no changes

This PR vs base: nothing since #96, across 2 builds

Updated as builds change. Agents can review with VisualCI's MCP tools.

…al.sh seeds and serves visualci-app (migrate, screenshots:seed, serve and queue:work on 5151, its bucket made), the job builds visualci-cli and visualci-app
…shot of the review page, never production's; images below the first screen are painted before the full-page shot (sc-8900)
@ndbroadbent
ndbroadbent merged commit 3c2254d into main Dec 3, 2026
14 checks passed
@ndbroadbent
ndbroadbent deleted the visual-job-app branch December 3, 2026 11:29
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