Skip to content

fix(sse): restore the reselectedProxy declaration dropped by the #14659 merge - #14865

Merged
diegosouzapw merged 2 commits into
release/v3.8.51from
fix/opencode-reselected-proxy-decl
Sep 25, 2026
Merged

diegosouzapw merged 2 commits into
release/v3.8.51from
fix/opencode-reselected-proxy-decl

Conversation

@diegosouzapw

Copy link
Copy Markdown
Collaborator

Summary

The release-merge conflict resolution done during the #14659 rework (squash 3d8a9a2) kept both uses of reselectedProxy in OpencodeExecutor but dropped its declaration. On the current tip open-sse/executors/opencode.ts fails tsc with TS2304 and a proxy-less opencode dispatch (account.proxy ?? reselectedProxy) throws ReferenceError at runtime.

Validation

  • Red on the tip: opencode-429-pool-reselect 0/6 (ReferenceError). Green with this change: 6/6, plus opencode-proxy-refusal-memory 12/12.
  • tsc -p open-sse/tsconfig.json: 0 errors in opencode.ts (2x TS2304 on the tip); check:open-sse-typecheck OK; check-file-size green; eslint clean on the touched files.

… merge

The release-merge conflict resolution for #14659 kept both uses of
reselectedProxy in OpencodeExecutor but dropped its declaration, so
open-sse/executors/opencode.ts failed tsc (TS2304) and a proxy-less
dispatch threw ReferenceError at runtime. Restore the declaration and
reset the refusal memory between the pool-reselect cases, since
PROXY_SKIP_RECENTLY_FAILED is now on by default (#14688).

opencode-429-pool-reselect: 0/6 on the broken tip, 6/6 with the fix.
…de-reselected-proxy-decl

# Conflicts:
#	config/quality/file-size-baseline.json
@diegosouzapw
diegosouzapw merged commit 8cecd0a into release/v3.8.51 Sep 25, 2026
8 of 11 checks passed
@diegosouzapw
diegosouzapw deleted the fix/opencode-reselected-proxy-decl branch September 25, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant