summary field should be allowed more than 78 characters
Metadata
Current evaluation
Closed as a duplicate of #1568, where the summary validation limit was raised from 78 to 200 characters; proposed PR #1585 was closed unmerged.
Resolution: closed superseded
Reason: Maintainer lengau explicitly closed #1440 as a duplicate of #1568 because it had a concrete user case and was already being fixed. The duplicate issue subsequently resolved the 78-character validation failure.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### Bug Description
In Charmcraft 3, we limit the summary field to 78 characters. This isn't a hard limit and should be accompanied by a warning, not an error.
### To Reproduce
1. Clone https://git.launchpad.net/charm-k8s-mattermost
2. `charmcraft pack`
### Environment
Charmcraft 3 (edge). 2.x works correctly.
### charmcraft.yaml
```shell
n/a
The relevant metadata: https://git.launchpad.net/charm-k8s-mattermost/tree/metadata.yaml
```
### Relevant log output
```shell
2023-12-12 18:33:55 Error executing google:ubuntu-22.04-64:tests/spread/charms/k8s-operator:mattermost (dec121824-590611) :
-----
+ cd charm
+ charmcraft pack --verbose
Starting charmcraft
Logging execution to '/root/.local/state/charmcraft/log/charmcraft-20231212-183355.317355.log'
Bad charmcraft.yaml content:
- ensure this value has at most 78 characters (in field 'summary')
Full execution log: '/root/.local/state/charmcraft/log/charmcraft-20231212-183355.317355.log'
-----
.
2023-12-12 18:33:55 Restoring google:ubuntu-22.04-64:tests/spread/charms/k8s-operator:mattermost (dec121824-590611)...
2023-12-12 18:33:58 Error restoring google:ubuntu-22.04-64:tests/spread/charms/k8s-operator:mattermost (dec121824-590611) :
-----
+ rm -f '/root/*.charm'
+ pushd charm
/charmcraft/tests/spread/charms/k8s-operator/charm /charmcraft/tests/spread/charms/k8s-operator
+ charmcraft clean
Bad charmcraft.yaml content:
- ensure this value has at most 78 characters (in field 'summary')
Full execution log: '/root/.local/state/charmcraft/log/charmcraft-20231212-183358.335364.log'
-----
.
2023-12-12 18:33:58 Discarding google:ubuntu-22.04-64 (dec121824-590611)...
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | Closed as a duplicate of #1568, where the summary validation limit was raised from 78 to 200 characters; proposed PR #1585 was closed unmerged. | |
| stealth/space-bunny-alpha | — | closed superseded | Closed as a duplicate of #1568, which was subsequently resolved. PR #1585 proposed raising the limit to 200 characters but was closed unmerged. | |
| stealth/space-bunny-alpha | — | closed superseded | Closed as a duplicate of canonical/charmcraft#1568; the summary limit was raised from 78 to 200 characters, and proposed PR #1585 was closed unmerged as already resolved. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as a duplicate of #1568. The maintainer marked the hard 78-character limit on the summary field as a bug to be fixed soon, noting the referenced issue contains a concrete use case. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as a duplicate of #1568. The 78-character summary validation error will be fixed in the referenced issue, which covers the same behavior and includes a concrete user case. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as a duplicate of #1568. The maintainer marked this issue as superseded, noting the summary field length restriction will be resolved in the referenced issue, which includes a concrete use case and an upcoming fix. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as a duplicate of #1568. The summary field validation error for lengths exceeding 78 characters will be resolved alongside the referenced issue, which addresses the same constraint with a concrete use case. |
Update history
No update history recorded yet.
Related work
-
Duplicate Of:
canonical/charmcraft#1568
(confidence 100%)
The maintainer's closing comment explicitly identified #1568 as the replacement.
-
Related To:
canonical/charmcraft#1585
(confidence 95%)
Proposed raising the summary limit to 200 characters, but was closed unmerged.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1597 fix: adjust max summary length | charmcraft | merged | Merged PR #1597 in commit ac159e49, raising the summary limit from 78 to 200 characters and documenting the recommendation to keep summaries shorter. | |
| #1598 Linter to warn if the summary field is over 78 characters | charmcraft | open | Requested summary-length warning remains unimplemented: summaries are capped at 200 characters, and no checker warns above 78; only an automated Jira-sync comment exists. |