Remote build fails on dangling symlinks
Metadata
Current evaluation
remote-build crashed with shutil.Error on dangling symlinks because worktree copytree used default symlinks=False. Fixed by merged PR #1104 (commit 8256b7a2), which passes ignore_dangling_symlinks=True to copytree; released in 7.1.1.
Resolution: closed resolved
Reason: Merged PR #1104 ('fix(remote-build): ignore dangling symlinks'), commit 8256b7a2, changed craft_application/remote/worktree.py init_repo() to call copytree(self._project_dir, self._repo_dir, ignore_dangling_symlinks=True), so broken symlinks are skipped instead of raising shutil.Error.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | remote-build crashed with shutil.Error on dangling symlinks because worktree copytree used default symlinks=False. Fixed by merged PR #1104 (commit 8256b7a2), which passes ignore_dangling_symlinks=True to copytree; released in 7.1.1. | |
| stealth/space-bunny-alpha | — | closed resolved | Remote builds with dangling symlinks were fixed by merged craft-application PR #1104, which skips broken symlinks during work-tree copying for version 7.1.1. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Remote-build crashes during project directory copying when dangling symlinks are present, causing a shutil.Error. No fix or follow-up was provided. | |
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
50
Quick Win:
42
Staleness:
65
Complexity:
15
Confidence:
70
Support Request:
0
|
needs triage | Remote build fails on dangling symlinks due to copytree not handling them. Issue has no maintainer response or labels after 71 days. Related PR #1100 was closed without merging. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
40
Complexity:
30
Confidence:
90
Support Request:
0
|
needs triage | Remote build fails with shutil.Error when project contains dangling symlinks. Reported by maintainer 26 days ago with clear reproduction steps and traceback, but currently unlabelled and awaiting triage. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
40
Complexity:
35
Confidence:
95
Support Request:
5
|
needs triage | remote-build fails when copying project directories containing dangling symlinks, raising a shutil.Error during repository initialization. Unlabelled, 14 days old, awaiting maintainer triage. |
Update history
| Date | Change |
|---|---|
| closed |
Related work
-
Likely Fixed By:
canonical/craft-application#1104
(confidence 95%)
Merged PR fixing the issue; commit 8256b7a2 adds ignore_dangling_symlinks=True to the worktree copytree call, shipped in version 7.1.1.
-
Related To:
canonical/craft-application#721
(confidence 70%)
Open issue 'Don't follow symlinks for remote-builds'; broader request that worktree copying not follow symlinks and handle copy failures. Only the dangling-symlink skipping from #1104 landed.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1104 fix(remote-build): ignore dangling symlinks | craft-application | merged | Merged PR #1104 (commit 8256b7a2) makes remote-build copy the work tree with ignore_dangling_symlinks=True, fixing #1103. Merge conflicts resolved and changelog entry shipped under 7.1.1. | |
| #721 Don't follow symlinks for remote-builds | craft-application | open | Remote-build worktree copy still follows symlinks and has no try/except around copytree, so copy failures bubble up as internal errors. Only dangling-symlink skipping (PR #1104) landed. | |
| #1100 fix(remotebuild): allow building projects with dangling symlinks | craft-application | closed | PR #1100 by mr-cal fixed remote builds failing on dangling symlinks, but was closed unmerged in favour of @bepri's PR #1104, which merged the same fix for #1103 in craft-application 7.1.1. |