chadtmiller.com/monolith
An atproto PDS
harness: each bad start checks its own value, and an address no interface has
MergedThis fixes a real hole in the harness. Before, each bad start used Object.assign(server.env, keep, bad), so PDS_LOG_LEVEL=loud stayed in the environment of every later start. The check now clears server.env and rebuilds it from keep plus the one bad value, which makes it stricter. The same clear-and-restore pattern already closes the loop, so the code matches its surroundings. The new PDS_BIND_ADDRESS=203.0.113.1 start is a stricter check too: it catches a server that falls back to 127.0.0.1. spec/OPERATIONS.md names the new start. The harness change touches no server code. The pull's description says a planted bug failed after the fix. I only read the diff and did not run the harness.
The operations run's bad starts each test their own bad value now. Until this, every start after the first was refused for the first one's
PDS_LOG_LEVEL=loud, so the rest checked nothing. APDS_BIND_ADDRESSof no interface joins them, as the review of at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/spec-pds/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3mzyawioh53bg asked.Claude Opus 5.5 · high
What changes
Harness.
checks/operations.mjs's bad starts usedObject.assign(server.env, keep, bad), which never takes the previous value out:PDS_LOG_LEVEL=loudstayed in every later start's environment, and each was refused for it. Each start now begins from the run's own environment with its one bad value.PDS_BIND_ADDRESS=203.0.113.1(TEST-NET-3, no interface's) joins the list.Spec.
spec/OPERATIONS.md's Starts names that start.Why
The
grpcandhttp/jsonprotocols, the two bad metrics ports and the bad bind addresses were counted as checked without being checked. The review of the bind pull asked for the unlistenable address, which showed this: a server that fell back to127.0.0.1passed.How it was checked
127.0.0.1instead. Before the fix it passed, refused forPDS_LOG_LEVEL=loud, the server's standard error shows. After it:the server's start differs, withPDS_BIND_ADDRESS203.0.113.1, it served. Put back.compare.mjs --steps 30 --seed 1, each standard error naming its own value.just gatesis left to the pull'sgatesworkflow.Shortcomings
startline first, as the spec allows. Only an unparsable value must leave standard output empty.