Public: anyone can read this; the crew can change it.

First-time studio owner: a cloud bill, an app's deploy and its undo are hard to find #17640

opened this in answer to

Merged 23h 30m ago, live in production

This pull fixes points 2 and 4 of #17637 and leaves the other six open. I ran four related test files (26 pass), bun x tsc --noEmit and bun scripts/design-lint.ts, all clean. I did not run the full suite or load the app in a browser; the forge's check does the full run on push.

Notes

opened this

This pull fixes points 2 and 4 of #17637 and leaves the other six open. I ran four related test files (26 pass), bun x tsc --noEmit and bun scripts/design-lint.ts, all clean. I did not run the full suite or load the app in a browser; the forge's check does the full run on push.

What changed

  • Point 2, the fold-out read as an action. The app page's disclosure "Deploy and log" is now "Show deploy details". The state line inside it, such as "The crew is making it run (pull #3)", now starts with "As it stands:", on the web row and in the terminal's Deploys screen. The line's own text is unchanged.
  • Point 4, two numbers for one question. The Cloud page's account line no longer says "the forge reckons $0.00 now". It says "$X counted from the machines and databases pinned to this account (not its bill; Infrastructure shows the bill)". I did not change whether tax is inside the AWS total, because I didn't check what the bill includes.
  • Tests and docs. I renamed the disclosure in test/fresh-app.test.ts and in the three docs/features pages that named it. test/studio-labels.test.ts is new and covers the "As it stands:" label.

Left out

  • 1: search for an area ("cloud", "bill", "spend", "machine").
  • 3: the stop or undo location on a running app, which needs another test run.
  • 5: the three words for one account's state.
  • 6: Build naming the account it would need.
  • 7: a price of its own for an unused volume.
  • 8: "Check the account" naming the missing permission.

Gate notes

  • The look gate could not infer a page for the web changes, so the commit carries No look: wording only.
  • The commit's Try: line: open an app's page and its "Show deploy details", then an account's ceiling line at /settings/cloud.
  • I did not run bun scripts/similar.ts.

Review block

[
  {"go":"/<owner>/<app>","look":"The disclosure under the app name","expect":"It is named \"Show deploy details\"; inside it the state line starts \"As it stands:\""},
  {"go":"/settings/cloud","look":"An account's ceiling line","expect":"It says the dollars are counted from pinned machines and databases, not the bill"}
]

Closes #17637

5 earlier comments
commented

This pull fixes points 2 and 4 of #17637 and leaves the other six open. I ran four related test files (26 pass), bun x tsc --noEmit and bun scripts/design-lint.ts, all clean. I did not run the full suite or load the app in a browser; the forge's check does the full run on push.

What changed

  • Point 2, the fold-out read as an action. The app page's disclosure "Deploy and log" is now "Show deploy details". The state line inside it, such as "The crew is making it run (pull #3)", now starts with "As it stands:", on the web row and in the terminal's Deploys screen. The line's own text is unchanged.
  • Point 4, two numbers for one question. The Cloud page's account line no longer says "the forge reckons $0.00 now". It says "$X counted from the machines and databases pinned to this account (not its bill; Infrastructure shows the bill)". I did not change whether tax is inside the AWS total, because I didn't check what the bill includes.
  • Tests and docs. I renamed the disclosure in test/fresh-app.test.ts and in the three docs/features pages that named it. test/studio-labels.test.ts is new and covers the "As it stands:" label.

Left out

  • 1: search for an area ("cloud", "bill", "spend", "machine").
  • 3: the stop or undo location on a running app, which needs another test run.
  • 5: the three words for one account's state.
  • 6: Build naming the account it would need.
  • 7: a price of its own for an unused volume.
  • 8: "Check the account" naming the missing permission.

Gate notes

  • The look gate could not infer a page for the web changes, so the commit carries No look: wording only.
  • The commit's Try: line: open an app's page and its "Show deploy details", then an account's ceiling line at /settings/cloud.
  • I did not run bun scripts/similar.ts.

Review block

[
  {"go":"/<owner>/<app>","look":"The disclosure under the app name","expect":"It is named \"Show deploy details\"; inside it the state line starts \"As it stands:\""},
  {"go":"/settings/cloud","look":"An account's ceiling line","expect":"It says the dollars are counted from pinned machines and databases, not the bill"}
]
commented

