← Back to Kontasks
Committed Reconnect Fix
Committed and pushed the console-streaming.ts fix to GitHub
Output
✅ Committed & Pushed
Commit Details
| Hash | 3e771e4 |
| Branch | main |
| Files | konui/src/console-streaming.ts (+7 lines) |
Commit Message
Fix: Prevent reconnect race condition after successful stream completion When a long-running turn completes and displays timing info, the browser can fire an error event when the stream closes. Previously, this would trigger reconnectWithEventSource() even though the stream completed normally, causing the UI to get stuck in "RECONNECTING..." state. The fix checks the streamComplete flag in the catch block - if the stream already finished normally, we ignore the spurious error instead of attempting to reconnect.
Push Status
✓ Pushed to github.com:KonnectTechnology/konnector.git
35a75da..3e771e4 main → main
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
vibetools
Tags
gitbug-fixconsole
Created
6 Jan 2026, 2:45 am
Updated
6 Jan 2026, 2:45 am
Timing
⏱️ 43.9s
0 tools
● TTFE 0%
● Thinking 100%
● Tools 0%
Created By
claude
Raw Data
{
"id": "cbd1602c-49f0-467b-b979-550737c63ab9",
"type": "general",
"status": "completed",
"title": "Committed Reconnect Fix",
"description": "Committed and pushed the console-streaming.ts fix to GitHub",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:sans-serif;\">\n<h2 style=\"color:#22c55e;margin:0 0 16px 0;\">✅ Committed & Pushed</h2>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#fff;margin:0 0 12px 0;\">Commit Details</h3>\n<table style=\"width:100%;border-collapse:collapse;\">\n<tr><td style=\"color:#7f848e;padding:4px 12px 4px 0;width:80px;\">Hash</td><td style=\"color:#61afef;font-family:monospace;\">3e771e4</td></tr>\n<tr><td style=\"color:#7f848e;padding:4px 12px 4px 0;\">Branch</td><td style=\"color:#98c379;\">main</td></tr>\n<tr><td style=\"color:#7f848e;padding:4px 12px 4px 0;\">Files</td><td style=\"color:#e0e0e0;\">konui/src/console-streaming.ts (+7 lines)</td></tr>\n</table>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#fff;margin:0 0 12px 0;\">Commit Message</h3>\n<pre style=\"background:#1a1a1a;padding:12px;border-radius:4px;overflow-x:auto;color:#e0e0e0;font-size:0.85em;margin:0;line-height:1.6;white-space:pre-wrap;\">Fix: Prevent reconnect race condition after successful stream completion\n\nWhen a long-running turn completes and displays timing info, the browser\ncan fire an error event when the stream closes. Previously, this would\ntrigger reconnectWithEventSource() even though the stream completed\nnormally, causing the UI to get stuck in \"RECONNECTING...\" state.\n\nThe fix checks the streamComplete flag in the catch block - if the stream\nalready finished normally, we ignore the spurious error instead of\nattempting to reconnect.</pre>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;\">\n<h3 style=\"color:#fff;margin:0 0 12px 0;\">Push Status</h3>\n<p style=\"color:#22c55e;margin:0;\">✓ Pushed to <code style=\"background:#3d3d3d;padding:2px 6px;border-radius:3px;\">github.com:KonnectTechnology/konnector.git</code></p>\n<p style=\"color:#9ca3af;margin:8px 0 0 0;\">35a75da..3e771e4 main → main</p>\n</div>\n</div>",
"requestedAt": "2026-01-06T01:17:00.000Z",
"requestId": "3d22a53b-3400-40b7-8666-509d8f05f14d",
"choices": [
{
"label": "Continue working",
"value": "What should we work on next?",
"primary": true
},
{
"label": "View backlog",
"value": "Show me the VIBE.md backlog"
},
{
"label": "Done for now",
"value": "That's all for this session"
}
],
"turnTiming": {
"totalMs": 43941,
"ttfeMs": 64,
"thinkingMs": 43877,
"toolExecutionMs": 0,
"toolCallCount": 0,
"thinkingPct": 100,
"toolsPct": 0,
"ttfePct": 0
}
},
"createdBy": "claude",
"createdAt": "2026-01-05T16:45:13.449Z",
"updatedAt": "2026-01-05T16:45:19.167Z",
"requestId": "3d22a53b-3400-40b7-8666-509d8f05f14d",
"scope": "vibetools",
"tags": [
"git",
"bug-fix",
"console"
],
"targetUser": "claude"
}