Skip to content

feat(pages): serve objectfs.io, and gate what the page is allowed to claim - #429

Merged
scttfrdmn merged 1 commit into
mainfrom
feat/pages-objectfs-io
Aug 14, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
feat/pages-objectfs-io

Conversation

@scttfrdmn

Copy link
Copy Markdown
Owner

Pages was off on this repository for its entire history — which is why release.yml's deleted update-docs job could only ever have failed. It is on now (build_type: workflow, custom domain objectfs.io), the Porkbun records point the apex at GitHub's addresses, and this PR is the content: a landing page from web/ at the root, the MkDocs tree beneath it at /docs/.

What the page says

It states the contract, including the part that is a list of refusals — no atomic rename, no cross-host locking, no concurrent-writer safety, no checksum on a partial read, no Windows. That is not modesty. A reader who learns from the front page that SQLite and Git-inside-the-mount do not work across hosts has been told the thing that would otherwise cost them a corrupted repository, and every documentation tree here has a history of the opposite:

  • docs-platform/guide/getting-started.md opened with curl -sSL https://get.objectfs.io | sh — a getting-started guide whose first command is a domain that has never served anything — beside an apt repository, a Homebrew tap and an AUR package, none of which existed.
  • docs/index.md published five throughput figures. Zero were measured; the last was CargoShip's number for CargoShip's workload.

The site quotes no throughput number for that reason. benchmarks/ exists, and until it runs against a named bucket and object size, silence is the honest answer.

The terminal on the page deliberately demonstrates a failure reaching the caller — a failed PUT failing the syscall with a non-zero exit status — because that is the project's actual thesis and it is not what a hero terminal usually shows.

Why it is gated rather than trusted

internal/config/landing_page_test.go, five gates:

Gate Asserts
InstallCommandsMatchTheScript every long flag on an install.sh line has a parsing case in scripts/install.sh
StatesNoVersion no X.Y.Z in prose outside a <pre> — the version constant is the only authority, after five files claimed five different numbers
NamesNoUnservedDomain only the apex may be linked
IsDeployedWithItsAssets every local href/src resolves inside web/, which is all the deploy copies; web/CNAME names the domain
PagesWorkflowBuildsDocsStrictly --strict and the CNAME check survive in the workflow

All six mutations of those properties fail the intended test and are clean when restored. What this cannot check is whether a sentence is true — only whether it agrees with something else in the repository that is itself checked. That is the same reason the page says nothing about throughput: a claim with nothing to agree with cannot be gated, so the page does not make it.

Two failure modes the workflow guards

  • A missing CNAME in the artifact clears the custom domain configured on the repository. The site would go down with no commit that looks responsible, so the assembly step greps for it and the test does too.
  • mkdocs build without --strict publishes a broken site silently. Turning it on meant fixing eight warnings it had been emitting into a site nobody built: seven links from inside docs/ up to the repository-root README.md/SECURITY.md, correct on GitHub and dead in any built site, two of them also aimed at #supported-operations where the heading is ## Supported filesystem operations — so those two were broken on GitHub as well. They survived because nothing had ever built the tree.

docs-platform/ is deliberately not published: ci.yml already gates it, and two sites answering the same question with no rule for which is current is how the install-channel fabrications survived.

Only the apex is served, and DNS cannot tell you that

Porkbun answers a wildcard, so get., packages., docs., community. and any typo resolve to the same record and complete no TLS handshake. An unconfigured subdomain is indistinguishable from a deliberate one by resolution alone — which is why the domain check is a test and not a glance at dig.

Also in here

release.yml had two comments this change makes false: the update-docs note asserting Pages is not enabled, and the packaging note's claim about what the apex resolves to. Both corrected. docs/index.md, docs-platform/index.md and mkdocs.yml's site_url updated for the same reason.

Verification

  • go build ./... && gofmt -l . && go vet ./... && golangci-lint run — clean
  • go test -race ./... — clean, full suite
  • mkdocs build --strict — clean
  • Site assembled locally exactly as the workflow does it: /, /css/style.css, /assets/favicon.svg, /docs/ all 200; every local reference resolves
  • Both install one-liners on the page run, in bare and bash -s -- piped form
  • Both themes and every section rendered and inspected

https_enforced is still false — the API returns 404 The certificate does not exist yet until GitHub provisions one, so that gets set after this deploys.

…claim

