chore(log): hide details error in the log when pack failed
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into hotfix/7.5. Updates logging to show a concise error message instead of verbose stderr when snap pack fails, while preserving full stderr in logs. Minor coverage drop noted, with failing tests deemed unrelated. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4434 chore(log): hide command in output when pack failed | snapcraft | merged | Merged into main. The PR hides the command in output when packaging fails, resolving issue #4413 and CRAFT-2172. Approved by reviewers, CI passed, and description updated per feedback before final merge. | |
| #539 chore: log snap installation method | craft-application | merged | Merged. Added a debug log message to clarify why the snap installation method was selected. Approved by two reviewers, the change was integrated as a minor, fly-by contribution without formal issue tracking. |