Skip to content

[Bug]: Fail to open a file from the diff because the project is inside a git repository subfolder #6166

Description

@arturo-source

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Ask the agent to write some file.
  2. Open the diff view on the right side.
  3. Click the name of the edited file.

Result:

Failed to read workspace file 'frontend/Dockerfile' in '/home/arturo/code/zima/frontend'.

Keep in mind that the git repository is in /home/arturo/code/zima, but I set /home/arturo/code/zima/frontend as a "Project" in T3 Code.

Expected behavior

The file (absolute path) /home/arturo/code/zima/frontend/Dockerfile should be open in T3 Code's editor.

Actual behavior

The error shows up.

Failed to read workspace file 'frontend/Dockerfile' in '/home/arturo/code/zima/frontend'.

Impact

Major degradation or frequent failure

Version or commit

Version 0.0.33

Environment

Ubuntu/Linux appimage

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

Open the T3 Code "Project" in the same folder as the git repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions