Skip to content

fix(pnpm): list command not working - #1239

Merged
FlorianBruniaux merged 1 commit into
rtk-ai:developfrom
KuSh:fix-pnpm-list
Apr 13, 2026
Merged

FlorianBruniaux merged 1 commit into
rtk-ai:developfrom
KuSh:fix-pnpm-list

Conversation

@KuSh

@KuSh KuSh commented Apr 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

rtk pnpm list fails to parse the json output:

❯ rtk -vvv pnpm list
[RTK:DEGRADED] pnpm list parser: JSON parse failed: invalid type: sequence, expected struct PnpmListOutput at line 1 column 0
pkg:16 ^0

Output format struct doesn't seem to have changed during the last 7 years

Test plan

  • cargo fmt --all && cargo clippy --all-targets && cargo test
  • Manual testing: rtk <command> output inspected
❯ ../rtk/target/debug/rtk -vvv pnpm list
pnpm list (Tier 1: Full JSON parse)
pkg:51 ^0

Signed-off-by: Nicolas Le Cam <niko.lecam@gmail.com>

@FlorianBruniaux FlorianBruniaux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — clean fix, tests pass.

@FlorianBruniaux
FlorianBruniaux merged commit 9be5cc2 into rtk-ai:develop Apr 13, 2026
11 checks passed
@KuSh
KuSh deleted the fix-pnpm-list branch April 13, 2026 09:03
thehoff pushed a commit to thehoff/contextcrawler that referenced this pull request May 14, 2026
thehoff pushed a commit to thehoff/contextcrawler that referenced this pull request May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants