Skip to content

docs(enterprise): document conversation lifecycle limits and 12h session cap - #718

Open
jpshackelford wants to merge 2 commits into
mainfrom
docs/conversation-lifecycle-limits
Open

docs(enterprise): document conversation lifecycle limits and 12h session cap#718
jpshackelford wants to merge 2 commits into
mainfrom
docs/conversation-lifecycle-limits

Conversation

@jpshackelford

Copy link
Copy Markdown
Member

Summary

Documents the time-based limits that govern conversation/sandbox lifetime in OpenHands Enterprise, prompted by customer questions about running conversations indefinitely and whether the idle timeout is configurable globally or per Agent Profile.

The docs previously mentioned "cleaned up due to idle timeout" but did not explain the timers or the hard maximum session duration. This clarifies the behavior without exposing any new configuration.

Changes

  • enterprise/conversations-and-sandboxes.mdx — new Conversation Lifecycle Limits section explaining:
    • Idle Time (seconds) — pauses idle conversations; activity resets the timer; paused conversations resume on next access.
    • Deletion Time (seconds) — permanently deletes paused conversations after the configured period.
    • A <Note> documenting the 12-hour hard cap on a single running session, which applies even to a continuously-active conversation and is not currently configurable.
    • A statement that these limits are deployment-wide and cannot be set per conversation or per Agent Profile.
  • enterprise/vm-install/admin-console-configuration.mdx — a <Note> under the Sandbox Configuration table cross-referencing the lifecycle page and calling out the non-configurable 12-hour cap.

Notes

  • No new configuration is exposed. The 12-hour maximum session duration (RUNTIME_MAX_SESSION_SECONDS, default 43200) remains a code/chart default and is intentionally not surfaced as an admin-console/Helm option in this change — this PR only documents existing behavior.
  • Verified against the source of truth: the idle/deletion settings map to sandbox_idle_seconds / sandbox_dead_seconds in OpenHands/OpenHands-Cloud (replicated/config.yaml → chart RUNTIME_IDLE_SECONDS / RUNTIME_DEAD_SECONDS), and the 12-hour cap is enforced in OpenHands/runtime-api cleanup.py. Agent Profile models in the SDK/enterprise expose no lifetime/session fields.

This PR was created by an AI agent (OpenHands) on behalf of the requesting user.

@jpshackelford can click here to continue refining the PR

…ion cap

Explain the configurable Idle Time and Deletion Time sandbox settings, and
document the non-configurable 12-hour maximum running-session cap. Clarify that
these limits are deployment-wide and not settable per conversation or per Agent
Profile.

Co-authored-by: openhands <openhands@all-hands.dev>
@mintlify

mintlify Bot commented Aug 12, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
all-hands-ai 🟢 Ready View Preview Aug 12, 2026, 7:24 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

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.

2 participants