Skip to content

Live-test setup can't build a home that offers No project #998

Closed

Description

@Jacksondr5

Upstream offers "No project" threads only when the server's base dir isn't inside a Git checkout (ManagedProjectFolders.ts: the scratch root is <baseDir>/scratch, or none inside a repository). scripts/j5/setup-agent-live-test.ts always puts the test home at <worktree>/.j5code/live-test and refuses paths outside .j5code, so a live test through the script can never reach No project.

Found while live-testing #539. The tester had to start vp run dev --home-dir by hand, outside the script.

A fix: let the script take a disposable home outside the worktree, for example under a configured root, while keeping its refusal of the live install and of real data.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions