Skip to content

feat(session): extend grace for bounded external flows - #543

Merged
linkdata merged 2 commits into
mainfrom
codex/feat/oauth-session-grace
Nov 4, 2026
Merged

linkdata merged 2 commits into
mainfrom
codex/feat/oauth-session-grace

Conversation

@linkdata

@linkdata linkdata commented Nov 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add Session.ExtendGrace(duration) for bounded external flows on a current, live session.
  • Preserve a longer grace deadline when a claimed WebSocket disconnects, while leaving other sessions on the one-minute default.
  • Document the API and cover HTTP handoff, WebSocket handoff, expiry, replacement, closure, and concurrent close.

Checks

  • go test ./... -count=1
  • go vet ./...
  • go test -race . -run TestSession_ExtendGrace -count=10

@linkdata
linkdata merged commit 432fa38 into main Nov 4, 2026
7 checks passed
@linkdata
linkdata deleted the codex/feat/oauth-session-grace branch November 4, 2026 09:18
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