Skip to content

status: a proof is a captioned link with an icon - #152

Merged
aledbf merged 1 commit into
mainfrom
status-proof-links
Nov 24, 2026
Merged

aledbf merged 1 commit into
mainfrom
status-proof-links

Conversation

@aledbf

@aledbf aledbf commented Nov 23, 2026

Copy link
Copy Markdown
Member

Why

On the status page, the Exists and End to end columns printed each test's name as code (TestAWorkspaceBootsARealGuest). Long names widened those columns and squeezed the Feature column to one word a line, with names running off the table's edge.

What

  • tools/refgen/status.go. A test link's caption is the sentence its name spells: TestAWorkspaceBootsARealGuest becomes "A workspace boots a real guest". The E2E_ and Hosts lane prefixes are dropped. The full name stays as the link's title, so a reader can still search spin for it. A dashboard test is captioned by its title, with the spec as the link's title.
  • Acronyms (API, CLI, SSH, URL, HTTP2, VS Code, WebSocket, MCP, CRUD) are a list in code. If a name has a capital run that isn't on the list, refgen fails instead of spelling it out letter by letter.
  • PageTitle.astro marks the status page (data-status), the same way the API pages are marked. custom.css uses that mark to put an icon before each proof link: GitHub for spin's code, {} for the API reference, a prompt for the CLI.

A name can't tell a plural from a possessive, so "A workspaces bandwidth" loses its apostrophe. The test's name is still in the link's title.

Verification

  • go test ./tools/refgen covers captions, acronyms, the lane prefixes, the link titles, and the failure on an unknown capital run.
  • task reference regenerated the page from spin v20261121.03, and task check passed.
  • Looked at the page in a dev server. The three columns share the width and nothing overflows.

🤖 Generated with Claude Code

A test's name was printed as code, so a long one widened its column and
squeezed the feature's own column to a word a line. A test is named as
the sentence it checks; the page now says that sentence, links it to
where spin declares the test, and keeps the name as the link's title.
The icon says where a link goes: spin's code, the API reference or the
CLI's.

A capital run in a name that is no known acronym fails refgen, so a new
acronym is one line in the list rather than a caption spelled letter by
letter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

@aledbf
aledbf merged commit 0ea2e11 into main Nov 24, 2026
1 check passed
@aledbf
aledbf deleted the status-proof-links branch November 24, 2026 00:14
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