provision: files-healthy warm-up race persists at the margin — per-probe logging, 6-min budget, and a transition-tolerant e2e leg (drive 011116Z) #556
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#556
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What breaks
Drive
20260815T011116Z— the deepest run of the arc (#554's gate proven: doors answered on probe 2/120, certs issued AND harvested) — red atfiles-healthyAGAIN despite #552's warm-up re-probe being wired (payload rebuilt 01:10,main.go:632→whole_composition.go:189verified at origin/main). The S5 row stoodFiles & documents FAILED … could not assert anything about this response (empty or below the body-size floor).Why this can't be diagnosed from the harvest — and the timing that makes it a razor's edge
The droplet journal shows the co-host stack came up at ~01:20:23–01:20:32 (redis, cron timer, php-fpm ready). The drive died ~01:22. The check's 18×10s ≈ 3-min budget, anchored somewhere between the control-plane restarts (01:17:52 / 01:18:14 / 01:18:17) and switch completion, concludes within seconds of fpm-ready — and the check logs nothing per-probe, so the harvest cannot say when it started, when it concluded, or what its final probe saw. The body floor is NOT the issue (20 B vs ~150 B healthy status.php — verified). An empty body through the public door is most plausibly Caddy's default-empty 502 while nginx/fpm are still starting.
Fix directed (three parts)
productionServiceWarmup, compose.go): the measured warm-up tail on a 2vCPU droplet is ~2.5–3 min from switch-start; a budget that equals the thing it's absorbing is a coin flip. 6 min still fails honestly on a truly dead service, well inside the leg's ceiling.expectFilesHealthy(provision.ts:352) throws the instant it sees a standing failure block, but with re-probe + Retry semantics a FAILED→healthy transition is legitimate; the leg should poll the row across a bounded horizon (~the same warm-up budget) and only throw on a failure that is still standing at the end.Evidence
test-results/drive-droplet/20260815T011116Z/logs/droplet-journal.txt: nextcloud units 01:20:23–:32;systemctl --failedempty at harvest.234251Z(pre-#552), where the stack provably came up 20 s after the check quit.id.<apex>AND apex answered on probe 2/120 this run — #554's gate transformed the finish leg; cert store harvested for the first time (next same-slug drive orders zero).Frontier tooth of #492. files-healthy has NEVER passed on the public path — every prior cause was real and distinct (#527 auth exempt, #529 port collision, #536 silence, #552 one-shot); this closes the remaining timing + observability gap.
swarm-claim host=matou-dev-server-01 run=6503
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #556 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope
localhost:9000, never the mesh serve port — the render sets a flat"app.address"TOML key instead ofsettings.app.address#1308document-archive-healthy: a REST delete only SOFT-deletes in Paperless — the check's own cleanup leaves its fixture in the trash, where it keeps its checksum and refuses every later consume as a duplicate while search reports the archive clear #1332