Skip to content

Activation fails when an agent folder symlinks to a path outside the sparse checkout #80360

Done

Description

@Janpot

In v1.2.2 (same code in v1.3.1), the activation job's "Save agent config folders for base branch restoration" step fails when .agents/ or .claude/ contain symlinks whose targets live elsewhere in the repository:

Error: ENOENT: no such file or directory, stat '/home/runner/work/mui-public/mui-public/.agents/skills/mui-renovate-fix'

.agents/skills/mui-renovate-fix links to ../../skills/mui-renovate-fix. The checkout before that step is sparse (.github .agents .claude .codex .gemini .pi), so the target isn't on disk when save_base_github_folders.sh resolves it. Links that stay inside the agent folders (e.g. .claude/skills/x → ../../.agents/skills/x) work.

Run: https://github.com/mui/mui-public/actions/runs/45162928676

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions