Charmcraft crashes with internal error when uploading outside of project directory
Metadata
Current evaluation
charmcraft upload crashes with RuntimeError('Project not configured yet.') when run outside a project directory; regression in 4.x from charmlibs warning feature. PR #2497 closed as fix.
Suggested action: close stale
Reason: PR #2497 ('Fix upload crash when run outside project directory') is closed and explicitly addresses this exact RuntimeError by adding configuration checks for the unconfigured project service. The issue is 275 days old with only a bot comment as activity, and the fix has been merged, making the issue no longer applicable.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
40
Quick Win:
28.0
Staleness:
65
Complexity:
30
Confidence:
70
Support Request:
0
|
close stale | charmcraft upload crashes with RuntimeError('Project not configured yet.') when run outside a project directory; regression in 4.x from charmlibs warning feature. PR #2497 closed as fix. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
85
Complexity:
40
Confidence:
85
Support Request:
5
|
keep open | Charmcraft crashes with RuntimeError after successful upload when run outside a project directory. Triaged bug, inactive for ~230 days, awaiting fix. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
75
Complexity:
45
Confidence:
80
Support Request:
5
|
keep open | Charmcraft upload crashes with RuntimeError after successful upload when run outside the project directory. Triaged bug, inactive for ~7 months with only a Jira sync comment. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
75
Complexity:
45
Confidence:
85
Support Request:
5
|
keep open | Charmcraft v4.x crashes with RuntimeError after successful upload when run outside the project directory. Triaged bug, awaiting fix. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
70
Complexity:
30
Confidence:
85
Support Request:
5
|
keep open | charmcraft upload crashes with RuntimeError after a successful upload when run outside the project directory. Introduced in v4.x. The bug is triaged, has an internal Jira ticket, and remains unassigned after 194 days of inactivity. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
charmcraft#2497
(confidence 80%)
PR title and summary directly match this issue: 'Fixed charmcraft upload crash when run outside a project directory. Added configuration checks, unit tests, and a spread test to prevent RuntimeError when accessing an unconfigured project service.'
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2497 Fix upload crash when run outside project directory | charmcraft | closed | Fixed charmcraft upload crash when run outside a project directory. Added configuration checks, unit tests, and a spread test to prevent RuntimeError when accessing an unconfigured project service. | |
| #2707 Charmcraft confuses the current directory with the project directory when both has a charmcraft.yaml | charmcraft | open | Regression in charmcraft 4.2.1 where 'charmcraft pack -p' fails if both CWD and project directory contain charmcraft.yaml. Untriaged, 101 days old. |