Skip to content
This repository was archived by the owner on Sep 2, 2026. It is now read-only.
This repository was archived by the owner on Sep 2, 2026. It is now read-only.

Allow large managed worktree creation beyond fixed 30-second process timeout #1030

Description

@chubes4

Problem

Creating a managed Homeboy worktree repeatedly times out after exactly 30 seconds before registration:

wp --url=https://extrachill.com --path=/var/www/extrachill.com datamachine-code workspace worktree add homeboy fix-12719-sharded-test-enforcement --from=origin/main --skip-bootstrap --task-url=https://github.com/Extra-Chill/homeboy/issues/12719

Result:

Error: Process command timed out after 30 second(s).

The failure reproduces with --skip-bootstrap, --allow-stale, and a locally refreshed origin/main. No directory, Git worktree entry, or DMC handle remains afterward. The repository has a large history and its managed primary was substantially stale before the remote ref refresh.

Expected

  • Worktree creation uses an operation-appropriate configurable timeout rather than a fixed 30-second child-process ceiling.
  • Timeout failures identify the phase that exceeded budget.
  • Partial Git/DMC state is cleaned or reconciled deterministically.

Discovered while fixing Extra-Chill/homeboy#12719.

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