← Back to issue list

snapcraft list-revisions requires a base in the API payload

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1904197
Type
issue
State
closed
Author
~sergiusens
Labels
Created
Updated
Closed

Current evaluation

Abandoned after 2127 days. The issue reported a crash in snapcraft list-revisions when the API returned a null base value, violating schema validation. No fix or follow-up was provided.

Suggested action:

No scores available.

Issue body

The schema documented at https://dashboard.snapcraft.io/docs/v2/en/snaps.html#snap-releases for "revisions" defines that "base" is required, but snaps with no base error as exposed on https://forum.snapcraft.io/t/snapcraft-list-revisions/21110, extracted here: $ snapcraft list-revisions kubelet Sorry, an error occurred in Snapcraft: None is not of type 'string' Failed validating 'type' in schema['properties']['revisions']['items']['properties']['base']: {'introduced_at': 1, 'type': 'string'} On instance['revisions'][15]['base']: None

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Abandoned after 2127 days. The issue reported a crash in snapcraft list-revisions when the API returned a null base value, violating schema validation. No fix or follow-up was provided.
qwen/qwen3.6-35b-a3b Closed without a documented fix or resolution. The validation error in snapcraft list-revisions for snaps returning a null base field appears abandoned.
qwen3.6-35b-a3b-mtp-q6 Closed without comments or resolution. The tool crashed on snaps with a null base field due to strict schema validation. Likely abandoned or fixed by upstream API changes.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2091567 snapcraft list-revisions -h crashes snapcraft (launchpad) closed Closed four days after creation without comments or a fix. The issue was abandoned, leaving the craft_cli help command crash unresolved.
73%
#5184 Running snapcraft list-revision is giving error snapcraft closed An IndexError occurred when running snapcraft list-revisions -h. The author later noted it stemmed from an outdated version, resulting in the report being closed as invalid without a code fix.
71%