← Back to issue list

Validate `base` keyword and prohibit `base: devel`

View original Github issue

Metadata

Project
snapcraft
Number
#4539
Type
issue
State
closed
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Closed as outdated after base validation evolved substantially; no implementing PR or commit was cited.

Resolution: closed stale

Reason: Maintainer mr-cal closed the task as obsolete, noting that many changes had already been made to base validation. No resolving PR, commit, or replacement issue was identified.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done If a base is provided in a `snapcraft.yaml`, it should be validated against a list of valid bases. For snapcraft 8, this is only `core22`. Note - `snapcraft_legacy` is responsible for `core20` and is not affected by this work. This may include redesigning the `get_effective_base()` utility since it considers the base and build-base. ### Why it needs to get done `base: devel` is currently accepted by snapcraft. This should not be allowed. Using other bases raises a `KeyError` exception, which is not a good UX.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale Closed as outdated after base validation evolved substantially; no implementing PR or commit was cited.
stealth/space-bunny-alpha — closed superseded Closed as obsolete after later base-validation changes, per mr-cal’s closing comment; no implementing PR or commit was cited.
qwen/qwen3.6-35b-a3b — — Superseded and closed. Maintainer noted that subsequent updates to base validation logic rendered the original requirements obsolete, eliminating the need for manual validation changes.
qwen/qwen3.6-35b-a3b — — The request to validate the base keyword and block base: devel was closed as outdated. The maintainer superseded the task, noting that base validation has already been updated through other changes.
qwen/qwen3.6-35b-a3b — — Superseded by recent base validation updates. The task to validate the base keyword and prohibit base devel was closed as outdated.
qwen3.6-35b-a3b-mtp-q6 — — Validation of the base keyword and prohibition of base: devel was closed as outdated. The maintainer noted that subsequent changes to base validation have already addressed the requirement, rendering the task obsolete.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4879 Restrict base/build-base combinations snapcraft closed Closed as outdated on 2026-01-27 after substantial changes to base validation made the original ST119 rework obsolete; no ST119-specific implementation was recorded.
71%