← Back to issue list

Show link to full execution logs when `rockcraft pack --debug` enters debug session

View original Github issue

Metadata

Project
rockcraft
Number
#421
Type
issue
State
open
Author
ca-scribner
Labels
Created
2023-11-28 14:18:15+00:00
Updated
2025-08-15 15:12:53+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done When `rockcraft pack --debug` exits in error, provide the user with the link to the full execution log before landing the user in the debug session. ### Why it needs to get done The current state looks like this: ``` rockcraft pack --debug 'override-prime' in part 'backend' failed with code 1. Launching shell on build environment... root@rockcraft-katib-ui-on-amd64-for-amd64-19746510:~/project# ``` The user has no context as to what happened. If they then type `exit` and complete the rockcraft session, they're provided with: ``` 2023-11-28 09:13:41.104 Full execution log: '/home/scribs/.local/state/rockcraft/log/rockcraft-20231128-091052.127801.log' ``` This log would be convenient to have when they hit the debug session. Otherwise they don't know what they're debugging, and the logical solution is to run the command once, `exit`, read the log, then relaunch the debug session

Evaluation history

No evaluation history available.