← Back to issue list

chore(log): hide command in output when pack failed

View original Github issue

Metadata

Project
snapcraft
Number
#4434
Type
pull request
State
merged
Author
syu-w
Labels
—
Created
Updated
Closed

Current evaluation

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.

Resolution: closed resolved

Reason: PR #4434 was approved by 2 reviewers and merged, recorded as commit 71fa15744 in main, carrying CRAFT-2172 and closing bug #4413. It cherry-picks the earlier hotfix PR #4424 merged into hotfix/7.5.

Evaluated by: mr-cal-bot

No scores available.

Issue body

From hotfix: #4424 Fixes: #4413 CRAFT-2172

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved 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.
stealth/space-bunny-alpha — closed resolved Merged to main as commit 71fa15744, hiding the pack command details on snap pack failure; ports hotfix/7.5 PR #4424 and fixes #4413 (CRAFT-2172).
stealth/space-bunny-alpha — closed resolved Merged #4434 as commit 71fa15744, hiding pack command details on failure; ports hotfix #4424 and fixes #4413.
stealth/space-bunny-alpha — closed resolved Merged as 71fa15744: hides the command from failed pack output, fixing #4413. Ported from hotfix PR #4424 to main.
qwen/qwen3.6-35b-a3b — — 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.
qwen3.6-35b-a3b-mtp-q6 — — Merged into main. Resolves #4413 by hiding the command in output when packaging fails, backporting hotfix #4424. PR description updated to include all referenced issues per reviewer feedback.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: snapcore/snapcraft#4413 (confidence 95%)

    The PR body states "Fixes: #4413", the bug report about unfriendly snap pack error output.

  • Related To: snapcore/snapcraft#4424 (confidence 93%)

    Original hotfix branch PR merged into hotfix/7.5 as ec09cc07b; #4434 is its forward-port to main.

Related issues

Issue Project State Summary Similarity
#4424 chore(log): hide details error in the log when pack failed snapcraft merged Merged into hotfix/7.5 via #4424 (commit ec09cc07b), showing concise pack failures while retaining full stderr in detailed logs.
87%
#6074 chore!: remove default command snapcraft merged PR #6074 merged as db7c53f21, removing bare snapcraft packing for #5673; #6178 later reverted the change in e5aaf0683.
72%
#539 chore: log snap installation method craft-application merged Merged PR #539 added a debug message explaining why the snap installation method was selected.
71%