Skip to content

build.sh: uv-refresh guard compares logical vs physical paths (symlinked checkout) #5

Closed

Description

@robfrank

scripts/build.sh:525 skips the uv refresh when "$REPO_ROOT" != "$PY_BINDINGS_DIR". The two values are computed differently:

  • REPO_ROOT comes from git rev-parse --show-toplevel, a physical path.
  • PY_BINDINGS_DIR comes from cd ... && pwd, a logical path.

When the checkout is reached through a symlink, the two strings differ even though they name the same directory. The guard then lets the block run, and uv lock fails on the package's own pyproject.toml ([tool.uv] managed = false).

Proposed fix: compare pwd -P values, or test [ "$REPO_ROOT" -ef "$PY_BINDINGS_DIR" ].

Found in the final review of the move from ArcadeData/arcadedb (#1).

🤖 Generated with Claude Code

Activity

  1. added
    in progressThe team is actively working on this issue
    bugSomething isn't working
    on Oct 22, 2026
  2. self-assigned this
    on Oct 22, 2026
  3. added a commit that references this issue on Oct 23, 2026
  4. removed
    in progressThe team is actively working on this issue
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions