Skip to content

Conversation

@GregHolmes
Copy link
Contributor

  • Explain abandonment scenarios (tab close, device switch, network loss, idle, app background).
  • Document presence-based detection with multi-device tracking.
  • Cover four agent response strategies:
    • Immediate termination for expensive streaming,
    • Graceful completion for conversational AI,
    • Background continuation for long-running tasks,
    • Cost optimisation with model switching.
  • Include re-attachment handling with rewind and history for client catch-up.

GregHolmes and others added 4 commits December 12, 2025 09:41
Adds an overview page for a Sessions & Identity section which describes
the channel-oriented session model and its benefits over the traditional
connection-oriented model.
Describes how identity relates to session management and how this works
in the context of channel-oriented sessions.
- Explain abandonment scenarios (tab close, device switch, network loss, idle, app background)
- Document presence-based detection with multi-device tracking
- Cover four agent response strategies:
  - Immediate termination for expensive streaming
  - Graceful completion for conversational AI
  - Background continuation for long-running tasks
  - Cost optimization with model switching
- Include re-attachment handling with rewind and history for client catch-up
@GregHolmes GregHolmes self-assigned this Dec 15, 2025
@GregHolmes GregHolmes added the review-app Create a Heroku review app label Dec 15, 2025
@coderabbitai
Copy link

coderabbitai bot commented Dec 15, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/AIT-195-session-abandonment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ably-ci ably-ci temporarily deployed to ably-docs-feature-ait-1-odl4tv December 15, 2025 13:28 Inactive
@mschristensen mschristensen force-pushed the feature/AIT-131-session-management branch 2 times, most recently from bf0b24f to e93fbeb Compare December 16, 2025 17:02
@mschristensen
Copy link
Contributor

mschristensen commented Dec 17, 2025

Thanks for this Greg, I took a some stuff from this and included it in: #3016
In the end I felt that the scope of the page is broader than just session abandonment as we originally described in the IA, since it is all related to presence and identity and I wanted to not be prescriptive in the feature docs about what to do when a session is abandoned, as it is up to the application (although we can provide opinionated/concrete examples in a guide later, e.g. use push notifications)
I think a lot of this content is more appropriate for a guide (rather than feature docs) as it references a lot of model/agent framework functionality, so we should come back to this source material when we work on those guides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-app Create a Heroku review app

Development

Successfully merging this pull request may close these issues.

4 participants