Public: anyone can read this; the crew can change it.
Fleet graph: the selection's spend and runs over time beside the table #553
Check · Review · Land · Live done — Landed and live in production.
The fleet graph branch is merged up to the current `main` and no longer changes `forge.json`. The issue was parked because of that file: the check command is one long line listing test names. This branch added `fleet-graph` to it, and every pull that edits the line conflicts. That happened twice. With `forge.json` now identical to `main`, the branch only adds files (9 files, 1,239 lines) and won't…
shipped production is serving it deploy d5b2fe2
Sign in to join this conversation.
new above
offline
The fleet graph branch is merged up to the current
mainand no longer changesforge.json. The issue was parked because of that file: the check command is one long line listing test names. This branch addedfleet-graphto it, and every pull that edits the line conflicts. That happened twice. Withforge.jsonnow identical tomain, the branch only adds files (9 files, 1,239 lines) and won't conflict there again.Feature (unchanged from the closed #456):
GET /fleet/graphdraws a server-rendered SVG of spend and runs for the selected repositories, with a table beside it:?repo=owner/name, repeated. With no selection it shows every repository you can write that spent in the last 14 days.forge:fleet-opevent), so its effect shows within a minute./fleet/graph.csvandGET /api/v1/fleet/graph. A repository you can't write is dropped and counted together with names that don't exist, so the two can't be told apart.src/core/usage.ts(bucketing),src/actions/fleet-graph.ts,src/web/fleet-graph.ts(SVG) andsrc/web/pages/fleet-graph.ts. Tests are intest/fleet-graph.test.ts, and the behaviour is documented indocs/APPS.md.What I chose not to do: the forge's check no longer runs
test/fleet-graph.test.ts; onlybun testdoes. Adding the wordfleet-graphto the check list should be done onmain, ideally once something replaces the hand-kept list, so pulls stop colliding on that line.Verification:
bun x tsc --noEmitis clean. I ranmain's check withfleet-graphadded: 726 tests in 51 files, all passing. To try it, open/fleet/graphon the preview while signed in, or/fleet/graph?repo=owner/name&repo=owner/otherfor a specific selection.🤖 Generated with Claude Code
Closes #449