Improved error message for 'version' specific cases (type error and bad length)
Metadata
Current evaluation
Merged PR #2497 in commit 6daaf2804, improving validation errors for non-string version values and versions with invalid lengths.
Resolution: closed resolved
Reason: PR #2497 was approved and merged as commit 6daaf2804, implementing clearer schema errors for the two version-validation failure cases.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Fixes LP:1815812
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2497 in commit 6daaf2804, improving validation errors for non-string version values and versions with invalid lengths. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2497 improved error messages for version fields with incorrect types or invalid lengths, fixing LP:1815812. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged into master after reviewer approval and passing CI checks. Improves error handling for version-specific type and length errors, resolving LP:1815812. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to resolve Launchpad bug LP:1815812. Improves error messages for version validation type errors and bad length. Code coverage upload failed, but changes were accepted and merged by maintainer facundobatista. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #429 Error message for invalid versions is misleading | rockcraft | closed | Fixed in commit 7955ba06 by replacing the name-specific validation error with an accurate message for invalid version values. | |
| #1815812 Totally misleading error on non-string version | snapcraft (launchpad) | closed | Fixed misleading validation for non-string versions via merged PR snapcore/snapcraft#2497 (commit 6daaf2804), which added clearer type- and length-specific errors. |