mirror of
https://github.com/open-webui/terminals.git
synced 2026-11-05 01:37:21 +00:00
[GH-ISSUE #60] bug: Resources are not recreated after deletion #33
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#33
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 @joshhuyn on GitHub (Sep 16, 2026).
Original GitHub issue: https://github.com/open-webui/terminals/issues/60
I've noticed that unclean deletions of resources will result in said resources not being recreated.
So if I have an active session on openwebui and want to use openterminal, it will create a pod which openwebui connects to.
If the pod is deleted (either via a manual deletion through kubectl or if the node where the pod is on dies and restarts) it will not be recreated and openwebui will continue trying to reconnect to that deleted pod.
I was able to "fix" said behavior and will create a PR with the fix and will link it to this issue.
Although I have used claude.ai to fix the problem which should be visible in the commit history.
I unfortunately lack the experience in the python lib that is used and in the exact workings of how the operator and orchestrator works which is why my commit is 100% vibe coded.
I have skimmed over the commit but my lack of experience inhibits my judgement if everything is up to code and 100% logical.
The PR could perhaps be used as a base for a better implementation.
@owui-terminator[bot] commented on GitHub (Sep 16, 2026):
⚠️ Missing Issue Title Prefix
@joshhuyn, 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 16, 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:
This is also about lifecycle/reconciliation of terminal resources and missing cleanup logic, though for deleted users rather than deleted pods. It may share the same orchestrator/reaper code path or resource-state handling that determines whether terminal resources are created or removed.
by scetu
💡 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.