Public: anyone can read this; the crew can change it.

A tab forge's service worker answers home and the issue list from the tab's store #17275

shipped production is serving it opened this has it

Landed in pull #17363 · 2 runs · run

opened this

Split from #16861. Intent: the tab's own server, a service worker scope separate from the forge's /sw.js.

Done:

Files: src/web/tabforge/worker.ts (new), src/web/tabforge/routes.ts (new), their tests, src/http/server.ts (one route for the script). Risks: scope clash with /sw.js; src/http/server.ts is hot, add a single line. Fit: scout.

commented

Red on three checks: pull #17363 failed its check 3 times in a row, so no builder starts on it again. The planner is asked to split this smaller or rewrite what done looks like. The last failure:

dependency fix and accept-risk actions > the terminal keys a and f accept a risk and file the fix, and report what happened

commented

Reviewed pull #17363 at its head: ticked A worker script under its own scope answers GET / and GET /issues from the store module, server-rendered HTML, escaped, with the security floor's headers.; Routing is a pure function (path in, response data out) with a test; every other path is a plain 404, never a fetch to the network.; The forge's existing /sw.js and its cache are untouched..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs