Cloud sessions silently terminate after ~7 days with no warning or documentation

Resolved 💬 1 comment Opened Apr 17, 2026 by Ludosis Closed May 27, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

A cloud session started approximately April 9, 2026 at ~1:00 PM was found terminated and completely removed from the session list on approximately April 16, 2026 at ~1:30 PM — almost exactly 7 days later, while the session was in active use at the time of removal.

Before disappearing, attempting to send a message produced an error indicating the session was inactive. The session then disappeared entirely from both claude.ai/code and the Claude mobile app Code tab — not visible even as an archived session. All session context that had not been committed to GitHub was unrecoverable.

Environment:

  • Plan: Pro
  • - Interface: Claude mobile app (Code tab) + claude.ai/code
  • - - Feature: Claude Code on the web (research preview)

What Should Happen?

Sessions should either persist indefinitely until manually deleted, or if a TTL exists it should be:

  1. Documented publicly
  2. Surfaced to the user as a warning before termination (e.g., "This session will expire in 24 hours. Commit your context to avoid losing work.")

The session termination should never be silent and unrecoverable.

Error Messages/Logs

Steps to Reproduce

  1. Start a cloud session via Claude Code on the web (claude.ai/code) on the Pro plan
  2. Use the session actively over multiple days
  3. After approximately 7 days, attempt to send a message in the session
  4. Observe: error indicating session is inactive
  5. Observe: session disappears entirely from the session list on both claude.ai/code and the Claude mobile app Code tab
  6. Observe: no warning was given at any point prior to termination; session is not visible even as archived

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

N/A (Claude Code on the web / research preview — not CLI)

Platform

Other

Operating System

Other

Terminal/Shell

Other

Additional Information

Impact: Significant session context and working state was lost without any opportunity to preserve it. The precision of the ~7-day timing strongly suggests an intentional TTL, but this limit is not mentioned in the Claude Code on the web documentation, the research preview notes, or the troubleshooting guide.

Related: Issue #30922 documents orphaned sessions and may be a related or downstream manifestation of the same session lifecycle management.

Note to maintainers: If this 7-day TTL is intentional rather than a bug, please see the linked Documentation Issue #50195 and Feature Request #50197 which address the undocumented behavior and missing UX warnings. Those issues are only relevant if this ticket is closed as "by design."

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