The site: no form had ever reached an inbox
On the evening of Monday, August 17, we went to wire the site’s forms to an inbox and found two bugs stacked on each other.
- #47: the contact form stops throwing before it sends anything.
- #48: every form posts to a new same-origin route that emails the submission.
- #49: the deploy stops failing on the sessions namespace, so the fixes can reach production.
The first (#47) was the contact form bug we had shipped on April 26: the API address was imported in the component’s frontmatter and used in its client-side script, which can’t see frontmatter variables, so the browser threw before sending anything. The fix reads the value inside the script.
We replaced all of it with a same-origin /api/leads route on the site’s Worker that emails each submission, and only reports success when the lead actually landed. It also mails the cost estimate back to the visitor, so that email is built only from our own tables, never from text the visitor sent; the first version didn’t, and we caught it before merging.
Then the deploy failed (#49). The last two Workers builds had died after a clean build with “a namespace with this account ID and title already exists”. The Astro Cloudflare adapter turns sessions on by default and declares a KV binding with no ID, so Wrangler tries to create the namespace on every deploy, and every deploy after the first collides with it. Production had kept serving the build from before #48, so the forms stayed broken until we pinned the binding to the existing namespace. Even then the new route needed an email API key set on the Worker before it could send anything, and our notes from August don’t confirm when the first real lead arrived.
The rest of the site’s 17 pull requests that week:
- A requirements builder, a seven-step questionnaire whose answers stay in the visitor’s browser.
- The brand animation on the homepage, re-encoded from 16.3 MB and 11.4 MB 4K masters to 728 KB and 481 KB clips with no audio track. Chrome won’t play a video-only clip in a background tab, so a visitor who opened the site in a new tab saw only the poster until playback learned to retry when the tab becomes visible.
- A chat on the site, on Gemini, streaming, with same-origin and rate-limit guards. Within hours it turned out to close itself when a visitor sent a message, because Astro’s client-side router intercepted the form’s submit as a navigation: the same family of bug as the mobile menu in April. The same fix removed Partytown, which was crashing in its worker on Cloudflare.
- The AI lineup grew from 12 modules to 31. Within a week we would find that 18 of them were real, which is part of the claims note.
Orca-strator: from v0.3 to v5 in a week
Orca-strator merged 17 pull requests between August 17 and 21, going from version 0.3.3 to 5.1.6. Most of that jump is noise.
The real work came in large phases:
- Reliability and evaluation. Loops, sub-flows, fallback chains, typed outputs, dataset evaluations with a CI gate, run diffs, OpenTelemetry export and a command-line interface.
- 141 defects. A review sweep verified 141 defects across Orca-strator, among them condition nodes that never branched and a Cancel button that didn’t call the API. One pull request on August 18 fixed all of them, each with a regression test.
- A light theme you could select. The theme toggle lived in a component the app never rendered, and Tailwind 4’s
dark:variant followed the operating system, not the app, so 146 utilities ignored the chosen theme. - A session plane. Orca can now run long-lived command-line coding agents in terminals on the canvas, each in its own git worktree. The next pull request tightened what those sessions inherit from the server’s environment.
The backend suite grew from 1,106 passing tests on August 17 to 5,017 on August 21, and CI was split across four shards to keep up.
What we’d tell someone else
Test a form by sending one on the deployed site and watching it arrive. Each of our layers (component, environment, service, deploy) had failed separately, and each looked fine from where it sat.