← Back to issue list

snap config: catch more errors when config cannot be retrieved

View original Github issue

Metadata

Project
snapcraft
Number
#3974
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged in #3974 (commit 3a1ed84d5), broadening snap configuration error handling to catch additional retrieval failures identified after #3971.

Resolution: closed resolved

Reason: PR #3974 was approved and merged, with commit 3a1ed84d5 recording the fix. It followed #3971 by handling another snap-config retrieval error so Snapcraft no longer crashes when configuration cannot be obtained.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [X] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [X] Have you successfully run `make lint`? - [X] Have you successfully run `pytest tests/unit`? ----- Follow up to https://github.com/snapcore/snapcraft/pull/3971 to catch another error reported [here](https://forum.snapcraft.io/t/call-for-testing-snapcraft-7-2-0/32171/27).

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in #3974 (commit 3a1ed84d5), broadening snap configuration error handling to catch additional retrieval failures identified after #3971.
stealth/space-bunny-alpha — closed resolved Merged in #3974 (3a1ed84d5), broadening snap config error handling to catch additional retrieval failures after #3971.
stealth/space-bunny-alpha — closed resolved Merged in #3974 (commit 3a1ed84d5), broadening snap configuration error handling to catch additional retrieval failures after #3971.
qwen/qwen3.6-35b-a3b — — Merged improvements to snap configuration error handling. Follows up on PR #3971 to catch additional retrieval failures reported by users. Approved by one reviewer, passed CI checks, and updated four files (+30/-10).
qwen3.6-35b-a3b-mtp-q6 — — Merged error handling improvements for snap configuration retrieval. The change catches additional exceptions to prevent crashes, addressing a forum-reported issue and following PR #3971.

Update history

No update history recorded yet.

Related work

  • Related To: snapcore/snapcraft#3971 (confidence 99%)

    Earlier merged change that began handling snap-config retrieval failures without crashing.

Related issues

Issue Project State Summary Similarity
#3971 snap config: do not crash when config cannot be retrieved snapcraft merged Merged PR #3971 as commit 1aec6c84b, preventing Snapcraft from crashing when snap config retrieval fails because snapd is unavailable in Docker.
77%
#497 fix(config): warn on snapctl errors craft-application merged Merged in PR #497 as commit 940d8ac0, adding a warning when snapctl cannot connect to snapd while reading Snap configuration.
71%