rtk-ai/rtk

RTK is parsing `rspec` default output as json, when it is not.

Open

#1,506 建立於 2026年4月24日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Rust (2,914 fork)batch import
area:clibugeffort-smallfilter-qualitygood first issuepriority:low

倉庫指標

Star
 (48,085 star)
PR 合併指標
 (平均合併 11天 1小時) (30 天內合併 45 個 PR)

描述

Error:

⏺ Bash(cd ~/dev/chopin && bundle exec rspec redacted/path/to/my_spec.rb --no-color 2>&1 | grep -E "examples|Failure|passe…)
  ⎿  [rtk] rspec: JSON parse failed (expected value at line 1 column 1), using text fallback

Claude says:

⏺ RTK tries parse rspec output as JSON. Default rspec formatter = progress (text), not json. Fallback works but noisy.

  Options:
  - Ignore warning. Text fallback fine.
  - Run raw: rtk proxy bundle exec rspec ...
  - Force JSON: bin/rspec --format json ... (RTK parse success)
  - File RTK bug: formatter autodetect should skip JSON parse when --format not json.

貢獻者指南