mirror of
https://github.com/open-webui/terminals.git
synced 2026-11-05 01:37:21 +00:00
[GH-ISSUE #63] TERMINALS_IDLE_TIMEOUT_MINUTES=0 is documented as "disabled" but is a 30-minute reap on the kubernetes-operator backend #31
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/terminals#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wa91h on GitHub (Sep 17, 2026).
Original GitHub issue: https://github.com/open-webui/terminals/issues/63
Version:
terminals/terminals-operator0.2.4 (unchanged onmain) · backendkubernetes-operator· installed via theterminalsHelm chart 0.7.0What happens
terminals/config.py:but
backends/kubernetes_operator.pyonly forwards the value when it is positive:so a CR created with the setting at
0has noidleTimeoutMinutes, and the operator fills the gap with 30 — twice over:manifests/terminal-crd.yamldeclaresdefault: 30/minimum: 1, andoperator/handler.pydoesspec.get("idleTimeoutMinutes", 30). Every idle-check log line reads(timeout=30). The same applies to a policy withidle_timeout_minutes: 0.Net effect: "disabled" is the one value that cannot be expressed on this backend, and because the default terminal has no PVC, the user's files are deleted 30 minutes after their last request. We ran with
0for three weeks believing pods were never reaped; every model-produced file was silently vanishing.Expected
Either of:
0means disabled all the way down — orchestrator passesidleTimeoutMinutes: 0, CRDminimum: 0, operator'sidle_checkreturns early when the value is0; or0on this backend with a clear error and the config comment says so.(1) matches the documented contract.
Workaround
Any large positive value (we use
1440with a PVC-backed policy).@owui-terminator[bot] commented on GitHub (Sep 17, 2026):
⚠️ Missing Issue Title Prefix
@wa91h, your issue title is missing a categorising prefix (e.g.
bug:,feat:,docs:).Please update the title to lead with one of:
Example:
bug: Login fails when the password contains special characters@owui-terminator[bot] commented on GitHub (Sep 18, 2026):
🔍 Related Issues Found
I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:
Both issues involve idle reaping and the meaning of
idle_timeout_minuteswhen the configured value is missing or zero. Issue #45 shows the same subsystem’s fallback behavior causing terminals to be treated as disabled/not reaped, which is closely related to the 0/disabled contract problem here.by Classic298
💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead.
This comment was generated automatically. React with 👍 if helpful, 👎 if not.