Skip to content

OpenCode overwrites data in a different directory without any notification #32801

Closed as not planned

Description

@neirokoder

I work in a single repository but with multiple branches simultaneously. The branches are checked out into different directories (pkb, pkb_develop, pkb_gateway, pkb_checker, etc.).
When opening the pkb_develop directory, OpenCode opened the pkb directory and started making changes there, without any notifications, warnings, or informational windows, and with no way to know that writing was happening to a different directory. I only found out after noticing the data discrepancy.
The same thing happens with the other directories — OpenCode silently redirects everything to the first one.

Activity

  1. github-actions commented on Jun 18, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • No issue template was used. Please resubmit using one of the three required templates: Bug Report, Feature Request, or Question. Bug reports require a Description field with reproduction steps, environment info, and expected vs actual behavior.

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


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

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. github-actions commented on Jun 18, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

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