You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rtk init --opencode: dry-run previews an install the real run refuses, and opencode --version has no timeout #4519
rtk init -g --opencode reads opencode --version and writes nothing below the plugin's floor (1.18.29, #4187).
Dry run: the floor check is skipped there, so rtk init -g --opencode --dry-run with OpenCode 1.1.4 on PATH previews writing ~/.config/opencode/plugins/rtk.ts. The same command without --dry-run prints "OpenCode 1.1.4 is older than 1.18.29 … installed nothing". Reading the version is side-effect free, so the dry run could apply the same check.
No timeout:opencode --version runs through Command::output(). An opencode wrapper that hangs (a shim that fetches, a first-run migration) blocks rtk init with no output.
OpenCode version check is skipped on dry-run (previewing installs the real run refuses) and has no timeout, letting a hanging opencode --version block rtk init.
This looks like a simple fix that could be auto-resolved. Repo maintainers can use /wshm fix to attempt it.
📁 Relevant files
src/init/opencode.rs
src/init/mod.rs
Triaged automatically by wshm · This is an automated analysis, not a human review.
Activity
rtk-wshm-sync-bot commentedon Oct 11, 2026
🔍 Automated Triage
bugmediumSummary
OpenCode version check is skipped on dry-run (previewing installs the real run refuses) and has no timeout, letting a hanging
opencode --versionblockrtk init.📁 Relevant files
src/init/opencode.rssrc/init/mod.rsTriaged automatically by wshm · This is an automated analysis, not a human review.
cestercian commentedon Oct 12, 2026
Claiming this, will open a PR shortly.