atproto pds pds.zat.dev

name zds in /xrpc/_health so fingerprinters can tell it apart #100

Merged zzstoatzz.io
targeting main from health-names-zds
Merged opened by zzstoatzz.io
targeting main from health-names-zds

/xrpc/_health now answers {"version":"zds 0.25.9","status":"ok"} instead of a bare version.

pds-labeler (and anything else fingerprinting PDS software) reads the name from the front of version, the way tranquil (tranquil 0.9.1), cirrus (cirrus 0.20.2), cocoon, knot and others report themselves. a bare semver reads as the reference PDS, so zds hosts got no label.

  • body is a comptime constant now (no arena per request); a comptime check refuses a build version that would need JSON escaping
  • smoke asserts the zds prefix

cloud: zig build, zig build test, tools/smoke.sh pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QCgr8mGmr42u6bcCfEPBUD

Commits 1

fix: name zds in /xrpc/_health so fingerprinters can tell it apart
Sign up or Sign in to add to the discussion.