mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-06 08:55:40 -05:00
[GH-ISSUE #1289] [Bug] "execute_container_terminal" randomly fails to execute #3872
Reference in New Issue
Block a user
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 @bastienlc on GitHub (Mar 28, 2026).
Original GitHub issue: https://github.com/moghtech/komodo/issues/1289
Setting
komodo-core and komodo-periphery running 2.0.0 docker image
Assume a debian:bookworm container is running on "my-server":
I'm trying to execute a command on this container using an Action, specifically the
execute_container_terminalmethod of the typescript client. Thus from the UI I create an action with this content:Expected behavior
Using
bashorsh, executing the action succeeds and the following output is produced:Actual behavior
Sometimes the command is executed incorrectly, resulting in the following output:
I have not been able to pinpoint exactly what causes this behavior to occur, currently it seems random.
Initial analysis
While I'm not familiar with the komodo source code, the issue seems to stem from this snippet:
0f96794559/bin/periphery/src/api/terminal.rs (L466-L468)Edits