carlos / platform Public

edge-held-first-ping-432

Held streams: first heartbeat at one tick, not two (#432 follow-up)

Seen on dev after v0.33.7 (platform-6e's roll check): a held stream's first : ping arrived at +50 s instead of +25 s; later pings were on time. The tick handler judged due-ness against the timer's fire time; the edge's own commit had set lastWrite a few microseconds after the timer started, so the first tick read as not due and the next <= 0 fallback re-armed a full Tick.

Fix: due-ness is judged against the current clock; once due, the ping is written and the next tick armed a full Tick from that write. The G4 reopen backstop still runs on every tick; no heartbeat inside a passed-through answer.

Test: TestHeldFirstPingAtOneTick (Tick 200 ms) failed before the fix (first ping at 402.7 ms) and passes after; held tests -count=3 and the lifecycle simulation pass. Census: internal/edge envelope re-pin only (proposal edge-held-first-ping). Astra review of the fix and the envelope.

Commits 2
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity