Stream beets imports over HTTP.

test(server): use synctest for health cache TTL and timeout checks #41

Merged glerp.sullen.net
targeting main from glerp.sullen.net/goosefoot:test/hygiene-server-health
Merged opened by and assigned to glerp.sullen.net
targeting main from glerp.sullen.net/goosefoot:test/hygiene-server-health

Summary #

  • Replace wall-clock time.Sleep and short millisecond timeout workarounds in /health cache TTL and timeout tests with deterministic testing/synctest virtual time (synctest.Test) using realistic production durations (30s TTL and DefaultHealthTimeout).
  • Add concurrent cold-cache /health coverage verifying simultaneous requests query Runner.Version once without data races.
  • Decode and assert complete /health JSON response payloads (status, exact version.String(), beets_version, error, omitempty omissions, and Content-Type).
  • Replace abbreviated identifiers (srv, req, rec, contextErr) with full descriptive names.
Commits 0