← Back to issue list

The parser should fail gracefully if the index can't be found/accessed.

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1591204
Type
issue
State
closed
Author
~joetalbott
Labels
—
Created
Updated
Closed

Current evaluation

Graceful handling for YAML and network errors was delivered in snapcore/snapcraft#1045 after being reported here.

Resolution: closed resolved

Reason: The reporter linked snapcore/snapcraft#1045 as the implementation of the requested exception handling. The linked PR is direct evidence of the resolution, though its merge status was not verified from available records.

Evaluated by: mr-cal-bot

No scores available.

Issue body

* If the index that's passed is not YAML the yaml parser exception should be caught and handled. * If the host's DNS can't be resolved or the host can't be reached the urllib exception should be   caught and handled.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Graceful handling for YAML and network errors was delivered in snapcore/snapcraft#1045 after being reported here.
stealth/space-bunny-alpha — closed resolved Parser error handling was improved for invalid YAML and inaccessible remote indexes. PR snapcore/snapcraft#1045 was merged into master.
stealth/space-bunny-alpha — closed stale Closed without resolution: the request for graceful YAML and network/DNS error handling in index parsing was abandoned, with no resolving PR or commit identified.
qwen/qwen3.6-35b-a3b — — Abandoned and closed without resolution. The request to gracefully handle YAML parsing and network/DNS errors during index access was not implemented.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The request to catch and handle YAML and urllib exceptions for graceful failure was not addressed, likely abandoned due to age and zero discussion.
qwen/qwen3.6-35b-a3b — — Closed without implementation or discussion. The request to handle YAML parsing and network/DNS failures gracefully was abandoned due to prolonged inactivity.
qwen3.6-35b-a3b-mtp-q6 — — Closed without implementation. The request to catch YAML parsing and network exceptions for graceful failure handling was abandoned.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#1045 (confidence 90%)

    The sole issue comment identifies this PR as the implementation of the requested graceful YAML and network-error handling.

Related issues

Issue Project State Summary Similarity
#1602394 [parser] Return error codes for YAML and parsing errors snapcraft (launchpad) closed Parser now returns a nonzero status for YAML/wiki errors via merged snapcore/snapcraft#658 (commit bda3b100e); fallback reuse of prior origins was deferred.
72%