LSP cleanup on uninstall ignores recorded LSP targets and fails with 'No harness detected'
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
Research direction
Start in install/lsp/integration.py and trace the uninstall cleanup path that chooses LSP targets. Compare its target resolution with the recorded lsp_target_servers in the lockfile and the apm install --target copilot case described here. Done when cleanup uses the recorded targets and succeeds without targets: or a harness signal; check the relevant lifecycle tests.
Written by the indexing model from the issue text.
Description
LSP cleanup on uninstall resolves targets from apm.yml targets: and harness detection instead of the recorded lsp_target_servers in the lockfile. A project installed only with apm install --target copilot (no targets:, no harness signal) therefore fails LSP cleanup with 'No harness detected'. Cleanup should use the targets APM recorded when it wrote the LSP entries. Owner: install/lsp/integration.py (lsp-lifecycle). Found while fixing #4045 (PR #4057).
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 430
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 285
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/apm
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
microsoft/apm#4048 · 1 comment ·
Maintainers usually reply within 1 day
-
[BUG] apm install -g ignores executables: in the user manifest, but -g --frozen honours itMay be free again A pull request for this issue was closed without being merged. Openarea/security status/accepted type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
microsoft/apm#3954 · 1 comment ·
Maintainers usually reply within 1 day
-
[BUG] apm compile reports 'Referenced file not found' for links with a #fragmentPossibly taken @bodapatisaikrishna claimed this 7 days ago. Openstatus/accepted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
microsoft/apm#3255 · 2 comments ·
Maintainers usually reply within 1 day
-
[BUG] Claude command transform drops frontmatter keys Claude Code supports on commandsPossibly taken @abhishekacharya200 claimed this 4 days ago. Openarea/multi-target status/accepted theme/portability triage/recommended type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/apm#3067 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 89/100
Maintainers usually reply within 1 day
-
DoRA magnitude vectors are not loaded by Transformers load_adapter / from_pretrained(adapter_dir)Openpost-v1
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
huggingface/peft#4208 · 1 comment ·
Maintainers usually reply within 1 day
-
approved correction metadata
Difficulty 1/5 Under an hour Newbie friendliness 76/100
acl-org/acl-anthology#10996 · 2 comments ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
gke-labs/kube-agents#6620 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ashhart/TensorFold#4150 · 3 comments ·
Maintainers usually reply within 1 day