Skip to content

0.3.83: lower stale-prior threshold from 10s to 1s#8

Merged
sym-bot merged 1 commit into
mainfrom
fix/shorten-stale-window
Apr 29, 2026
Merged

0.3.83: lower stale-prior threshold from 10s to 1s#8
sym-bot merged 1 commit into
mainfrom
fix/shorten-stale-window

Conversation

@sym-bot
Copy link
Copy Markdown
Owner

@sym-bot sym-bot commented Apr 29, 2026

Fixed

Mirrors `@sym-bot/sym` v0.5.5. The 10s lastSeen-stale window from v0.3.81 was too lenient — peer restart with recent CMB hit dedup-reject path and legitimate redials died with "connection ready → immediate disconnect".

1s threshold tolerates sub-second TCP-retry races during initial handshake; peer restarts (≥1s gap between kill and re-dial) recover at application layer instead of waiting OS keepalive (~100s).

71/71 tests pass.

🤖 Generated with Claude Code

Mirrors @sym-bot/sym v0.5.5. The 10s window from v0.3.81 was too
lenient — peer-restart-with-recent-CMB hit dedup-reject path and
legitimate redials died with "connection ready → immediate disconnect".

1s tolerates sub-second TCP-retry races, lets peer restarts (≥1s gap)
recover at application layer instead of waiting OS keepalive (~100s).

71/71 unit tests pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@sym-bot sym-bot merged commit b0b8662 into main Apr 29, 2026
1 check passed
@sym-bot sym-bot deleted the fix/shorten-stale-window branch April 29, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant