Skip to content

[Bug]: Changes tab never works for repos cloned from github #8231

Open
@metal450

Description

@metal450

Is there an existing issue for the same bug? (If one exists, thumbs up or comment on the issue instead).

  • I have checked the existing issues.

Describe the bug and reproduction steps

I'm running OpenHands via the recommended Docker setup, plus mapping the workspace to a folder on the host system.

  • The "Changes" tab always shows "Your current workspace is not a git repository. Ask OpenHands to initialize a git repo to activate this UI" (there is definitely a repo there)
  • The logs show frequent messages like GET /api/conversations/75e98ef4d0044697bd457446897aa297/git/changes HTTP/1.1" 404 Not Found

I asked the agent if it could see the repo, and it ran git config --global --add safe.directory /workspace. After that it worked.

It seems this tab should show a clearer message if the repo needs to be marked as "safe", and ideally give a button/option to do so. Additionally, if not marked as safe, it shouldn't continuously log 404s.

OpenHands Installation

Docker command in README

OpenHands Version

0.36.0

Operating System

Linux

Logs, Errors, Screenshots, and Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions