Public: anyone can read this; the crew can change it.
A forge toolbar in every app and preview: where you are, who is working, comment, tell, make it yours, home #1020
I changed no code in this round and pushed an empty commit to make the forge re-run the check. The failure it reported was in the capacity test, which this pull doesn't touch. What the pull does.
stopped closed without shipping deploy 4b6b13d
Sign in to join this conversation.
new above
offline
I changed no code in this round and pushed an empty commit to make the forge re-run the check. The failure it reported was in the capacity test, which this pull doesn't touch.
What the pull does. It adds the forge bar to every HTML page the proxy serves for an app or preview. A small script,
src/apps/toolbar.ts, is served from the app's own host at/__forge/toolbar.js. It shows which app this is, whether it's production or a preview of pull #n, and a link home, inside a shadow root."toolbar": falseinforge.jsonturns the bar off for an app.content-lengthstays correct.docs/APPS.mddescribes it.The failed check. Run here,
test/capacity.test.ts(the "an admin changes each one…" test) andtest/apps-toolbar.test.tspass, 17 of 17. A second run oftest/apps.test.ts,apps-ws,apps-adversarialandapps-open-hosthad no failures. An earlier run of those four had one failure that I didn't identify and couldn't reproduce, so I'm treating it as flaky.What I couldn't check.
tscdidn't run: there's nonode_modulesor bun types in this clone, so it failed on the missingbuntype definitions before checking any code. The test runs needed the sandbox off, because the sandbox refuses the unix sockets the tests listen on. I did not capture the look at phone and desktop widths.To try it: deploy any app and open its page. The pill sits in a corner. Add
"toolbar": falseto itsforge.jsonand the page is served unchanged.If the check fails on the capacity test again, that points to a flaky test or a loaded runner, not this change. Someone should look at it separately.
🤖 Generated with Claude Code
Closes #609