← Back to issue list

uv plugin breaks juju debug-code

View original Github issue

Metadata

Project
charmcraft
Number
#2288
Type
issue
State
open
Author
PietroPasotti
Labels
Created
Updated
Closed

Current evaluation

uv plugin's dispatch script prevents juju debug-code breakpoints from being hit; reporter suspects the injected dispatch script is the cause. Open 14 months, no maintainer response, no labels, no reproduction logs beyond a screenshot.

Suggested action: needs triage

Reason: The issue is a genuine bug report (not a support request) with a clear reproduction path (juju deploy parca-k8s --channel edge; juju debug-code parca-k8s/0), but it has no labels, no maintainer acknowledgement, and no assignee after 14 months. The reporter's own comment (2025-05-15) suspects the dispatch script injected by the uv plugin, which aligns with the code in charmcraft/parts/plugins/_uv.py and charmcraft/charm_builder.py where the dispatch mechanism is handled. The uv plugin was added in #2050 and has been actively developed since, so the issue is still relevant to the current codebase. It needs triage to determine whether the uv plugin's dispatch handling differs from the charm plugin in a way that breaks debug-code breakpoints.

Impact: 40 Quick Win: 18.0 Staleness: 85 Complexity: 55 Confidence: 55 Support Request: 10

Issue body

### Bug Description You see the event emission logs in the tmux shell, but the breakpoint is never hit: ![Image](https://github.com/user-attachments/assets/492db3ec-3b4c-47a3-8ce5-c165d03051f8) ### To Reproduce juju deploy parca-k8s --channel edge juju debug-code parca-k8s/0 ### Environment charmcraft-version: 3.4.6 charmcraft-started-at: '2025-05-08T12:59:39.311725+00:00' bases: - name: ubuntu channel: '24.04' architectures: - amd64 analysis: attributes: - name: language result: unknown - name: framework result: unknown ### charmcraft.yaml ```yaml https://github.com/canonical/parca-k8s-operator/blob/main/charmcraft.yaml ``` ### Relevant log output ```shell n/a ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 40
Quick Win: 18.0
Staleness: 85
Complexity: 55
Confidence: 55
Support Request: 10
needs triage uv plugin's dispatch script prevents juju debug-code breakpoints from being hit; reporter suspects the injected dispatch script is the cause. Open 14 months, no maintainer response, no labels, no reproduction logs beyond a screenshot.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 60
Confidence: 70
Support Request: 10
close stale uv plugin interferes with juju debug-code breakpoints, likely due to dispatch script injection. Open for 14 months with no maintainer response or reproduction logs.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 55
Confidence: 65
Support Request: 20
close stale Bug report where the uv plugin prevents juju debug-code breakpoints from hitting due to a modified dispatch script. Issue is over a year old with no maintainer engagement or resolution.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 40
Confidence: 55
Support Request: 20
needs triage Unlabelled bug report where uv plugin breaks juju debug-code breakpoints. Author suspects dispatch script injection is the cause. No maintainer response or labels in over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 40
Confidence: 65
Support Request: 15
close stale uv plugin breaks juju debug-code breakpoints, likely due to its injected dispatch script. Open for over 300 days with no labels or recent activity. Requires triage and assignment to investigate the plugin debugger interaction.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/charmcraft#2050 (confidence 80%)

    PR that added the uv plugin to charmcraft; the dispatch script behavior introduced here is what the reporter suspects is breaking debug-code.

Related issues

No related issues found above the similarity threshold.