← Back to issue list

The parser should not fail on malformed yaml

View original Launchpad issue

Metadata

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

Current evaluation

Malformed wiki YAML entries no longer abort parsing; fixed by merged PR #636 in commit 0e3613ab4.

Resolution: closed resolved

Reason: Merged PR snapcore/snapcraft#636 resolved the report in commit 0e3613ab4 by isolating invalid YAML entries so valid entries could still be parsed.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The parser should not fail on malformed yaml but should log a warning. An errant entry in the wiki caused the parser to fail and CI to fail due to parser integration test failures.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Malformed wiki YAML entries no longer abort parsing; fixed by merged PR #636 in commit 0e3613ab4.
stealth/space-bunny-alpha — closed resolved Merged PR #636 (0e3613ab4) fixed malformed wiki handling by isolating invalid YAML entries so valid entries still parse; integration tests added a FakeServer.
stealth/space-bunny-alpha — closed stale The malformed-YAML warning request was abandoned without a documented fix. A related parser change isolated bad wiki entries, but is not confirmed as this issue's resolution.
qwen/qwen3.6-35b-a3b — — Abandoned. The request to handle malformed YAML gracefully by logging warnings instead of failing was not implemented, leaving the parser and CI integration tests unchanged.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The parser remains unchanged and continues to fail on malformed YAML, causing CI failures. No fix was merged or discussed, indicating the issue was abandoned.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#636 (confidence 100%)

    Merged parser fix for malformed wiki entries, including fake-server integration coverage.

Related issues

Issue Project State Summary Similarity
#636 parser - Handle malformed wiki entries. snapcraft merged Merged parser resilience fix for malformed wiki entries: documents are parsed independently, and integration tests use a fake server (#636, commit 0e3613ab4).
71%