Repository navigation
Follow sluiceway v0.47.0: sluiceway preview on the Command line page - #28
Merged
Merged
Conversation
The pin moves to v0.47.0. The Command line page shows sluiceway preview by example, captured with the action's runCli against its fake app. The install page lists the Checks read permission the app now asks for, and What the app keeps says the app hands a preview page on and keeps none. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
The docs follow sluiceway v0.47.0. Step 0 saw
pin=v0.46.0 latest=v0.47.0 open_prs=0. The release has one change (#287): a new command,sluiceway preview <repo> <stack id>, prints every change of a stack's preview, read from its preview page on GitHub through the app. The app reads that page with GitHub's Checks permission, which each org accepts. The action's copy of the app's OpenAPI document moves to version 1.1.0. No page moves, no heading moves, and no picture, input, mode or schema key changes.What it does
branchline of.gitmodulestogether (bun run pin: "vendor/sluiceway is at v0.47.0, and .gitmodules says so."). The build was green at the new pin with no mapping change. No check was weakened, andREADME_UNMAPPEDis unchanged because the README has no new h2.sluiceway previewexample group (src/lib/command-line.ts), betweenstackandtick, with what it prints and its--jsonanswer. Both were captured the same way as in docs: a Command line page for sluiceway v0.45.0, its commands, their --json answers and exit codes #23 and Follow sluiceway v0.46.0: the command line talks to console.sluiceway.dev #26: I extracted the action at v0.47.0 and ranrunCliagainstfakeApp()fromtest/cli/fake-app.ts. The--jsonanswer is checked against thePreviewschema of the action's OpenAPI copy bytest/command-line.test.ts. That test also requires an example for every command the action's table lists, so it failed until this group was added.--jsonand exit codes.pages.ts) now names previews: "Install the sluiceway command, sign in with an app token, then read status and previews, tick, rescan and change settings, with --json and exit codes." (150 characters, under the 160 the built-site test allows.)sluiceway previewasks for it, to hand it on. Until an org accepts it,previewfails there and says so." This is from the action's record 0116 (amended 2026-09-27) anddocs/command-line.md.sluiceway previewasks, the app reads the preview page from GitHub at that moment, hands it on, and keeps none of it. The bullet stays true, but without this sentence it reads as if the app never touches resource names.These arrive by themselves: the new
previewrow in the commands table, the new section "Reading a stack's preview", the exit table's new wording for 1 and 4, "version 1 (1.1.0 or later forpreview)", the glossary's Command line entry, and record 0116's new section "Amended, 2026-09-27:sluiceway preview".Now wrong on the live site (fixed here)
The live site pins v0.46.0.
softwareVersion0.46.0previewin the commands table, no "Reading a stack's preview", no example--jsonpreviewpreviewasks, hands it on and keeps none of itChecked and still right at v0.47.0: every other description and title in
pages.ts, the JSON-LD, Using the app and The app and the action (neither lists the command line's commands), the example dashboard (only its picture URLs and footer moved to the new tag, and the site serves pictures from the submodule), the header page and gallery,RECORD_PICTURES(0116 is not about Penny), and the anchor redirects (no heading moved).Different at the real tag from the plan
#26 planned: "when the action takes in [the app's 1.1.0 document],
test/command-line.test.tsfails onsluiceway status infra --json, whoseorghas nounshared".unsharedis required on theOrgschema, the answer ofsluiceway statuswithout a repo, and onAudit. Theorginside aRepoanswer is its own small object (login,kind,page) without it. The page has no--jsonexample ofOrgorAudit, so nothing broke, and the test found no problem.no-write-accessis in the fixture's error codes, as planned. I added no example for it, because the action's own page does not list it (see below).no-previewandpreview-unreadable, and the newPreviewschema that the new example is held to.When the open action PRs are released
sluiceway/sluicewayhas no open pull request now, and nothing I can see is on its way.Ambiguous or wrong
In the action's own text at v0.47.0, for the coordinator to pass on. The files behind the older items did not change in this release, so each one still holds.
docs/command-line.md's preview example leaves out a block the command prints. Under "Reading a stack's preview", the example is the action's own test output for the same fake data, minus its "Policies" block (warning tags · the queue has no team tag). The prose above the commands table sayspreviewshows "the policies' failures and warnings", but the example shows none. The site's captured example has the block.no-write-accesshas no line in the exit table. It is an app error code intest/fixtures/app/openapi.jsonat 1.1.0, butdocs/command-line.mddoes not say what exit code it ends with or what to do.https://docs.sluiceway.dev/hosted-app/command-line/, since docs: a Command line page for sluiceway v0.45.0, its commands, their --json answers and exit codes #23).costinschema/sluiceway.schema.jsonhas no description.recordWriters' description ends "Empty hands none on."action.yml'senv-filewraps "relative to the" onto its own line.docs/init.mdstill does not mention Terraform.workflow.md#the-workflowstill points at the page title from 11 links.docs/roadmap.mdstill lists "a docs site" under the launch.docs/using-the-dashboard.md: three[docs/…md]links.How I verified
DOCS_SITE=https://docs.sluiceway.dev DOCS_BASE=/ bun run check(lint, tokens, pin, release,astro check, build, tests) passes: 617 pass, 0 fail, 0 errors, 0 warnings, 0 hints. The build's only warning is the one main has too (the emptyi18ncollection). The first run failed the built-site test on the Command line description (176 characters), and I shortened it.bun run release: "vendor/sluiceway pins v0.47.0, the action's latest release."Under both addresses,
/and the default/docs: build,bun test(617 pass) andbun run links("Checked 33030 links on 150 pages. All of them land.").The CLI capture: all 18 older examples, plus
previewwith and without--json, run throughrunCliat v0.47.0 againstfakeApp(). Everything on the page matches byte for byte.Lighthouse, locally with
bun run lighthouse(the repo'slighthouserc.json, a production build under/, phone, median of three). All four scores are 90 or more on every audited URL://get-started//guides/workflow//guides/configuration//guides/notifications//guides/policies//reference/sluiceway-yaml//reference/what-sluiceway-writes//using-the-dashboard//what-it-looks-like//the-header/What it looks like still scores 96 on accessibility, for the same two
<summary>folds under 44 pixels as since docs: follow sluiceway v0.42.1, a policies page and redirects for two renumbered records #20.Screenshots: Playwright (global install), Chromium, 1280 and 390 wide, light and dark via
prefers-color-scheme. Each of the three changed pages was scrolled to the end first so lazy pictures load, then checked: no sideways scroll and no broken picture in any of the 12 views.sluiceway preview, dark, 1280: the new h3 in the page's contents betweenstackandtick. The capitalREPLACEline, and long lines scroll inside their block.sluiceway previewas a code link to the Command line page.Decisions no record covers
no-previewfailure example. The fake app answersno-previewonly fornetwork:prod, which the page's own examples show as pending with 1 update. An example saying it "has nothing waiting to deploy" would contradict the page. The action's paragraph and the exit table already cover the case.Follow-ups
<summary>folds of the example dashboard on What it looks like are under 44 pixels tall (Lighthouse, 96). Amin-heightonsummaryinside.sw-issuewould fix it. Carried from docs: follow sluiceway v0.42.1, a policies page and redirects for two renumbered records #20.env-filedescription. Carried from docs: follow sluiceway v0.42.1, a policies page and redirects for two renumbered records #20.no-write-accessexample, once the action's page says what it means and how it exits.🤖 Generated with Claude Code