Skip to content

Survive unreadable paths and name a stale tunnel - #37

Merged
daniel-rossier merged 1 commit into
mainfrom
readable-paths
Nov 26, 2026
Merged

daniel-rossier merged 1 commit into
mainfrom
readable-paths

Conversation

@daniel-rossier

Copy link
Copy Markdown
Contributor

Two failures met while checking the rebuilt project image through spear: a !run on a path the user may not traverse raised PermissionError out of the command classifier and ended the session (now refused with the reason, test in test_command_policy.py); and a dead tunnel holding :8082 made the launcher blame the VPN or the key (it now names the stale tunnel).

A !run naming a directory the user may not traverse made Path.exists
raise PermissionError inside the command classifier, and the exception
ended the chat session. The path is now refused with the reason.

A tunnel that died with the VPN keeps its port; the launcher then failed
to bind a new one and reported "is the host reachable (VPN?) and your
key authorised?". It now says the port is held by a tunnel that no
longer answers, with the holder's pid when ss can tell.
@daniel-rossier
daniel-rossier merged commit efe56c1 into main Nov 26, 2026
2 checks passed
@daniel-rossier
daniel-rossier deleted the readable-paths branch November 26, 2026 18:47
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.

1 participant