Skip to content

Github agent does not print stdout for failed shell commands #1399

Closed

Description

@trousev

I am happy user of github agent.

Everything works great, however, when opencode can't execute shell command for any reason it does not show stdout / stderr of failed command.

Here is what I see in action log:


I'll try to build the Dockerfile to see if it works correctly.


|  Bash     {"command":"docker build -t image-test .","description":"Build the Docker image to test if it works correctly"}
|  Read     {"filePath":"/home/runner/work/myproject/myproject/Dockerfile"}


The Docker build failed with a context cancellation error. This is likely due to a timeout or resource limitation rather than an issue with the Dockerfile itself. Let me check the Dockerfile to see if there are any obvious issues:

according to this log, The Docker build failed with a context cancellation error . However, it would be beneficial to see actual command failure, because when being run manually on same host it works fine

Activity

  1. trousev commented on Jul 29, 2025

    @trousev
    Author

    /oc maybe you can provide a fix right now?

  2. rekram1-node commented on Dec 28, 2025

    @rekram1-node
    Collaborator

    [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions