SCP formatted git source cause infinite loading when packing
Metadata
Current evaluation
Git source with SCP-style URL (github.com:user/repo) hangs forever during pull when the clone would fail, because ssh prompts for host-key confirmation in the managed instance. Untriaged, no maintainer activity for ~17 months; code path still present.
Suggested action: needs triage
Reason: No labels, no comments, no maintainer interaction in 516 days, so it has never been triaged. The bug is still reproducible in current code: GitSource._clone_new() runs git clone via process_run() (craft_parts/utils/os_utils.py:339) which pipes stdout but leaves stdin interactive, so ssh's host-key prompt ('Are you sure you want to continue connecting?') blocks forever in the managed instance instead of failing fast; the log in the issue shows exactly that prompt followed by an endless 'Pulling test'. A fix (e.g. GIT_SSH_COMMAND with BatchMode=yes or stdin=DEVNULL) is small but needs maintainer acknowledgement first.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
55
Quick Win:
35.75
Staleness:
80
Complexity:
35
Confidence:
70
Support Request:
5
|
needs triage | Git source with SCP-style URL (github.com:user/repo) hangs forever during pull when the clone would fail, because ssh prompts for host-key confirmation in the managed instance. Untriaged, no maintainer activity for ~17 months; code path still present. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
30
Confidence:
85
Support Request:
5
|
close stale | Bug where SCP-formatted git URLs cause an infinite hang during the pull stage instead of failing with a permission error. Untriaged and inactive for over a year. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
40
Confidence:
75
Support Request:
10
|
needs triage | SCP-formatted git URLs cause infinite hangs during pack instead of failing with permission errors. Unlabeled, no maintainer response, inactive for over a year. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
30
Confidence:
90
Support Request:
10
|
needs triage | SCP-formatted git URLs hang indefinitely during pack instead of failing on clone errors. Unlabeled, unassigned, and inactive for over a year. Needs triage and proper error handling implementation in the git source parser. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #933 pulling repository can hang execution indefinitely | craft-parts | open | Git source pull hangs indefinitely when repo is private/nonexistent because git prompts for credentials with no way to provide them. Reported Dec 2024, no maintainer response, no fix found in current code. |