← Back to issue list

Cant build snaps with snapcraft when snap store is down

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1921397
Type
issue
State
open
Author
~bugraaydogar
Labels
craft-3
Created
Updated
Closed

Current evaluation

Snapcraft blocks snap rebuilds when the Snap Store is unreachable, forcing developers to use a /run/.containerenv workaround; reporter suggests snapcraft should proceed with the build. Untriaged, 0 comments, last activity ~3.4 years ago.

Suggested action: needs triage

Reason: The issue has 0 comments, no assignee, and no maintainer response in ~5.4 years, with only the area label craft-3, so it shows no sign of having been assessed or prioritized. The related Launchpad bug 1869506 (snapcraft crashes offline) was fixed by handling missing store responses, but that is a distinct crash, not this build-blocking concern, so I cannot confirm the reported behavior is resolved. A maintainer needs to verify whether modern snapcraft still blocks builds when the store is down.

Impact: 45 Quick Win: 18.0 Staleness: 80 Complexity: 60 Confidence: 55 Support Request: 15

Issue body

Hi, As a snap developer, when there is a problem with Snap Store connection, it is not possible to re-build the snaps with `snapcraft` command. Snapcraft always tries to connect and get/check updates from the store and when the store connection is broken, it blocks all development cycle. As a workaround, a snap developer could use; `sudo touch /run/.containerenv` Although, it could be an expected behaviour to check if there are some updates from the store, in case of connection issues (assuming already have required packages), snapcraft should proceed the operation.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 45
Quick Win: 18.0
Staleness: 80
Complexity: 60
Confidence: 55
Support Request: 15
needs triage Snapcraft blocks snap rebuilds when the Snap Store is unreachable, forcing developers to use a /run/.containerenv workaround; reporter suggests snapcraft should proceed with the build. Untriaged, 0 comments, last activity ~3.4 years ago.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 15
close stale Snapcraft fails to build when the Snap Store is unreachable due to mandatory network checks. The report is over five years old with no maintainer response or comments.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 10
close stale snapcraft fails to build snaps when the Snap Store is unreachable due to forced connection checks. Issue is 5+ years old with no maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 10
close stale Reports snapcraft failing to build when Snap Store is unreachable due to forced update checks. No maintainer response in over 3 years. Workaround exists.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 25
Confidence: 85
Support Request: 15
close stale snapcraft fails builds when the Snap Store is unreachable due to forced update checks. Developers request graceful fallback to proceed if dependencies are met. The issue remains open with no comments and over 1700 days of inactivity.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#1869506 (confidence 55%)

    Launchpad bug 'snapcraft crashes if machine not connected to internet', closed/fixed by handling missing store responses; same store-connectivity theme but a crash rather than the build being blocked.

Related issues

Issue Project State Summary Similarity
#1789206 cannot rebuild snapcraft snapcraft (launchpad) closed Closed without resolution. The request to enable snapcraft self-rebuilding via build caching was abandoned due to prolonged inactivity and lack of implementation.
71%