Skip to content

[Fix] API requests hang indefinitely on VS Code 1.122.0+#383

Merged
edelauna merged 3 commits into
mainfrom
release/v3.55.1
May 29, 2026
Merged

[Fix] API requests hang indefinitely on VS Code 1.122.0+#383
edelauna merged 3 commits into
mainfrom
release/v3.55.1

Conversation

@roomote

@roomote roomote Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

Opened on behalf of Elliott de Launay. View the task or mention @roomote for follow-up asks.

Related GitHub Issue

Closes: #381
Closes: #382

Description

This branch cuts v3.55.1 from v3.55.0 and ships the already-merged ripgrep fix from PR #248 so Zoo Code no longer hangs on VS Code 1.122.0+ after the @vscode/ripgrep-universal rename.

It also updates the Marketplace-facing release notes for the hotfix across the localized README.md files, fixes the malformed </details> closing tag in the README language sections, and removes the unused release-image step from .roo/commands/release.md so future release prep matches the current process.

Test Procedure

  • Run mise exec -- pnpm --dir src exec vitest run services/ripgrep/__tests__/index.spec.ts
  • Push release/v3.55.1 and let the repo pre-push typecheck suite pass
  • Note that apps/web-roo-code is no longer present in this repository, so the task wrapper's web-app check is stale and was not runnable here

Pre-Submission Checklist

  • Issue Linked: This PR is linked to an approved issue (see "Related GitHub Issue" above).
  • Scope: My changes are focused on the linked issue (one major feature/fix per PR).
  • Self-Review: I have performed a thorough self-review of my code.
  • Testing: New and/or updated tests have been added to cover my changes (if applicable).
  • Documentation Impact: I have considered if my changes require documentation updates (see "Documentation Updates" section below).
  • Contribution Guidelines: I have read and agree to the Contributor Guidelines.

Screenshots / Videos

Not applicable for this extension runtime hotfix and Marketplace README/i18n follow-up.

Documentation Updates

  • No documentation updates are required.
  • Yes, documentation updates are required.

Updated the Marketplace-facing README.md, refreshed the localized locales/*/README.md release notes for v3.55.1, and removed the unused release-image step from .roo/commands/release.md.

Additional Notes

The branch contains the existing ripgrep fix commit from PR #248 plus the generated v3.55.1 version and changelog updates.

Get in Touch

Opened via Roomote on behalf of Elliott de Launay.

@roomote roomote Bot added the roomote:auto-resolve-conflicts Allow Roomote to auto-resolve merge conflicts for this PR label May 28, 2026
@roomote

roomote Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor Author

No actionable issues found. See task

  • Restore the </details> closing tag alignment in README.md so the Marketplace README renders correctly.
  • platform-unit-test (windows-latest) completed successfully in Code QA Roo Code.
  • platform-unit-test (ubuntu-latest) completed successfully in Code QA Roo Code.

Comment thread README.md Outdated
@codecov

codecov Bot commented May 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@edelauna
edelauna marked this pull request as ready for review May 28, 2026 12:09
@roomote

roomote Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor Author

Fixed in ea7f921: restored the README </details> alignment and refreshed the localized v3.55.1 Marketplace README notes across locales/*/README.md. The targeted ripgrep regression test still passes, and PR checks are running on the updated branch.

@edelauna edelauna left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, reviewed - not approving since don’t want to merge into main

@edelauna
edelauna enabled auto-merge May 29, 2026 12:46
@edelauna
edelauna added this pull request to the merge queue May 29, 2026
Merged via the queue into main with commit 45088a7 May 29, 2026
10 checks passed
@edelauna
edelauna deleted the release/v3.55.1 branch May 29, 2026 13:16
zephg pushed a commit to zephg/Zoo-Code that referenced this pull request Jun 24, 2026
Brings in:
- chore: prepare v3.56.0 release (Zoo-Code-Org#398)
- fix: API requests hang indefinitely on VS Code 1.122.0+ (Zoo-Code-Org#383)
- feat: add Claude Opus 4.8 support across Anthropic, Bedrock, and Vertex (Zoo-Code-Org#386)
- Show Zoo Code in outbound provider activity logs (Zoo-Code-Org#219)

Conflict resolutions and adjustments below.

Anthropic Opus 4.8 (packages/types/src/providers/anthropic.ts)
--------------------------------------------------------------
Kept our effort-array shape from 64fc5fc (supportsReasoningEffort:
[low, medium, high, xhigh, max], default "high", requiredReasoningEffort:
true). Discarded upstream's binary supportsReasoningBudget +
supportsReasoningBinary shape -- the local fork uses effort-based
reasoning across all Anthropic Opus 4.x models (foundation: fd93c5b).

Vertex Opus 4.8 (packages/types/src/providers/vertex.ts)
--------------------------------------------------------
Upstream's verbatim Vertex 4.8 entry would emit a 400 in our codebase:
unlike Bedrock, Vertex has no provider-side adaptive-thinking guard, so
the registry shape alone decides the request payload. With
supportsReasoningBudget: true, our getAnthropicReasoning() would emit
{ thinking: { type: "enabled", budget_tokens } } -- which Opus 4.8
rejects.

Converted Vertex 4.8 to the same effort-array shape as our Anthropic 4.8
so the helper hits the adaptive/effort branch and emits
{ thinking: { type: "adaptive" }, output_config: { effort: "high" } }.

The pre-existing Vertex Opus 4.7 entry still uses the legacy budget
shape (also broken on the API). That's a known follow-up from fd93c5b
and intentionally out of scope for this merge.

Vertex provider (src/api/providers/anthropic-vertex.ts)
-------------------------------------------------------
Dropped upstream's explicit getAnthropicProviderReasoning() call in
getModel() and the associated import. Our getModelParams({format:
"anthropic"}) already returns params.reasoning via the unified
getAnthropicReasoning helper (post-fd93c5bde), so the explicit call
would duplicate the wiring and lose user-chosen efforts (upstream's
call site omits reasoningEffort).

Bedrock (src/api/providers/bedrock.ts, packages/types/src/providers/bedrock.ts)
------------------------------------------------------------------------------
Took upstream verbatim. The Bedrock provider has its own
isAdaptiveThinkingModel guard that overrides the request payload
regardless of registry shape, so the budget-shape registry entries are
fine here.

Tests (src/api/providers/__tests__/anthropic.spec.ts)
-----------------------------------------------------
Rewrote four upstream-added Opus 4.8 tests that asserted the
budget/binary shape to mirror our existing 4.7 effort-shape tests:
- "should use adaptive thinking ..." -> assert output_config.effort: "high"
- "should omit thinking when reasoning disabled" -> replaced with
  "should always emit adaptive thinking (reasoning is required)"
- "should preserve custom maxTokens" -> replaced with
  "should honor user-chosen effort" (matching our 4.7 pattern)
- "should handle Claude Opus 4.8 model correctly" -> assert
  supportsReasoningEffort array, default "high", requiredReasoningEffort

Verification
------------
- pnpm -w check-types: 11/11 packages clean
- pnpm -w test: 22 failures, all pre-existing in reasoning.spec.ts and
  model-params.spec.ts (matches MEMORY baseline from fd93c5b fixture
  drift). Zero new failures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

roomote:auto-resolve-conflicts Allow Roomote to auto-resolve merge conflicts for this PR

Projects

None yet

2 participants