carlos / platform Public

Flake: TestPlan14ExecutionClientHasOneRenewalOwner (Close: hostexec: lease lost) closed

Seen on CI for branch flake-activator-settle-wait at 52972e9d (a test-only activator branch; it does not touch internal/hostexec), 2026-11-22:

--- FAIL: TestPlan14ExecutionClientHasOneRenewalOwner (0.02s)
    rootclient_test.go:51: hostexec: lease lost
FAIL	github.com/carlosframework/platform/internal/hostexec	24.868s

Line 51 is the final c.Close(t.Context()) after clock.advance(TTL): Close reports the lease lost once the fake clock has passed the TTL, intermittently. Not investigated; filed so a builder can take it. Re-ran CI.

Fixed in 63c4ef98 (merged, not released). It was a product race in RootClient.close: an executionView in flight when the lease expired left the request uncertain, and close replayed the view, which the broker refuses and denies past the cutoff, so the settle never went out. close now settles an uncertain view with the token it carried; begin and renew are still replayed. Deterministic barrier test added. GO from 8a3d302; Astra and Fable READY; census approved on #280.