Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
add224f
app/: transactional emails: outbox, Postmark, member notices (sc-8900…
ndbroadbent Dec 2, 2026
9f436fc
app/: Stripe's webhook and the plans (sc-8900, billing 1) (#61)
ndbroadbent Dec 2, 2026
e2749b2
app/: personal and project tokens in the web app (sc-8900) (#64)
ndbroadbent Dec 2, 2026
2efb434
app/: invitations and members (sc-8900) (#65)
ndbroadbent Dec 2, 2026
a85ded4
AGENTS.md: hold the main-merge lock from the final rebase to the merg…
ndbroadbent Dec 2, 2026
cd0a6dd
app/: review fixes for the domain tables and the build API (sc-8900) …
ndbroadbent Dec 2, 2026
343611b
app/: processing builds, with groups read from the build that holds t…
ndbroadbent Dec 2, 2026
c2da705
No pull request comment when nothing changed (Nathan): a pull request…
ndbroadbent Dec 2, 2026
c523ae2
app/: the public MCP server's build, review and comment tools (sc-890…
ndbroadbent Dec 2, 2026
a320b2e
app/: renderer API, bulk downloads, public gallery and retention (sc-…
ndbroadbent Dec 2, 2026
4f26f3d
app/: the public demo reset (sc-8900): domain::demo::reset rebuilds v…
ndbroadbent Dec 2, 2026
ed82834
app/: the setup checklist (sc-8900) (#82)
ndbroadbent Dec 2, 2026
081809c
app/: closing and reopening a branch's builds (sc-8900): close_branch…
ndbroadbent Dec 2, 2026
90722e5
app/: a busy database answers 503 fast; load test of 20 unchanged 331…
ndbroadbent Dec 2, 2026
45e4911
app/: creating an organization (sc-8900) (#70)
ndbroadbent Dec 2, 2026
33c7261
CI: kache compile cache, cargo-chef layer for the server image (#78)
ndbroadbent Dec 2, 2026
7b1cb02
app/: the person's own page, and the team's sign-up email (sc-8900) (…
ndbroadbent Dec 2, 2026
a9cedbc
app/: the rest of the public MCP server (sc-8900) (#91)
ndbroadbent Dec 2, 2026
4a8db34
app/: visualci login's device-code sign-in (sc-8900): POST /api/v1/de…
ndbroadbent Dec 2, 2026
2fa0c79
Device sign-in, review fixes: the approval page leads with a fixed 'V…
ndbroadbent Dec 2, 2026
bf50688
Test: a signed-out device page request asks for JSON, as the React ap…
ndbroadbent Dec 2, 2026
2d66f5a
Device sign-in: its CLI routes in http/api/mod.rs, where main's API r…
ndbroadbent Dec 2, 2026
34ba830
Rebased on main: Cargo.lock resolved from main's, and the boot checks…
ndbroadbent Dec 2, 2026
0fe3cf4
Rebased on main: Cargo.lock resolved from main's, and the boot checks…
ndbroadbent Dec 2, 2026
4e4cbe5
app/: staff pages for sign-ups and emails (sc-8900): the latest 100 s…
ndbroadbent Dec 2, 2026
73b4017
app/: GitHub's webhook (sc-8900, forge): signed deliveries only (X-Hu…
ndbroadbent Dec 2, 2026
2bad6c5
GitHub webhook, review fixes: a recheck lists each linked repository'…
ndbroadbent Dec 2, 2026
2c4155b
Rebased on main: Cargo.lock resolved from main's, and the boot checks…
ndbroadbent Dec 2, 2026
fceeb33
Rebased on main: Cargo.lock resolved from main's, and the boot checks…
ndbroadbent Dec 2, 2026
8d26bab
Rebased on main: Cargo.lock resolved from main's, and the boot checks…
ndbroadbent Dec 2, 2026
32274c1
app/: live updates' transport (sc-8897, sc-8900): Postgres LISTEN/NOT…
ndbroadbent Dec 2, 2026
1e1ff66
Live updates, review fixes: the listener uses try_recv, and after eac…
ndbroadbent Dec 2, 2026
65f075e
Rebased on main: Cargo.lock resolved from main's, and the boot checks…
ndbroadbent Dec 2, 2026
b6d27cf
app/: the hourly forge sync for GitHub (sc-8900): everyone with a Git…
ndbroadbent Dec 2, 2026
f5ab0d6
Forge sync, review fixes: one listing of each linked repository's col…
ndbroadbent Dec 2, 2026
85a3e43
app/: open source checks (sc-8619, sc-8900, forge side, ported from t…
ndbroadbent Dec 2, 2026
ce030d3
app/: the hourly sync closes deleted branches' waiting builds (sc-879…
ndbroadbent Dec 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"plugins": [
{
"name": "visualci",
"version": "0.1.45",
"version": "0.1.46",
"description": "Visual regression and snapshot review for PDFs, screenshots, JSON, HTML and text: VisualCI's MCP server and its skills for each CI provider and test tool.",
"author": { "name": "DocSpring", "url": "https://visualci.com" },
"homepage": "https://visualci.com/docs/skills/",
Expand Down
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "visualci",
"version": "0.1.45",
"version": "0.1.46",
"description": "Visual regression and snapshot review for PDFs, screenshots, JSON, HTML and text: VisualCI's MCP server and its skills for each CI provider and test tool.",
"author": { "name": "DocSpring", "url": "https://visualci.com" },
"homepage": "https://visualci.com/docs/skills/",
Expand Down
2 changes: 1 addition & 1 deletion .cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "visualci",
"displayName": "VisualCI",
"version": "0.1.45",
"version": "0.1.46",
"description": "Visual regression and snapshot review for PDFs, screenshots, JSON, HTML and text: VisualCI's MCP server and its skills for each CI provider and test tool.",
"author": {
"name": "DocSpring"
Expand Down
89 changes: 80 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,25 @@ env:
jobs:
lint:
runs-on: ${{ fromJSON(vars.CI_RUNNER || '"ubuntu-latest"') }}
environment: ${{ github.ref == 'refs/heads/main' && 'kache-write' || '' }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
# Compile cache (kache, as Cargo's rustc wrapper): the R2 bucket every machine shares (KACHE_BUCKET), else the
# GitHub Actions cache. Only main writes it: the read-write key is a secret of the kache-write environment,
# which only main may use, so a pull request (whatever its ci.yml says) gets the read-only key.
- uses: kunobi-ninja/kache-action@061011817fd04b0e460f79d6bb3c115b1fc8f029 # v1
with:
version: "2.4.0"
cache-key-prefix: kache-${{ github.job }}
save-cache: ${{ github.ref == 'refs/heads/main' }}
pr-comment: false
s3-bucket: ${{ vars.KACHE_BUCKET }}
s3-endpoint: ${{ vars.KACHE_ENDPOINT }}
s3-region: auto
s3-prefix: visualci
s3-access-key-id: ${{ github.ref == 'refs/heads/main' && secrets.KACHE_RW_ACCESS_KEY_ID || secrets.KACHE_RO_ACCESS_KEY_ID }}
s3-secret-access-key: ${{ github.ref == 'refs/heads/main' && secrets.KACHE_RW_SECRET_ACCESS_KEY || secrets.KACHE_RO_SECRET_ACCESS_KEY }}
- run: rustup show active-toolchain || rustup toolchain install
- run: cargo fmt --all --check
- run: cargo clippy --locked --workspace --all-targets -- -D warnings
Expand All @@ -36,13 +51,14 @@ jobs:
# The Laravel Rust app (app/, sc-8900): its own workspace until it replaces server/ at cutover. Not deployed yet.
app:
runs-on: ${{ fromJSON(vars.CI_RUNNER || '"ubuntu-latest"') }}
environment: ${{ github.ref == 'refs/heads/main' && 'kache-write' || '' }}
timeout-minutes: 40
services:
postgres:
image: postgres:17
env:
POSTGRES_USER: loco
POSTGRES_PASSWORD: loco
POSTGRES_USER: visualci
POSTGRES_PASSWORD: visualci
POSTGRES_DB: visualci_app_test
ports: ["55433:5432"]
options: --health-cmd pg_isready --health-interval 5s --health-timeout 5s --health-retries 10
Expand All @@ -56,9 +72,21 @@ jobs:
docker run -d --name s3 -p 59000:9000 \
-e RUSTFS_ACCESS_KEY=visualci -e RUSTFS_SECRET_KEY=visualci-dev-secret rustfs/rustfs:1.0.6
for _ in $(seq 1 30); do curl -s -o /dev/null http://127.0.0.1:59000/ && break; sleep 1; done
- uses: Swatinem/rust-cache@v2
# Compile cache (kache, as Cargo's rustc wrapper): the R2 bucket every machine shares (KACHE_BUCKET), else the
# GitHub Actions cache. Only main writes it: the read-write key is a secret of the kache-write environment,
# which only main may use, so a pull request (whatever its ci.yml says) gets the read-only key.
- uses: kunobi-ninja/kache-action@061011817fd04b0e460f79d6bb3c115b1fc8f029 # v1
with:
workspaces: app
version: "2.4.0"
cache-key-prefix: kache-${{ github.job }}
save-cache: ${{ github.ref == 'refs/heads/main' }}
pr-comment: false
s3-bucket: ${{ vars.KACHE_BUCKET }}
s3-endpoint: ${{ vars.KACHE_ENDPOINT }}
s3-region: auto
s3-prefix: visualci
s3-access-key-id: ${{ github.ref == 'refs/heads/main' && secrets.KACHE_RW_ACCESS_KEY_ID || secrets.KACHE_RO_ACCESS_KEY_ID }}
s3-secret-access-key: ${{ github.ref == 'refs/heads/main' && secrets.KACHE_RW_SECRET_ACCESS_KEY || secrets.KACHE_RO_SECRET_ACCESS_KEY }}
- run: rustup show active-toolchain || rustup toolchain install
- run: cargo fmt --check
- run: cargo clippy --locked --all-targets -- -D warnings
Expand Down Expand Up @@ -87,6 +115,7 @@ jobs:

test:
runs-on: ${{ fromJSON(vars.CI_RUNNER || '"ubuntu-latest"') }}
environment: ${{ github.ref == 'refs/heads/main' && 'kache-write' || '' }}
timeout-minutes: 40
services:
postgres:
Expand All @@ -99,7 +128,21 @@ jobs:
options: --health-cmd pg_isready --health-interval 5s --health-timeout 5s --health-retries 10
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
# Compile cache (kache, as Cargo's rustc wrapper): the R2 bucket every machine shares (KACHE_BUCKET), else the
# GitHub Actions cache. Only main writes it: the read-write key is a secret of the kache-write environment,
# which only main may use, so a pull request (whatever its ci.yml says) gets the read-only key.
- uses: kunobi-ninja/kache-action@061011817fd04b0e460f79d6bb3c115b1fc8f029 # v1
with:
version: "2.4.0"
cache-key-prefix: kache-${{ github.job }}
save-cache: ${{ github.ref == 'refs/heads/main' }}
pr-comment: false
s3-bucket: ${{ vars.KACHE_BUCKET }}
s3-endpoint: ${{ vars.KACHE_ENDPOINT }}
s3-region: auto
s3-prefix: visualci
s3-access-key-id: ${{ github.ref == 'refs/heads/main' && secrets.KACHE_RW_ACCESS_KEY_ID || secrets.KACHE_RO_ACCESS_KEY_ID }}
s3-secret-access-key: ${{ github.ref == 'refs/heads/main' && secrets.KACHE_RW_SECRET_ACCESS_KEY || secrets.KACHE_RO_SECRET_ACCESS_KEY }}
# The request tests also write the MCP tools' and REST API's answers as JSON snapshots, for the visual job.
- run: cargo test --locked --workspace
env:
Expand All @@ -120,6 +163,7 @@ jobs:
visual:
needs: [test]
runs-on: ${{ fromJSON(vars.CI_RUNNER || '"ubuntu-latest"') }}
environment: ${{ github.ref == 'refs/heads/main' && 'kache-write' || '' }}
timeout-minutes: 30
services:
postgres:
Expand All @@ -141,7 +185,21 @@ jobs:
docker run -d --name s3 -p 59000:9000 \
-e RUSTFS_ACCESS_KEY=visualci -e RUSTFS_SECRET_KEY=visualci-dev-secret rustfs/rustfs:1.0.6
for _ in $(seq 1 30); do curl -s -o /dev/null http://127.0.0.1:59000/ && break; sleep 1; done
- uses: Swatinem/rust-cache@v2
# Compile cache (kache, as Cargo's rustc wrapper): the R2 bucket every machine shares (KACHE_BUCKET), else the
# GitHub Actions cache. Only main writes it: the read-write key is a secret of the kache-write environment,
# which only main may use, so a pull request (whatever its ci.yml says) gets the read-only key.
- uses: kunobi-ninja/kache-action@061011817fd04b0e460f79d6bb3c115b1fc8f029 # v1
with:
version: "2.4.0"
cache-key-prefix: kache-${{ github.job }}
save-cache: ${{ github.ref == 'refs/heads/main' }}
pr-comment: false
s3-bucket: ${{ vars.KACHE_BUCKET }}
s3-endpoint: ${{ vars.KACHE_ENDPOINT }}
s3-region: auto
s3-prefix: visualci
s3-access-key-id: ${{ github.ref == 'refs/heads/main' && secrets.KACHE_RW_ACCESS_KEY_ID || secrets.KACHE_RO_ACCESS_KEY_ID }}
s3-secret-access-key: ${{ github.ref == 'refs/heads/main' && secrets.KACHE_RW_SECRET_ACCESS_KEY || secrets.KACHE_RO_SECRET_ACCESS_KEY }}
- run: cargo build --locked -p visualci_server -p visualci-cli
- uses: pnpm/action-setup@v4
with:
Expand Down Expand Up @@ -182,6 +240,7 @@ jobs:

clients:
runs-on: ${{ fromJSON(vars.CI_RUNNER || '"ubuntu-latest"') }}
environment: ${{ github.ref == 'refs/heads/main' && 'kache-write' || '' }}
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
Expand All @@ -198,9 +257,21 @@ jobs:
node-version: "24"
# The Compare two PDFs page runs crates/visualci-wasm in the browser (scripts/wasm.mjs builds it).
- run: rustup target add wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
# Compile cache (kache, as Cargo's rustc wrapper): the R2 bucket every machine shares (KACHE_BUCKET), else the
# GitHub Actions cache. Only main writes it: the read-write key is a secret of the kache-write environment,
# which only main may use, so a pull request (whatever its ci.yml says) gets the read-only key.
- uses: kunobi-ninja/kache-action@061011817fd04b0e460f79d6bb3c115b1fc8f029 # v1
with:
key: wasm
version: "2.4.0"
cache-key-prefix: kache-${{ github.job }}
save-cache: ${{ github.ref == 'refs/heads/main' }}
pr-comment: false
s3-bucket: ${{ vars.KACHE_BUCKET }}
s3-endpoint: ${{ vars.KACHE_ENDPOINT }}
s3-region: auto
s3-prefix: visualci
s3-access-key-id: ${{ github.ref == 'refs/heads/main' && secrets.KACHE_RW_ACCESS_KEY_ID || secrets.KACHE_RO_ACCESS_KEY_ID }}
s3-secret-access-key: ${{ github.ref == 'refs/heads/main' && secrets.KACHE_RW_SECRET_ACCESS_KEY || secrets.KACHE_RO_SECRET_ACCESS_KEY }}
# The production site: with the Plausible snippets (analytics.ts) and, required, the WebAssembly.
- run: pnpm install --frozen-lockfile && VISUALCI_ANALYTICS=1 VISUALCI_REQUIRE_WASM=1 pnpm build
working-directory: server/frontend
Expand Down
13 changes: 13 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@ design is in `docs/design.md`; read it before changing the architecture, and upd
3. Merge with `gh pr merge --squash --delete-branch` once every check is green. If GitHub refuses because VisualCI
is pending, that's the review you skipped. Never bypass the ruleset.
(1 Dec 2026, unreviewed builds let a CSS break from three merges reach production.)
- **Hold the merge lock from the final rebase to the merge.** A PR must be up to date with `main` before it merges,
so a merge by one agent sends every other agent's PR back through CI. Take Fleetlayer's lock, one per repository,
around the last rebase, the CI run and the merge, in one script, and only for one PR at a time:

```sh
id=$(fleetlayer lease acquire main-merge --payload '{"repo":"DocSpring/visualci"}' --reason "merge PR #N" \
--pid $$ --wait --json | jq -r .id | tail -1)
trap 'fleetlayer lease release "$id"' EXIT
# rebase onto origin/main, push, wait for the checks (with a timeout), gh pr merge N --squash --delete-branch
```

`--pid $$` ties the lock to the script, so it outlives an idle session and is freed when the script ends. (3 Dec
2026: two agents' merges kept making each other's green PRs out of date.)
- No backwards compatibility before launch. There are no old setups to keep working: rename, change formats and
drop old behaviour outright, with no redirects, aliases, fallbacks or shims for the old way (Nathan, 1 Dec 2026).
- `skills/` is generated from the docs pages with `skill:` front matter. After editing such a page, run
Expand Down
Loading