← Back to issue list

remote build: If a build with the given name already exists, ask the user whether to recover it or cancel it.

View original Github issue

Metadata

Project
craft-application
Number
#248
Type
issue
State
open
Author
lengau
Labels
Status: Triaged Type: Enhancement
Created
Updated
Closed
—

Current evaluation

Triaged enhancement remains open: remote-build has explicit --recover but no same-name choice to recover an existing Launchpad build or cancel and replace it; the service currently deletes/recreates a found recipe.

Suggested action: keep open

Reason: The maintainer-authored issue has Status: Triaged and Type: Enhancement labels, and its trigger and intended choices are explicit. In current code, the command branches only on --recover, while RemoteBuildService._ensure_recipe deletes an existing recipe and creates a replacement without prompting; the body’s statement that it simply errors no longer exactly matches the implementation.

Evaluated by: mr-cal-bot

Impact: 50 Quick Win: 16 Complexity: 61 Confidence: 91 Actionability: 84

Issue body

### What needs to get done When starting a new remote build, if there already exists a remote build with the same name (meaning the same project), ask the user if they want to recover the build or cancel it and create a new build. ### Why it needs to get done Currently we simply error out in this situation.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 50
Quick Win: 16
Complexity: 61
Confidence: 91
Actionability: 84
keep open Triaged enhancement remains open: remote-build has explicit --recover but no same-name choice to recover an existing Launchpad build or cancel and replace it; the service currently deletes/recreates a found recipe.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 13
Complexity: 40
Confidence: 75
Actionability: 70
keep open Enhancement to prompt user to recover or cancel when a remote build with the same name already exists, instead of silently overwriting.
qwen/qwen3.8-27b
Impact: 40
Quick Win: 22
Staleness: 55
Complexity: 45
Confidence: 70
Support Request: 0
keep open Enhancement: when starting a remote build whose name already exists, prompt the user to recover or cancel-and-recreate instead of erroring. Triaged by a maintainer; last activity 215 days ago, no fix in code yet.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 20
Confidence: 80
Support Request: 10
close stale Enhancement to prompt users to recover or cancel existing remote builds with duplicate names instead of failing. Currently triaged but inactive for over five months.
qwen3.6-35b-a3b-mtp-q6
Staleness: 55
Complexity: 25
Confidence: 80
Support Request: 0
keep open Enhancement to prompt users to recover or restart an existing remote build instead of erroring out. Triaged and awaiting implementation.

Update history

No update history recorded yet.

Related work

  • Related To: craft-application#294 (confidence 90%)

    Commit 50602c06 made remote builds reuse an existing Git repository instead of crashing, but did not add same-name recipe recovery.

Related issues

Issue Project State Summary Similarity
#621 remote build: `--recover` looking for the wrong repository craft-application open Remote-build recovery looks for a personal Launchpad repository instead of a project-scoped repository, breaking --recover for builds inside a Launchpad project. The bug is triaged and remains open.
70%