remote build: stale git repositories on launchpad
Metadata
Current evaluation
New, unlabelled report documents several remote-build paths orphaning about 20,000 Launchpad git repositories and proposes a best-effort, bounded cleanup sweep; no maintainer response yet.
Suggested action: needs triage
Reason: The code confirms that cleanup runs only after normal monitoring or confirmed cancellation, while start failures, timeouts, and declined cancellation retain resources; cleanup also deletes the recipe before the repository, allowing recipe deletion errors to prevent repository deletion. The detached-build reproducer and proposed sweep are concrete, but safe stale-resource criteria need maintainer review, and the issue is new, unlabelled, and has no maintainer response.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
64
Quick Win:
19
Complexity:
62
Confidence:
93
Actionability:
78
|
needs triage | New, unlabelled report documents several remote-build paths orphaning about 20,000 Launchpad git repositories and proposes a best-effort, bounded cleanup sweep; no maintainer response yet. | |
| qwen/qwen3.8-27b |
Impact:
45
Quick Win:
13
Complexity:
55
Confidence:
80
Actionability:
65
|
needs triage | ~20k stale Launchpad git repos leak from remote-build: cleanup() only runs on success or confirmed cancel, so failed starts, recipe-delete errors, and detached builds orphan repos. Proposes best-effort sweep per build. New, unlabelled, no maintainer response. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Related To:
craft-application#249
(confidence 97%)
The open #249 enhancement covers cleaning stopped remote builds left by crashes, overlapping this leak but focusing on a user cleanup command rather than automatic bounded repository sweeping.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1206 Issue 1205 remote clean build stale repos | craft-application | open | Adds best-effort cleanup of stale Launchpad git repositories during remote builds; under review, CI title check failing and tests pending. | |
| #4481 Clean Launchpad repositories when remote-build errors are raised | snapcraft | closed | Launchpad cleanup for remote-build errors was implemented in commit 663dcdfab; the author confirmed the request was completed. |