Repository navigation
Gallery versions (sc-9563): visualci release keeps what the gallery showed at each release - #258
Open
ndbroadbent wants to merge 3 commits into
Open
ndbroadbent wants to merge 3 commits into
ndbroadbent wants to merge 3 commits into
Conversation
VisualCIdocspring/visualci · build #1430 · 9 changed, 1 added, 569 unchanged · waiting for review This PR vs base: 36 changed, 37 added since #1059, across 8 builds · 9 not approved yet
docspring/visualci · journeys · build #1425 · 3 removed, 53 unchanged · waiting for review This PR vs base: 53 added, 50 removed since #1055, across 11 builds · 3 not approved yet Removed: Updated as builds change. Agents can review with VisualCI's MCP tools. |
ndbroadbent
force-pushed
the
gallery-versions
branch
2 times, most recently
from
December 5, 2026 06:02
5420133 to
008b876
Compare
ndbroadbent
force-pushed
the
gallery-versions
branch
2 times, most recently
from
December 5, 2026 09:10
37c9ef9 to
b1519f2
Compare
ndbroadbent
added a commit
that referenced
this pull request
Dec 5, 2026
ndbroadbent
force-pushed
the
gallery-versions
branch
2 times, most recently
from
December 5, 2026 11:55
8fc8a50 to
66252c2
Compare
… published at a commit, kept for good at /g/<org>/<project>@<key>.json and its own image URLs; every manifest lists the versions newest first; versions on the project page; retention and project deletion keep their blobs; a version's thumbnails filled in by the sync; POST/GET /api/v1/versions; a guide with GitHub Actions, CircleCI and GitLab examples; CLI 0.2.30; plugin 0.1.68
…e time-budgeted queue; the changelog line is an entry file; no plugin version
#288); version-only thumbnails in a stable order
ndbroadbent
force-pushed
the
gallery-versions
branch
from
December 5, 2026 15:14
5495e3c to
fa8b7cc
Compare
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.
sc-9563. Gallery versions: keep what a project's gallery showed at each release, for good, at stable URLs of its own.
What it does
visualci release [version](CLI 0.2.30) records what the gallery published at a commit: the approved screenshots of the newest default-branch builds at or before it. Approvals made after that commit don't count. Without a version it takes the CI provider's tag, else the commit's own tag.POST/GET /api/v1/versions: 201 new, 200 the same again, 400 a bad label, 409 the label taken at another commit, 422 nothing published at that commit./g/<org>/<project>@<key>.jsonand/g/<org>/<project>@<key>/<path>. Its images never change, so they're cached for a year. Its thumbnails are filled in by the background sync, which is queued directly when the version is recorded.versions, newest first. The project page lists them too.Tests
a_reported_version_keeps_what_the_gallery_published_at_its_commitcovers: record, repeat, conflict, bad labels, a commit with nothing published, serving after the gallery moves on, thumbnails, ordering, the 500-version limit, retention, and a version recorded after main moved on (C waiting for review, D approved later: the version at C keeps B's screenshot). That last assertion fails on the code before the fix.