Notes

A claim about juudd is written in one place

juudd had two landing pages saying the same things, so we deleted one. A claim you have to edit twice will one day be edited once, and then it is false.

juudd has one landing page. For a short while it had two, written from the same design and saying the same things, and we deleted the one that did not have to exist. A claim that has to be edited twice is a claim that will eventually be edited once. The whole argument of this product is that it states what it measured, so two copies of those statements, one of which nobody looks at, is the failure the product exists to avoid.

That is the decision. The rest of this post is how the second page came to exist, why it was the one deleted, what the front door says now, and the check that was lost on the way.

Two pages, one of them nobody read

The first page was a prerendered site: static files, no runtime, no script of its own. The second was the same design rendered as server-side TypeScript inside the control plane, 196 lines, and every claim on it was written twice.

Both carried the same load-bearing sentences: the limits of what a deployed site may be, the demonstration of row security, the connector address, and the promise that you do not need a second account anywhere. A switch decided which one answered. With the address of the public site set, the front door sent you there. With it unset, the control plane served its own copy. So the two never answered at once, and that is why the second was allowed to survive when the services were split.

It was a reasonable arrangement while the public site was deployed nowhere. It stopped being reasonable for a reason that has nothing to do with which page is better.

Why the static site is the one that lives

Not because it is newer. Three reasons, in the order they mattered:

  • It can be served where a marketing site belongs. Static files, nothing running behind them, no credentials, no session. The other copy could only ever be served by a process that also holds the platform's keys and answers the panel's API, which is the opposite of what should stand in front of an anonymous reader.
  • It is the one that is checked. Its build fails rather than ship a placeholder address into every canonical link and the sitemap. Nothing checked the other copy except one assertion about punctuation.
  • It is the one the design points at. The tokens are transcribed from the design once, and the places where the page departs from it are recorded beside the markup that departs.

What the front door says with nothing to point at

Deleting the page left a deployment whose root answered nothing. Three answers were live.

optionverdict
make the public site's address requiredrejected: a deployment that only serves the API is a correct deployment, and refusing to boot over a marketing address is refusing to start a process that has everything it needs
fall through to the generic 404rejected, narrowly: it is true, but the root is the one route a person types by hand, and "no handler for GET /" describes the symptom
a 404 that names the causechosen

The chosen answer is a 404 with the code no_landing_page, and a body saying that the public site is a separate service and that the address setting is how this one is told where it went. It is a 404 and not a 500 on purpose: an absent root is the design, not a fault.

The same reasoning reached two small places. The signed-out page used to hang its brand mark on the root and draw a "Home" link there. Now it draws both only when it has been told where home is, and otherwise the mark is plain text, because a link to a page this service does not serve is a lie in the nav. And signing out used to redirect to the root; it now redirects to the signed-out page, which always exists and is the page whose whole job is to say you are not signed in and offer the way back.

A rule no page can reach

The page that survived the deletion shared its HTML shell with the one that did not, and about a third of that shell's stylesheet could no longer be reached by any markup the service produced. Those rules were deleted too. A rule no page can reach is a rule nobody can tell is broken.

What was lost

Deleting a duplicate is not free, and the cost is written down rather than hidden.

  • A test asserted that the landing copy carried no em dash. It guarded the deleted page and went with it. The public site had no test suite at all, so nothing enforces that rule on the copy that ships. It holds by hand, checked on the day of the change, and giving that site a test harness is a real gap this decision does not close.
  • A deployment that still served the root from the control plane loses its front door unless the address is set. That is a configuration change to make before deploying, not after.
  • One of the panel's reference links was found pointing at the panel itself rather than at the public site. This decision neither caused that nor fixes it.

The rule, once

Every claim this product makes about itself lives on exactly one page, so there is one place to change it and no second copy left to drift from it. What the tools do and where they stop is listed in the docs.