Experimental offline mode fails with network present
Metadata
Current evaluation
Snapcraft's experimental --offline mode crashes with 'NoneType' object is not subscriptable in snaps.py when network is present, and lacks graceful failover. Reported ~4.8 years ago with no maintainer response; the offline feature was only ever added as a warning-only experimental flag.
Suggested action: close stale
Reason: The issue is 1755 days old with zero comments, no labels, and a deactivated reporter account, and the offline feature it targets was only ever merged as a warning-only experimental flag (PR #3577: 'triggers a warning and performs no actions until offline behavior stabilizes'), while the companion implementation PR #3571 '[WIP] offline' was abandoned and closed unmerged. The code paths in the traceback (build_providers/_snap.py, repo/snaps.py) have been substantially reworked since, so the original problem is no longer reproducible in current versions.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
25
Quick Win:
11.25
Staleness:
90
Complexity:
55
Confidence:
68
Support Request:
10
|
close stale | Snapcraft's experimental --offline mode crashes with 'NoneType' object is not subscriptable in snaps.py when network is present, and lacks graceful failover. Reported ~4.8 years ago with no maintainer response; the offline feature was only ever added as a warning-only experimental flag. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
40
Confidence:
90
Support Request:
15
|
close stale | Experimental offline mode crashes with a NoneType error when network is present. Issue is 4.7 years old, has zero comments, and targets outdated Ubuntu versions. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
45
Confidence:
90
Support Request:
15
|
close stale | Experimental offline mode crashes with a TypeError when network is present but assets aren't cached. Issue is 4.5 years old, has zero maintainer interaction, and targets an outdated snapcraft version. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
45
Confidence:
90
Support Request:
10
|
close stale | Experimental offline mode crashes with a TypeError when network is present. The issue is 4.5 years old, has zero comments, and lacks maintainer engagement, indicating the feature or codebase has likely changed significantly. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
45
Confidence:
80
Support Request:
10
|
close stale | Experimental offline mode in snapcraft crashes with a TypeError when network is present but assets aren't cached. Issue is 4.6 years old with no maintainer response or activity. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/snapcraft#3577
(confidence 80%)
Merged PR that added the experimental --offline CLI flag; it only warns and performs no actions, so the offline behavior described in this issue was never actually implemented.
-
Related To:
canonical/snapcraft#3571
(confidence 70%)
Companion '[WIP] offline' PR that was abandoned and closed without review or merge, indicating the offline feature work was dropped.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3577 cli: add experimental --offline option (CRAFT-480) | snapcraft | merged | Merged into master, adding an experimental --offline CLI flag to Snapcraft. The flag currently triggers a warning and performs no actions until offline behavior stabilizes. Approved by two reviewers and passed CI checks. |