Skip to content

test: load GitCheckout in worktree cleanup patch equivalence smoke #1007

Description

@chubes4

Problem

Running the standalone test suite from main fails in tests/worktree-cleanup-patch-equivalence.php because the test loads WorkspaceActiveNoSignalCleanup.php without loading its GitCheckout dependency.

Reproduction

php tests/worktree-cleanup-patch-equivalence.php
PHP Fatal error: Uncaught Error: Class \"DataMachineCode\\Workspace\\GitCheckout\" not found
... inc/Workspace/WorkspaceActiveNoSignalCleanup.php:1142

Expected

The standalone smoke test loads all required production classes and reaches its assertions. tests/worktree-prune-linked-primary.php already demonstrates the required inc/Workspace/GitCheckout.php bootstrap include.

Context

Discovered while running the full standalone suite for #1006. This failure is unrelated to the public run-artifact refactor.

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