Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bug: Utilizing experiment_use_tmux prevents the ability to troubleshoot Claude Code #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
bearded-bytes opened this issue May 2, 2025 · 1 comment

Comments

@bearded-bytes
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Tmux is a better option visually than using screen. To turn it on, you use the experiment_use_tmux = true option within your template.

When using this option, you are no longer to access the claude code logs located at .claude-code.log. When attempting to look at the logs, the only entries into the log file are "Attaching to existing Claude Code tmux session".

We are currently working with Anthropic on an issue related to Bedrock, where we are getting API Error: 400 Input is too long for requested model but unable to provide Anthropic with the logs due to the bug above. See Screen shot for result in attempting to cat the .claude-code.log.

Image

Relevant Log Output

coder@coder-5b6fc268-a48f-48e1-a17b-2c0c30639b34-6fb5bd54c-n7tg2:~$ cat .claude-code.log
Attaching to existing Claude Code tmux session.
Attaching to existing Claude Code tmux session.

Expected Behavior

.claude-code.log should contain claude output for debugging purposes, like it does when using screen

Steps to Reproduce

  1. create a template with claude code. Within the claude code module, include the experiment_use_tmux = true attribute
  2. Run the template and request Claude Code to perform an action
  3. Open up web terminal and cat .claude-code.log

Environment

Slim build of Coder, does not support the server subcommand.

Additional Context

No response

Copy link

github-actions bot commented May 2, 2025

✅ Coder workspace started! You can view the action logs here.

Workspace is available at: https://dev.coder.com/nicky/issue-17664

@matifali matifali transferred this issue from coder/coder May 6, 2025
@Parkreiner Parkreiner transferred this issue from coder/modules May 8, 2025
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

No branches or pull requests

1 participant