refined-dusk-88261
08/06/2025, 8:01 PM...
Initialized conversation install-1f9a045999e68fce
...
Pausing the agent...
^C⚠️ Session was interrupted: interrupted
^CException ignored in: <module 'threading' from '/Users/seven/.pyenv/versions/3.12.1/lib/python3.12/threading.py'>
Traceback (most recent call last):
File "/Users/seven/.pyenv/versions/3.12.1/lib/python3.12/threading.py", line 1593, in _shutdown
atexit_call()
File "/Users/seven/.pyenv/versions/3.12.1/lib/python3.12/concurrent/futures/thread.py", line 31, in _python_exit
t.join()
File "/Users/seven/.pyenv/versions/3.12.1/lib/python3.12/threading.py", line 1147, in join
self._wait_for_tstate_lock()
File "/Users/seven/.pyenv/versions/3.12.1/lib/python3.12/threading.py", line 1167, in _wait_for_tstate_lock
if lock.acquire(block, timeout):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt:
Previously I got an answer to use -n flag, but it doesn't work
❯ openhands -n install-1f9a045999e68fce
OpenHands CLI v0.51.1
Initialized conversation install--080fc66b55856ab
Let's start building!
What do you want to build?
Loading previous conversation. Type /help for helprefined-dusk-88261
08/06/2025, 8:01 PM> /status
Conversation ID: install--080fc66b55856ab
Uptime: 0h 2m 19s
┌───────────────────────────────────────────────────────────────────────────────────| Usage Metrics |───────────────────────────────────────────────────────────────────────────────────┐
│ Total Cost (USD): $0.000000 │
│ │
│ Total Input Tokens: 0 │
│ Cache Hits: 0 │
│ Cache Writes: 0 │
│ Total Output Tokens: 0 │
│ │
│ Total Tokens: 0 │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
>little-architect-38123
08/07/2025, 8:39 AM❯ openhands -n install-1f9a045999e68fce
The session ID that is loaded:
Initialized conversation install--080fc66b55856ab
This code introduced in setup.py 2 weeks ago seems to be the cause of this behavior:
# Limit total session ID length to 32 characters for Kubernetes compatibility:
# - 'openhands-runtime-' (18 chars) + session_id (32 chars) = 50 chars
# - Leaves 13 chars for suffixes like '-svc' (4), '-pvc' (4), '-ingress-code' (13)
if len(session_name) > 16:
# If session_name is too long, use first 16 chars + 15-char hash for better readability
# e.g., "vscode-extension" -> "vscode-extensio-{15-char-hash}"
session_id = f'{session_name[:16]}-{hash_str[:15]}'
else:
# If session_name is short enough, use it + remaining space for hash
remaining_chars = 32 - len(session_name) - 1 # -1 for the dash
session_id = f'{session_name}-{hash_str[:remaining_chars]}'
return session_id[:32] # Ensure we never exceed 32 characters
Source: PR #9877: Add configurable runtime support for issue resolver and fix: Kubernetes pod naming limits
Restore the generate_sid function as it was before and it should work. @calm-artist-7206 you might want to take a look at this.calm-artist-7206
08/07/2025, 9:26 AM-n installcalm-artist-7206
08/07/2025, 9:28 AMlittle-architect-38123
08/07/2025, 9:28 AMcalm-artist-7206
08/07/2025, 9:32 AMlittle-architect-38123
08/07/2025, 9:33 AMlittle-architect-38123
08/07/2025, 9:33 AMlittle-architect-38123
08/07/2025, 9:49 AMcalm-artist-7206
08/07/2025, 9:58 AMlittle-architect-38123
08/07/2025, 9:59 AMlittle-architect-38123
08/07/2025, 10:01 AM