No changes made and "No user message" found error #3130

Closed
opened 2026-02-16 17:38:46 -05:00 by yindo · 3 comments
Owner

Originally created by @ifuller1 on GitHub (Nov 26, 2025).

Description

I get this being thrown

https://github.com/sst/opencode/blob/df9952c2914c08cf57892ecdefc16ffa9ad95f2d/packages/opencode/src/session/prompt.ts#L267

I am running inside a docker container

FROM oven/bun:1 AS base

I am/have run this on two differrent environments and one seems ok and the other consistently fails. However it "sometimes" works.

The failure seemed to happen when the write was supposed to happen - so I asked it to write a testfile, which worked. But on bigger tasks it gets to the implementation part and gives up with this error.

Any debug/logging I can turn on to understand what is happening.

OpenCode version

v1.0.114

Steps to reproduce

Run colima default config on apple silicon


# Install system dependencies
RUN apt-get update && apt-get install -y \
    curl \
    ca-certificates \
    git \
    sqlite3 \
    && rm -rf /var/lib/apt/lists/*

RUN bun install -g opencode-ai@latest

# Set environment variables (override at runtime)
ENV ANTHROPIC_API_KEY=your-key-here

# Volume mounts for persistence
VOLUME ["/workspace"]

# Default command
ENTRYPOINT [ "bash", "-c" ]
CMD [ "cd /workspace && bash" ] 

run this dockerfile

run the container

ask it to make some changes

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @ifuller1 on GitHub (Nov 26, 2025). ### Description I get this being thrown https://github.com/sst/opencode/blob/df9952c2914c08cf57892ecdefc16ffa9ad95f2d/packages/opencode/src/session/prompt.ts#L267 I am running inside a docker container `FROM oven/bun:1 AS base` I am/have run this on two differrent environments and one seems ok and the other consistently fails. However it "sometimes" works. The failure seemed to happen when the write was supposed to happen - so I asked it to write a testfile, which worked. But on bigger tasks it gets to the implementation part and gives up with this error. Any debug/logging I can turn on to understand what is happening. ### OpenCode version v1.0.114 ### Steps to reproduce Run colima default config on apple silicon ```FROM oven/bun:1 AS base # Install system dependencies RUN apt-get update && apt-get install -y \ curl \ ca-certificates \ git \ sqlite3 \ && rm -rf /var/lib/apt/lists/* RUN bun install -g opencode-ai@latest # Set environment variables (override at runtime) ENV ANTHROPIC_API_KEY=your-key-here # Volume mounts for persistence VOLUME ["/workspace"] # Default command ENTRYPOINT [ "bash", "-c" ] CMD [ "cd /workspace && bash" ] ``` run this dockerfile run the container ask it to make some changes ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 17:38:46 -05:00
yindo closed this issue 2026-02-16 17:38:46 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 26, 2025):

This issue might be a duplicate of or related to existing issues. Please check:

  • #4774: Docker container fails to start due to bun dependency install issue
  • #4728: devcontainer: v1.0.110 failed
  • #4605: OpenTUI appears to not be respecting setting TMPDIR when starting up, leading to failure to initialize OpenTUI library
  • #4719: opentui: fatal: undefined is not an object (evaluating 'color.buffer')

These issues also involve opentui crashes and Docker/container-specific failures that seem to have similar failure patterns to what you're experiencing. You may find solutions or relevant debugging information there.

Feel free to ignore if your case is distinctly different.

@github-actions[bot] commented on GitHub (Nov 26, 2025): This issue might be a duplicate of or related to existing issues. Please check: - #4774: Docker container fails to start due to bun dependency install issue - #4728: devcontainer: v1.0.110 failed - #4605: OpenTUI appears to not be respecting setting TMPDIR when starting up, leading to failure to initialize OpenTUI library - #4719: opentui: fatal: undefined is not an object (evaluating 'color.buffer') These issues also involve opentui crashes and Docker/container-specific failures that seem to have similar failure patterns to what you're experiencing. You may find solutions or relevant debugging information there. Feel free to ignore if your case is distinctly different.
Author
Owner

@ifuller1 commented on GitHub (Nov 26, 2025):

I found this in the logs too


INFO  2025-11-26T10:21:00 +0ms service=file.time sessionID=ses_54051c810ffepM3CbJOFmClX1k file=/workspace/setup.sh read
INFO  2025-11-26T10:21:00 +5ms service=bus type=message.part.updated publishing
INFO  2025-11-26T10:21:00 +7ms service=bus type=message.part.updated publishing
INFO  2025-11-26T10:21:00 +2ms service=bus type=message.updated publishing
ERROR 2025-11-26T10:21:00 +1ms service=default e=undefined is not an object (evaluating 'msgWithParts.info') rejection
INFO  2025-11-26T10:21:00 +2ms service=bus type=session.updated publishing
INFO  2025-11-26T10:21:00 +2ms service=bus type=session.diff publishing

so it seems maybe not runtime specific, but environment specific (the workspace is a hello world android project)

@ifuller1 commented on GitHub (Nov 26, 2025): I found this in the logs too ``` INFO 2025-11-26T10:21:00 +0ms service=file.time sessionID=ses_54051c810ffepM3CbJOFmClX1k file=/workspace/setup.sh read INFO 2025-11-26T10:21:00 +5ms service=bus type=message.part.updated publishing INFO 2025-11-26T10:21:00 +7ms service=bus type=message.part.updated publishing INFO 2025-11-26T10:21:00 +2ms service=bus type=message.updated publishing ERROR 2025-11-26T10:21:00 +1ms service=default e=undefined is not an object (evaluating 'msgWithParts.info') rejection INFO 2025-11-26T10:21:00 +2ms service=bus type=session.updated publishing INFO 2025-11-26T10:21:00 +2ms service=bus type=session.diff publishing ``` so it seems maybe not runtime specific, but environment specific (the workspace is a hello world android project)
Author
Owner

@ifuller1 commented on GitHub (Nov 26, 2025):

sorry - this seems to have come from using colima with sshfs as the filesystem, changing to virtiofs resolved the problem.

@ifuller1 commented on GitHub (Nov 26, 2025): sorry - this seems to have come from using colima with `sshfs` as the filesystem, changing to `virtiofs` resolved the problem.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3130