Repository navigation
fix: auto-continue on 'Streaming response failed' interruptions - #13
Merged
developing-today-fleet[bot] merged 3 commits intoDec 1, 2026
Merged
Conversation
…s(-)) Changed files: dist/index.d.ts.map dist/index.js dist/index.js.map 3 files changed, 3 insertions(+), 2 deletions(-)
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
developing-today-fleet
Bot
deleted the
archer/2007c-streaming-response-failed
branch
December 1, 2026 02:36
This was referenced Dec 1, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the named acceptance case in #3: the plugin never auto-continued after a "Streaming response failed" interruption because no default error pattern matched it.
Change
src/index.ts: add"Streaming response failed"toDEFAULT_ERROR_PATTERNS(Stream / timeout errors group).dist/index.js: same one-line addition in the shipped build output (dist is committed in this repo;index.js.mapis not regenerated by this contents-API edit and is refreshed by the nexttscbuild — the map does not affect runtime behaviour).One pattern added, none removed, no other behaviour touched. Matching is the existing case-insensitive substring match against
"${errorName}: ${errorMessage}", and exclude patterns are still checked first.Verification (lane 2007-C, firsthand)
Matcher oracle run against the edited pattern lists (the plugin's own
isRetryableErrorlogic):Streaming response failedviadata.message→ retryable ✓Streaming response failedviaerr.message→ retryable ✓MessageAbortedError+ streaming message → NOT retryable (exclude still wins) ✓bad request,SSE read timed out) still match ✓["Streaming response failed"]added,[]removed ✓node --check dist/index.jssyntax OK ✓Acceptance criteria: (1) failure confirmed firsthand — pattern absent on main while the interruption is named in #3's comments; (2) plugin now auto-continues on that interruption; (3) no regression per oracle above. The separate "latest opencode V2 API" question is PR #5's wholesale port and is out of scope here.
Key: 2007-C (charlie ADVANCE 2026-11-30)
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-12-01T02:33:24Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch/hatch-personal", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch/hatch-personal", "repo": "developing-today/opencode-auto-continue", "branch": "main", "sha": "7150771b9cbfda5326230b5abc6f32461a7c47ec" }, "auth_subject": "archer", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.