Pages was off on this repository for its entire history. `pages.yml` turns the
domain into a served site: a landing page from `web/` at the root, the MkDocs
tree beneath it at `/docs/`.

The page states the contract, including the part that is a list of refusals — no
atomic rename, no cross-host locking, no concurrent-writer safety, no checksum on
a partial read, no Windows. A reader who learns from the front page that SQLite
and Git-inside-the-mount do not work across hosts has been told the thing that
would otherwise cost them a corrupted repository, and every documentation tree
here has a history of the opposite: docs-platform's getting-started opened with
`curl https://get.objectfs.io | sh` beside an apt repository, a Homebrew tap and
an AUR package, none of which existed, and docs/index.md published five
throughput figures of which zero were measured. The site quotes no throughput
number for that reason. `benchmarks/` exists; until it runs against a named
bucket and object size, silence is the honest answer.

So the page is gated rather than trusted, by internal/config/landing_page_test.go:
its install flags must be flags scripts/install.sh parses, no release version may
appear outside a code block, no subdomain but the apex may be linked, every local
reference must resolve inside web/ — all the deploy copies — and web/CNAME must
name the domain, since a deploy missing that file clears the custom domain and
takes the site down with no commit that looks responsible. Six mutations of those
properties each fail the intended test.

Only the apex is served, and resolution cannot tell you that. Porkbun answers a
wildcard, so `get.`, `packages.`, `docs.` and any typo resolve identically and
complete no TLS handshake — which is why the domain check is a test and not a
glance at dig.

`mkdocs build` runs `--strict`, which meant fixing eight warnings it had been
emitting into a site nobody built: seven links from inside docs/ up to the
repository-root README.md and SECURITY.md, correct on GitHub and dead in any
built site, two of them also aimed at `#supported-operations` where the heading
is `## Supported filesystem operations` — so those two were broken on GitHub as
well. docs-platform/ is deliberately not published: two sites answering the same
question, with no rule for which is current, is how the fabricated install
channels survived.

Also corrects two comments in release.yml that this change makes false: the
deleted `update-docs` note asserting Pages is not enabled, and the packaging
note's claim about what the apex resolves to.
@scttfrdmn
scttfrdmn merged commit 3c6c024 into main Aug 14, 2026
41 of 42 checks passed
@scttfrdmn
scttfrdmn deleted the feat/pages-objectfs-io branch August 14, 2026 02:54
scttfrdmn added a commit that referenced this pull request Aug 14, 2026
…o host is absent

install.sh's header said "Both objectfs.io and packages.objectfs.io resolve to
registrar parking IPs", which stopped being true when #429 put the landing page and
the docs on Pages. The conclusion is unchanged and the reason it is unchanged is the
part worth writing down: Porkbun answers a wildcard, so packages.objectfs.io resolves
exactly like every other name under the domain and completes no TLS handshake.
Resolution was never the evidence — which is the same argument the landing-page
domain test exists to make.
scttfrdmn added a commit that referenced this pull request Aug 14, 2026
…433)

* ci: stop install-script from throwing away the output it asserts on

The success branch captured the install output in a command substitution without
`|| true`, so under `set -e` a failing install killed the step at the assignment
and `echo "$out"` never ran. The log then held only bash's

  /opt/ofs/bin/objectfs: No such file or directory
  Process completed with exit code 127

and none of the three ::error:: messages below it — messages written specifically
for the runs where they would now never be printed. The refusal branch above already
has `|| true` for exactly this reason.

Found while diagnosing a transient rockylinux:9 failure on #431 whose only diff was
a toolchain line. The same job passed on main and on #430 at the same time, and the
rerun was green, so the failure was a flake — but the flake's cause is unrecoverable
because the step discarded the evidence. A job whose assertions can only be read
when they pass reports the same non-answer this job exists to reject.

The idempotency step below has the same shape and does not need the same fix: its
substitution ends in `[ ... ] && echo SAME || echo DIFFERENT`, which exits 0
regardless.

* docs(install): objectfs.io is served now, and that is not why the repo host is absent

install.sh's header said "Both objectfs.io and packages.objectfs.io resolve to
registrar parking IPs", which stopped being true when #429 put the landing page and
the docs on Pages. The conclusion is unchanged and the reason it is unchanged is the
part worth writing down: Porkbun answers a wildcard, so packages.objectfs.io resolves
exactly like every other name under the domain and completes no TLS handshake.
Resolution was never the evidence — which is the same argument the landing-page
domain test exists to make.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant