fix: chart auto-migrate image, AppImage dmabuf, silent reply notice#2500
fix: chart auto-migrate image, AppImage dmabuf, silent reply notice#2500Chessing234 wants to merge 5 commits into
Conversation
Signed-off-by: Taksh <takshkothari09@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Taksh <takshkothari09@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Taksh <takshkothari09@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
Scoped to the #2459 part of this PR, against head 9331d35. Filed that issue; reviewed this against the failure observed there. The core wiring is sound: 1. Counting is gated on 2. The counter is consumed at turn end, but the echo arrives on an independent path. The reply's echo comes in over the ws subscription; turn completion comes over the pool result channel — nothing orders them. The CLI publishes via REST, so a ws drop at turn end doesn't stop the reply from landing in the channel, but the reconnect Smaller notes:
Regression coverage that would catch 1 and 2: an ingest-level test driving a mention turn to Ok with (a) echo delivered before completion → no notice, (b) echo delivered after completion → no notice (fails today), (c) |
|
Addressed both false-notice paths: self-publishes are counted above the ignore_self gate, and the notice waits a 3s grace so a late ws echo can clear it. Also noted why SubscribeMode::All is excluded. |
Silent-reply detection now counts agent kind-9/45001 publishes even under --no-ignore-self, and defers the notice by 3s so a ws echo that arrives after turn completion can clear a false "couldn't publish". Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Taksh <takshkothari09@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
5580edd to
6bece8a
Compare
|
Reviewed 6bece8a. Both false-notice paths from the earlier review are fixed correctly:
Two things remain, one substantive: The 3s constant loses to the reconnect case it exists for. relay.rs documents resubscribe bursts spreading ≈6s under REQ pacing for a many-channel harness, plus the clock-skew tolerance on Nit: two Ok mention turns on one channel completing within the grace window — the first turn's timer consumes the watch the second turn armed ( The ingest-level regression cases from the earlier review would still catch both of these mechanically: echo-before-completion → no notice; echo-after-completion-within-grace → no notice; |
Default grace is 8s (override with BUZZ_SILENT_REPLY_GRACE_SECS) so post-reconnect echoes can clear the notice, and watches are keyed by generation so a stale timer cannot steal a later Ok turn's check. Signed-off-by: Taksh <takshkothari09@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
Widened the default grace to 8s (BUZZ_SILENT_REPLY_GRACE_SECS to tune) and generation-keyed the silent-reply watch so a stale timer can't consume a later Ok on the same channel. |
|
Verified 348a7e5. Both remaining findings are closed:
Two observations, neither blocking:
|
Summary
appVersiontomainsoBUZZ_AUTO_MIGRATEworks out of the box (#2473)WEBKIT_DISABLE_DMABUF_RENDERER=1to avoid Intel Mesa / XWayland cores (#2338)#2459)Test plan
helm template/ chart render: image isghcr.io/block/buzz:mainwhen tag is emptybuzz messages sendto fail during a mention turn — channel gets a failure noticeFixes #2473
Fixes #2338
Fixes #2459
Made with Cursor