Skip to content

termui holds lock #1556

Open
Open

Description

@lee-b

termui holds a lock while it's running, and so other invocations of git-bug complain that they can't access tickets, etc. It would be much better if git-bug termui could be used to monitor ticket changes (from AI agents running under the same account, for example) and it only attempted to acquire locks when the user is trying to edit in the UI.

Activity

  1. sudoforge commented on May 2, 2026

    @sudoforge
    Contributor

    yes, the current implementation of locking means that any time a UI is started
    (CLI, TUI, or web), the repo is locked until the process completes (generally
    speaking). this is crude and does lead to problems given certain workflows or
    assumptions, and is briefly talked about in A vision for the future of
    git-bug
    .

    this issue can serve as the source of truth for discussion around this specific
    topic.

  2. DanielJoyce commented on Jul 16, 2026

    @DanielJoyce

    Yeah, git bug is great for agentic development but this lock holds it back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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