← Back to issue list

On timeout, `remote-build` should return the artifacts that have successfully finished building

View original Github issue

Metadata

Project
charmcraft
Number
#2709
Type
issue
State
open
Author
sinapah
Labels
Created
Updated
Closed

Current evaluation

Feature request for remote-build to return partially built artifacts on timeout instead of failing entirely. Untriaged, 98 days old.

Suggested action: needs triage

Reason: The issue has no labels, no maintainer response, and has been inactive for 88 days. It is a feature request to modify timeout behavior in remote-build to return partial artifacts rather than failing entirely. @MichaelThamm linked issue #2467 as related, but no maintainer has assessed or prioritized this request yet.

Impact: 60 Quick Win: 36.0 Staleness: 65 Complexity: 40 Confidence: 70 Support Request: 20

Issue body

### Check existing issues - [x] I've verified that this request isn't described by any existing issues. ### Request Remote building can sometimes be flaky due to builder availability and infrastructure stability. In most cases, AMD and ARM successfully finish packing. However, plenty of times, S390x and PPC64el take longer to complete, possibly due to runner unavailability. In such cases, it would be better if the artifacts that were successfully built are returned. ### The problem it solves Some of our release workflows rely on remote building (using `charmcraft 3.5.3`). These workflows tend to be flaky when LP is experiencing extra load. We often need to re-run these workflows multiple times. On almost all runs, the logs indicate that the build succeeded for ARM and AMD. In such cases, if we can get those artifacts and release them, we can probably hold off on S390x and PPC64el builds. This ensures we release the charms to Charmhub faster and reduces the number of retries, easing pressure on LP.

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 60
Quick Win: 36.0
Staleness: 65
Complexity: 40
Confidence: 70
Support Request: 20
needs triage Feature request for remote-build to return partially built artifacts on timeout instead of failing entirely. Untriaged, 98 days old.
qwen/qwen3.6-35b-a3b
Staleness: 45
Complexity: 60
Confidence: 90
Support Request: 10
needs triage Feature request to have remote-build return successfully completed architecture artifacts instead of failing completely on timeout. Currently unlabelled and awaiting maintainer triage.
qwen3.6-35b-a3b-mtp-q6
Staleness: 45
Complexity: 45
Confidence: 90
Support Request: 10
needs triage Feature request to modify remote-build to return successfully completed architecture artifacts instead of failing entirely on timeout, reducing workflow flakiness. Currently unlabelled and awaiting maintainer assessment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 25
Complexity: 60
Confidence: 85
Support Request: 10
needs triage Feature request to modify remote-build to return successfully completed artifacts on timeout instead of failing entirely, reducing workflow retries and easing infrastructure load. Currently unlabelled and awaiting maintainer assessment.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/charmcraft#2467 (confidence 80%)

    Linked by @MichaelThamm; #2467 requests --build-for flag for selective architecture builds, which could complement this partial-artifact-on-timeout feature by allowing users to build only critical architectures.

Related issues

No related issues found above the similarity threshold.