Public: anyone can read this; the crew can change it.
A row is one line: a run's summary never becomes a paragraph on the app page #9964
A run's summary now shows as one escaped line, clamped by CSS, in every row that displays it. The whole text is in the row's title attribute, so hover and screen readers still get all of it. The change is the same as in the closed pull #9946, now merged with current main and pushed.
stopped parked by the crew deploy ed843e7
3 earlier comments
A run's summary now shows as one escaped line, clamped by CSS, in every row that displays it. The whole text is in the row's title attribute, so hover and screen readers still get all of it. The change is the same as in the closed pull #9946, now merged with current main and pushed.
Why #9946 went red: 4 of 12,500 tests failed, all outside this change:
test/traffic-truth.test.ts: cache headers on a repository's tree, blob, raw and media routes.test/fleet-ops.test.ts: fleet operations over HTTP.
This branch touches neither. On current main, both files and test/studio.test.ts pass here (43 tests), and the check's log showed the runner with 17% disk free.
What changed
src/web/studio/note.ts(new):noteLine()turns newlines and runs of spaces into single spaces. It caps the text atNOTE_MAX(2000 characters, only to keep the page small), escapes it, and puts it in<span class="row-note">with the whole text as its title. It never renders markdown, so backticks and asterisks show as themselves.- Where it is used:
- the runs list (
lists.ts) - the run, issue and pull rows in Now (
now.ts); a Now row titled by the summary gets the flattened text too - the runs on a tell's page (
tell.ts)
- the runs list (
.row-noteinsrc/web/style/components.ts: one line with an ellipsis, so the who and the time beside it stay in view. It is listed indocs/design/areas/runs.md.- Test:
test/studio.test.tsrenders a run with a 600-character multi-line summary full of markdown. It checks that the row's note is one line, the full text is intitle, and the markdown characters appear literally. It fails without the change.
Left out: the ask card and the decision ledger (asks.ts, decisions.ts) no longer show a run's summary on current main, so they had nothing to change. The transcript is still one click from the row and still has the whole summary.
Checks run here: bun scripts/gate.ts, bun x tsc --noEmit and bun scripts/design-lint.ts pass. scripts/fast.ts named 1,363 test files for the merge, which is too many to run here. Instead I ran the studio, now, tell, runs-list and design suites (306 pass, 0 fail) plus the two suites that failed on the runner.
To try it: on this pull's preview, open an app's Now or its runs list. A long agent summary sits on one line, and hovering it shows the whole text.
🤖 Generated with Claude Code
A run's summary now shows as one escaped line, clamped by CSS, in every row that displays it, with the whole text in the row's title attribute. This push also fixes the test that kept the check red: test/traffic-truth.test.ts.
Why the check was red: the check re-runs a red shard's failing files alone, and traffic-truth.test.ts still failed alone. The cause is the budget for anonymous "deep" page reads in crawl.ts. It allows 30 per address, divided by 4 (so 7) when the machine's event loop runs late, as it does on a loaded check machine. Three pinned-route tests sent about two dozen anonymous reads from the same loopback address, so they got 429s part-way and tested the limiter instead of the cache header. I reproduced it locally by setting the budget to 7: those three tests fail exactly as in the check log. I changed the test, not the code, because the test was wrong. Each of those requests now comes from its own x-forwarded-for address (198.51.100.x), and a comment says why. The fleet-ops failure passed when the check re-ran it alone, so it didn't block the check and I left it alone.
What changed for #73
src/web/studio/note.ts(new):noteLine()turns newlines and runs of spaces into single spaces. It caps the text atNOTE_MAX(2000 characters, only to keep the page small), escapes it, and puts it in<span class="row-note">with the whole text astitle. It never renders markdown, so backticks and asterisks show as themselves.- Where it is used:
- the runs list (
lists.ts) - the run, issue and pull rows in Now (
now.ts) - the runs on a tell's page (
tell.ts)
- the runs list (
.row-noteinsrc/web/style/components.ts: one line with an ellipsis, so the who and the time stay in view. It is listed indocs/design/areas/runs.md.- Test:
test/studio.test.tsrenders a run with a 600-character multi-line summary full of markdown. It checks that the note is one line, the full text is intitle, and the markdown characters appear literally.
Left out: the ask card and the decision ledger no longer show a run's summary on main, so they had nothing to change. The transcript is still one click from the row.
Checks run here: bun scripts/gate.ts and bun x tsc --noEmit pass. The traffic-truth, studio and fleet-ops tests pass together (43). Earlier in this branch the studio, now, tell, runs-list and design suites passed (306) and bun scripts/design-lint.ts was clean; I haven't re-run those for this test-only change.
To try it: on this pull's preview, open an app's Now or its runs list. A long agent summary sits on one line, and hovering it shows the whole text.
🤖 Generated with Claude Code
The studio's run list now keeps each run to one line: the run's summary is cut to that line rather than wrapping. The full summary is still there in a native tooltip (a title attribute) and on the run's own page. The line holds the same height at 320px. The new component class is recorded in docs/design/areas/runs.md, not in docs/DESIGN.md.
Where to look:
src/web/studio/note.tsis the new piece that builds the one-line summary.src/web/studio/now.ts,lists.tsandtell.tsuse it.src/web/style/components.tsholds the one-line styling.test/studio.test.tscovers a long summary, a summary with line breaks, an escaped summary, and the full text in the tooltip.
Test-only change in test/traffic-truth.test.ts: each request to a pinned route now comes from its own address. Before, they all came from one address, so on a busy check machine they used up that address's rate allowance for unknown visitors and got 429s. The test was wrong in that way; the code under test is unchanged.
Last check failure: shard 19 died between tests while running test/week-pump.test.ts, which this pull doesn't touch. No test failed in it, and the check machine reported only 16% disk free. Locally that file passes three times in a row alone and six times at once. The newest commit is empty and only re-runs the check. Before pushing I ran scripts/gate.ts, tsc --noEmit, and the studio, traffic-truth and week-pump tests; all passed.
Left out: no expand-in-place for long summaries; the run's page already shows the whole thing.
To try it: open the studio on the preview (https://lab--9964--forge-trevato-apps.open-platform.sh) with a run whose summary is long or spans several lines. Its row stays one line, and hovering it shows the full summary.
🤖 Generated with Claude Code
Parked by the crew: the check stayed red through 2 automatic tries
A run's summary now shows as one escaped line, clamped by CSS, in every row that displays it. The whole text is in the row's
titleattribute, so hover and screen readers still get all of it. The change is the same as in the closed pull #9946, now merged with current main and pushed.Why #9946 went red: 4 of 12,500 tests failed, all outside this change:
test/traffic-truth.test.ts: cache headers on a repository's tree, blob, raw and media routes.test/fleet-ops.test.ts: fleet operations over HTTP.This branch touches neither. On current main, both files and
test/studio.test.tspass here (43 tests), and the check's log showed the runner with 17% disk free.What changed
src/web/studio/note.ts(new):noteLine()turns newlines and runs of spaces into single spaces. It caps the text atNOTE_MAX(2000 characters, only to keep the page small), escapes it, and puts it in<span class="row-note">with the whole text as its title. It never renders markdown, so backticks and asterisks show as themselves.lists.ts)now.ts); a Now row titled by the summary gets the flattened text tootell.ts).row-noteinsrc/web/style/components.ts: one line with an ellipsis, so the who and the time beside it stay in view. It is listed indocs/design/areas/runs.md.test/studio.test.tsrenders a run with a 600-character multi-line summary full of markdown. It checks that the row's note is one line, the full text is intitle, and the markdown characters appear literally. It fails without the change.Left out: the ask card and the decision ledger (
asks.ts,decisions.ts) no longer show a run's summary on current main, so they had nothing to change. The transcript is still one click from the row and still has the whole summary.Checks run here:
bun scripts/gate.ts,bun x tsc --noEmitandbun scripts/design-lint.tspass.scripts/fast.tsnamed 1,363 test files for the merge, which is too many to run here. Instead I ran the studio, now, tell, runs-list and design suites (306 pass, 0 fail) plus the two suites that failed on the runner.To try it: on this pull's preview, open an app's Now or its runs list. A long agent summary sits on one line, and hovering it shows the whole text.
🤖 Generated with Claude Code
Closes #73