Skip to content

Bound session and update lock waits#701

Merged
ryanfowler merged 1 commit into
mainfrom
fix-session-and-update-lock
Jun 2, 2026
Merged

Bound session and update lock waits#701
ryanfowler merged 1 commit into
mainfrom
fix-session-and-update-lock

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • Added a short bounded wait for session saves so a stuck lock now returns a timeout error instead of hanging forever.
  • Added a bounded update-lock wait for explicit self-updates, capped by the request timeout when present and otherwise by a fixed limit.
  • Kept nonblocking auto-update checks unchanged and documented the new behavior in AGENTS.md.

Testing

  • cargo fmt
  • cargo clippy --locked --all-targets --all-features -- -D warnings
  • cargo test --all-features
  • cargo test --all-features --test cli --test formatting --test grpc --test http --test network --test terminal --test update --test websocket -- --test-threads=1

@ryanfowler ryanfowler enabled auto-merge June 2, 2026 20:10
@ryanfowler ryanfowler merged commit 0eb25fc into main Jun 2, 2026
4 checks passed
@ryanfowler ryanfowler deleted the fix-session-and-update-lock branch June 2, 2026 20:14
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