chore(log): hide details error in the log when pack failed
Metadata
Current evaluation
Merged into hotfix/7.5 via #4424 (commit ec09cc07b), showing concise pack failures while retaining full stderr in detailed logs.
Resolution: closed resolved
Reason: PR #4424 was merged into hotfix/7.5 and recorded as commit ec09cc07b. The change replaces verbose snap pack errors with a concise failure message while preserving stderr in logs.
Evaluated by: mr-cal-bot
No scores available.
Issue body
The error will looks like this instead of long stderr output.
```
Command '['snap', 'pack', '--check-skeleton', PosixPath('/root/prime')]' returned non-zero exit status 1.
Failed to execute pack in instance.
```
The stderr output will be saved in the logs.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged into hotfix/7.5 via #4424 (commit ec09cc07b), showing concise pack failures while retaining full stderr in detailed logs. | |
| stealth/space-bunny-alpha | — | closed resolved | PR #4424 merged into hotfix/7.5 as commit ec09cc07b, showing concise snap pack failures while preserving full stderr in logs. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged into hotfix/7.5 via #4424, later recorded as commit ec09cc07b. Snap pack failures now show concise errors while full stderr remains in logs. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged into hotfix/7.5. Replaces verbose stderr output on snap pack failures with concise error messages, while preserving full stderr in logs. Approved by three reviewers. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into hotfix/7.5. Replaces verbose stderr output with a concise error message during snap pack failures, while preserving full stderr in logs. Minor coverage drop accepted. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#4434
(confidence 85%)
Commit 71fa15744 contains the equivalent log-suppression change on the mainline.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4434 chore(log): hide command in output when pack failed | snapcraft | merged | Merged into main as 71fa15744. Ported the 7.5 hotfix #4424 (ec09cc07b) to fix #4413: snap pack failures no longer dump the full command/stdout to the terminal, printing a concise error instead. |