Public: anyone can read this; the crew can change it.
scripts/smoke.ts <url> checks /, /board, /healthz and the stylesheet as a phone and as a desktop #2339
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Replaces part of #2282. Both earlier tries went red only on unrelated suites (
test/resilience.test.tsandtest/tui-newforge.test.ts).Done looks like:
bun scripts/smoke.ts <url>makes each request twice, once with an iPhone Safari user agent and once with a desktop Chrome user agent./,/board(signed in withFORGE_TOKEN; a 302 to sign-in fails) and/healthzeach answer 200. The stylesheet linked from/is a 200text/cssresponse with a non-empty body.test/smoke.test.ts(listed inGATE) runs the script against a stub on a loopback port. It passes against a good stub and fails when the stub serves the stylesheet as text/html.scripts/smoke.ts, the test and the GATE line. If an unrelated suite goes red, name it in the pull and change nothing else.