Skip to content

fix: prevent session TTL purge during active code execution#84

Merged
samcm merged 1 commit intomasterfrom
calm-lizard-114
Mar 18, 2026
Merged

fix: prevent session TTL purge during active code execution#84
samcm merged 1 commit intomasterfrom
calm-lizard-114

Conversation

@samcm
Copy link
Copy Markdown
Member

@samcm samcm commented Mar 17, 2026

Adds per-session active execution tracking to the session manager. The background cleanup loop and inline TTL checks now skip sessions that are currently running code, and the idle timer resets when execution completes.

Sessions running code could be force-removed by the background cleanup
loop if execution exceeded the TTL. Track active executions per session
and skip TTL-based expiry while code is running.
@samcm samcm merged commit 80248c8 into master Mar 18, 2026
4 checks passed
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