Incorrect part name when cd-ing when within the build environment
Metadata
Current evaluation
instance_bashrc prints 'parts' instead of the real part name when cd-ing into a part build dir; caused by ${PWD#$"HOME"} quoting bug, still present at HEAD, unlabelled and unattended.
Suggested action: needs triage
Reason: The bug is confirmed still live at pinned HEAD: craft_application/misc/instance_bashrc line 19 uses `part_name=$(echo "${PWD#$"HOME"}" | cut -d "/" -f 3)`, where $"HOME" expands to the literal string HOME (not /root), so the prefix strip never matches and `cut -f 3` of /root/parts/digikam/build yields exactly the reported 'parts'. The root cause is pinpointed and the environment itself is sourced correctly, so impact is cosmetic-only. However, the issue has zero labels, zero comments and no maintainer response, so it shows no sign of having been categorised — needs_triage is the appropriate state pending a maintainer decision on whether a cosmetic shell-prompt message is worth fixing.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
25
Quick Win:
20
Complexity:
8
Confidence:
88
Actionability:
88
|
needs triage | instance_bashrc prints 'parts' instead of the real part name when cd-ing into a part build dir; caused by ${PWD#$"HOME"} quoting bug, still present at HEAD, unlabelled and unattended. | |
| qwen/qwen3.6-35b-a3b |
Impact:
20
Quick Win:
16
Complexity:
10
Confidence:
90
Actionability:
90
|
keep open | The build environment shell script incorrectly extracts the part name due to a typo ($"HOME" instead of $HOME), causing it to always display 'parts' instead of the actual part name. | |
| qwen/qwen3.8-27b |
Impact:
20
Quick Win:
14
Staleness:
75
Complexity:
30
Confidence:
70
Support Request:
0
|
needs triage | Shell prompt in snapcraft build --shell-after shows wrong part name ('parts' instead of 'digikam') when cd-ing into a part's build dir. Bug in craft_application/misc/instance_bashrc part-name detection. No maintainer response, no labels, 465 days since last activity. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
20
Confidence:
85
Support Request:
5
|
needs triage | Bug where cd build in snapcraft shell prints incorrect part name (parts instead of actual part name). Open, unlabelled, no maintainer comments, inactive for over a year. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
40
Confidence:
75
Support Request:
10
|
needs triage | Bug where cd build inside a snapcraft shell incorrectly reports the part name as 'parts' instead of the actual part. Unlabelled, no maintainer comments, inactive for over two years. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.