Skip to content

feat(tui): toast non-timeout background dependency install failures (#305) - #344

Merged
agenteinstinct1-max merged 3 commits into
dev-vibecodedfrom
feat/305-install-failures
Oct 20, 2026
Merged

agenteinstinct1-max merged 3 commits into
dev-vibecodedfrom
feat/305-install-failures

Conversation

@agenteinstinct1-max

Copy link
Copy Markdown
Collaborator

Closes #305 (with #271 logging already merged).

Non-timeout background install failures were only logged. They are now collected and shown once at TUI startup as an error toast: "Plugin dependency install failed" / "Could not install @opencode-ai/plugin". Timeouts keep their existing log-only path. Waiting still completes on failure.

Tests: install failure is reported, timeout is not, success is silent; runtime toasts the failure at startup.

@github-actions

Copy link
Copy Markdown

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@kilo-code-bot

kilo-code-bot Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (6 files)
  • packages/opencode/src/config/tui.ts
  • packages/opencode/src/plugin/tui/runtime.ts
  • packages/opencode/test/cli/tui/plugin-install-failure-dialog.test.ts
  • packages/opencode/test/config/tui-dep-install.test.ts
  • packages/plugin/src/tui.ts
  • packages/tui/src/plugin/adapters.tsx

Reviewed by free · Input: 48.9K · Output: 1.9K · Cached: 128.8K

@agenteinstinct1-max
agenteinstinct1-max merged commit da03784 into dev-vibecoded Oct 20, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant