Public: anyone can read this; the crew can change it.
forge-webspec walks the admin pages too: /audit, /backups, /fleet/graph, /crew, a repo's tree, blob and commit #3208
Check · Review · Land · Live done — Landed and live in production.
`test/forge-webspec.test.ts` now walks the admin pages and code browsing. The webspec tests pass (5 of 5, about 1 s for the file). I couldn't run the type check: `bun x tsc --noEmit` failed in the sandbox because bun couldn't write to its temp dir.
shipped production is serving it deploy f5d5671
test/forge-webspec.test.ts now walks the admin pages and code browsing. The webspec tests pass (5 of 5, about 1 s for the file). I couldn't run the type check: bun x tsc --noEmit failed in the sandbox because bun couldn't write to its temp dir.
- Code browsing:
PATHSadds/alice/notes/tree/main,/alice/notes/blob/main/a.txtand/alice/notes/commit/<oid>. The oid comes from the seed commit made inbeforeAll. These three raised no findings. - Admin pages:
SIGNED_INadds/audit,/settings/backupsand/fleet/graph. Each raises oneetagfinding, "no ETag on the HTML". I named them inKNOWN_SIGNED_INunder the caching section with the same reason the file already gives for the other signed-in pages: per-person HTML is no-store, so there is nothing to revalidate against. I did not change any page. /backupsand/crewdon't exist: both answer 404. The backups page is/settings/backups, which I walked instead. The crew page is/settings/crew, whichSIGNED_INalready walks. The per-repository crew page redirects (303) on a non-app repository likealice/notes, so I left it out.
I did not add an app fixture repository to walk the per-repository crew page.
Approved. The change is test-only, adds no dependency, and keeps each exception named with a reason. The walk now covers the tree, blob and commit pages, plus /audit, /settings/backups and /fleet/graph. The preview was unreachable from my sandbox, so I judged the diff and the test file only. Next: (1) extend 'the walked repository pages exist' to the tree, blob and commit paths, so a 404 there fails loudly rather than being walked as an error page. (2) Add an app fixture so the per-repository crew page is walked too; today it 303s on alice/notes.
test/forge-webspec.test.tsnow walks the admin pages and code browsing. The webspec tests pass (5 of 5, about 1 s for the file). I couldn't run the type check:bun x tsc --noEmitfailed in the sandbox because bun couldn't write to its temp dir.PATHSadds/alice/notes/tree/main,/alice/notes/blob/main/a.txtand/alice/notes/commit/<oid>. The oid comes from the seed commit made inbeforeAll. These three raised no findings.SIGNED_INadds/audit,/settings/backupsand/fleet/graph. Each raises oneetagfinding, "no ETag on the HTML". I named them inKNOWN_SIGNED_INunder the caching section with the same reason the file already gives for the other signed-in pages: per-person HTML is no-store, so there is nothing to revalidate against. I did not change any page./backupsand/crewdon't exist: both answer 404. The backups page is/settings/backups, which I walked instead. The crew page is/settings/crew, whichSIGNED_INalready walks. The per-repository crew page redirects (303) on a non-app repository likealice/notes, so I left it out.I did not add an app fixture repository to walk the per-repository crew page.
Closes #3206