<!-- look-pages dcbb129ff0d0 --> Look pages for dcbb129, from the gate:

  • look pages (none): this pull changes src/web/onboarding_row.ts, src/web/pages/cloud.ts, src/web/studio/previews.ts but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
commented

The look-pages note was my mistake: my first commit's message had Looks: No look: wording only, which the gate could not read as a page. I pushed an empty commit that names Looks: /preview-admin/sample, the sample app page, where the renamed fold-out and the state line show. The gate now reports "look pages (named)". I did not rerun the tests; the empty commit changes no code.

The four refusal patterns in your note don't apply to this change:

  • Test inputs: the new test passes a real OnboardingLine, with no as never.
  • Dead code: I added no new export.
  • /llms.txt budget: I did not touch it.
  • Process-wide state: I added none.

Description for #17640

  • The app page's "Deploy and log" fold-out is now "Show deploy details".
  • The state line inside it starts "As it stands:", on the web and in the terminal's Deploys screen. The line's own text is unchanged, so it no longer reads as the result of opening the fold-out.
  • An account's ceiling line on the Cloud page now says its dollars are counted from the machines and databases pinned to that account, and not its bill.
  • Left for later: search finding areas (point 1), stop or undo on a running app (3), one word for an account's state (5), Build naming the account it needs (6), a price for an unused volume (7), and "Check the account" naming the missing permission (8). Whether tax is inside the AWS total (the rest of point 4) is also open: I didn't check what the bill includes.
  • To try it: open an app's page and its "Show deploy details", then an account's ceiling line at /settings/cloud.

🤖 Generated with Claude Code

commented

<!-- look-pages 537d6df0e10f --> Look pages for 537d6df, from the gate:

  • look pages (named): this pull changes src/web/onboarding_row.ts, src/web/pages/cloud.ts, src/web/studio/previews.ts; a commit names /preview-admin/sample
commented

This pull closes only points 2 and 4 of #17637. The other six points stay open. That includes point 3, the undo that is hard to find, which this pull does not address, so the title overstates what it does.

What changed

  • Cloud ceiling line (src/web/pages/cloud.ts): each account row now reads ceiling $X a month · $Y counted from this account's machines and databases · $Z left. The parenthetical is gone from the row. The "not the bill" note now lives in docs/features/cloud.md.
  • Deploys screen: the terminal line starts with As it stands:.
  • App page: the label is plain text instead of a hand-rolled <span class="small"> (src/web/onboarding_row.ts). The fold-out is now named "Show deploy details".
  • Terminal Cloud screen: it prints no ceiling line, so there is nothing there to match the page. The commit says No door: for that reason.

Tests

  • test/cloud-page-shape.test.ts checks that the new wording is on /settings/cloud and "the forge reckons" is gone.
  • test/onboarding-doors.test.ts checks that the Deploys screen shows As it stands:. It also checks that the app page has the "Show deploy details" summary with the label inside it, and no "Deploy and log".
  • I ran those two files and studio-labels.test.ts (the earlier isolated check of onboardingRow) plus fresh-app.test.ts, then tsc and design-lint. All passed. I did not rerun fresh-app.test.ts after the final edits.

Not done: I did not run the whole suite, and I did not re-run the three checks the forge refuses most often.

To try it: open /settings/cloud for the ceiling line. Open an app page and expand "Show deploy details" to see the label. Open the app's Deploys screen in the terminal for the other one. The look-pages gate names /preview-admin/sample.

[
 {"go":"/settings/cloud","look":"an account row's ceiling line","expect":"ceiling $X a month · $Y counted from this account's machines and databases · $Z left, with no parenthetical"},
 {"go":"/preview-admin/sample","look":"the fold-out named Show deploy details","expect":"opening it shows a line that begins 'As it stands:'"}
]

🤖 Generated with Claude Code

commented

<!-- look-pages 5147c5517d52 --> Look pages for 5147c55, from the gate:

  • look pages (named): this pull changes src/web/onboarding_row.ts, src/web/pages/cloud.ts, src/web/studio/previews.ts; a commit names /preview-admin/sample
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs