robustness polish: reviewer waitForPreview locks onto stale PR sha → ~10min spurious fallback on fresh clusters #57
Labels
No labels
bug
discussion
duplicate
enhancement
goal
help wanted
horizon:backlog
horizon:governance
horizon:mvp
invalid
operator-decision
question
roadmap
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-platform/mitosis#57
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?
Found during the agents 0.7.4 first-try-ship validation (wb-rob2). The dispatcher reviewer flow: startReview→waitForPreview locked its liveness probe onto an EARLIER PR sha and waited the full ~10min fallback before logging "preview liveness unconfirmed; running reviewer anyway" and proceeding — while the preview was actually serving 200 with the correct /version sha the whole time. Self-heals (app ships correctly), but adds a ~10min spurious delay per build on fresh/slow clusters. For sellable-grade smoothness: fix the probe to track the current PR head sha (not a stale one) and/or shorten the fallback when the preview is already 200. Non-blocking backlog polish.
Root-caused live on a fresh daughter (plat.local, agents 0.7.5): the ~10-min stall is NOT sha-locking —
probePreviewcurls--resolve <host>:443:127.0.0.1, and from the agents POD 127.0.0.1 is the pod itself, so the liveness probe gets connection-refused on every poll and every review burns the full 10-min fallback. Plain in-cluster DNS (the CoreDNS rewrite germinate writes) returns 200 with/version== head sha. Fix: plat/agents#11 — DNS-first vantage with loopback fallback (dev mode preserved). Validated from both vantages on the live daughter.plat referenced this issue2026-07-02 04:02:40 +00:00
Fixed in agents v0.7.6 (plat/agents#11 → release #13, on prod + in the genesis seed). Root cause was the loopback-only probe, not sha-locking. Validated live twice: fresh daughter reviewer engaged in seconds after a 21-min build, zero liveness-unconfirmed lines (val076 run 3, plat/mitosis#66).