Skip to content

ClaudeSkills plugin-order test fails on macOS (/var symlink) #235

Closed

Description

@henrychu04

On macOS, apps/server/src/provider/Drivers/ClaudeSkills.test.ts "merges plugin enablement and selects installs in native registry order" fails on unmodified upstream main too (checked at eb1510d).

Cause: the code resolves the workspace with realPath (on purpose, to match the Claude CLI), but the test writes the registry projectPath unresolved. TMPDIR sits under /var, which is a symlink to /private/var, so the project-scoped install never matches. This is a bug in the test only.

Workaround: TMPDIR=/private/tmp/<dir>. Also noted in docs/internals/sync.md §7.

Close when upstream fixes the test.

Activity

  1. added
    upstreamAlso in upstream, or waiting on an upstream change
    flaky-testTest that fails intermittently or only on some hosts
    on Oct 23, 2026
  2. henrychu04 commented on Oct 31, 2026

    @henrychu04
    OwnerAuthor

    Same cause on macOS: apps/server/src/vcs/GitVcsDriverCore.test.ts > "keeps generated worktree folders short without changing long branch names" fails because Git reports the worktree as /private/var/folders/... while the test expects /var/folders/.... It fails identically on coder-only 7b64141 and on the fork-audit PRs #290/#291, so it predates them.

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

    flaky-testTest that fails intermittently or only on some hostsupstreamAlso in upstream, or waiting on an upstream change

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions