fix(ssh): detect fish prompts without timeout fallback#1622
Conversation
|
@jasperan is attempting to deploy a commit to the General Action Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe changes implement buffered prompt detection in the shell prompt wait mechanism to handle prompts split across multiple PTY data chunks. This fixes delayed prompt recognition for fish shell connections, eliminating the 15-second timeout delay. New tests validate prompt detection when contextual prefixes and prompt tokens arrive in separate chunks. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Looks great, thanks for addressing this. |
Summary
ptyIpcinit pathFixes #1597
Test Plan
pnpm exec vitest run src/main/utils/__tests__/waitForShellPrompt.test.ts src/test/main/ptyIpc.test.tspnpm run type-checkSummary by CodeRabbit
Bug Fixes
Tests