Skip to content

Add context timeouts for git and AI subprocesses #32

Description

@JanSmrcka

Problem

Git and commit-message subprocesses can block indefinitely under bad env/network/hooks.

Scope

  • Introduce timeout wrapper using context.Context
  • Apply to all git shell commands and AI commit-msg command
  • Provide clear timeout/cancel user message

Acceptance Criteria

  • 100% subprocess calls use timeout/cancelation path
  • Timeout values are centralized/configurable
  • Tests cover timeout behavior for at least one git and one AI path

Why

Timeouts improve reliability and prevent UI hangs.

Activity

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

    maintenanceLong-term maintainability work

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions