repo: handle deb package fetch error
Metadata
Current evaluation
Merged after approval and CI checks. Implements graceful error handling for failed deb package fetches to prevent crashes, resolving SNAPCRAFT-JE and SNAPCRAFT-JF. Includes copyright date updates.
Suggested action: —
No scores available.
Issue body
End gracefully instead of crashing if a deb package can't be
fetched.
Fixes SNAPCRAFT-JE
Fixes SNAPCRAFT-JF
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [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 `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval and CI checks. Implements graceful error handling for failed deb package fetches to prevent crashes, resolving SNAPCRAFT-JE and SNAPCRAFT-JF. Includes copyright date updates. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Gracefully handles deb package fetch errors instead of crashing, resolving SNAPCRAFT-JE and SNAPCRAFT-JF. Passed static and unit tests with 100% diff coverage. Copyright dates updated before merge. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix that gracefully handles deb package fetch errors instead of crashing. Resolves SNAPCRAFT-JE and SNAPCRAFT-JF. Includes 100% diff coverage and updated copyright dates. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2492 store: handle invalid snap file errors | snapcraft | merged | Merged changes implementing error handling for corrupt or invalid snap files during package data extraction for signing or push. Approved by reviewer, passed CI checks, and successfully integrated to master, resolving SNAPCRAFT-GE. | |
| #2079 repo: catch error updating the package cache | snapcraft | merged | Merged. Catches apt package cache update errors like hash mismatches and host resolution failures. Fixes #2029, #2030, and LP: #1747715 by handling exceptions, clearing the index on hash failures, and allowing Snapcraft to proceed. Includes test updates. |