Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

upstream: provider/security fixes not yet ported

オープン
#1,478 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
5/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
aws, typescript
領域
ai, backend, security

調査の方向性

This is a maintainer tracking issue, not a single change. The first queued item is in packages/opencode/src/mcp/index.ts: getAuthStatus should call auth.getForUrl rather than auth.get, so auth status is scoped to the configured server URL. The SSE cancel fix is in the stall watchdog in provider.ts. Done means the linked upstream fix is ported with a regression test, and the tracker checkbox is ticked.

索引モデルが issue の本文から書いたものです。

説明

Tracking issue for the weekly upstream security/provider fix port. Fork base: OpenCode v1.17.9 (#964, frozen 2026-07-18). Upstream reviewed through v1.18.35. Scope: fixes in packages/opencode/src/{provider,session,tool,mcp,auth,plugin}, packages/core and AI SDK provider bumps.

Run 2026-10-14

Ported
  • anomalyco/opencode#30022: bind MCP OAuth callback server to IPv4 loopback (security). Ported in #1476 (closes #1474)
  • anomalyco/opencode#37770: OpenAI default header timeout 10s -> 5min (spurious aborts). Ported in #1477 (closes #1475)
Covered by an open fork PR (skipped)
  • anomalyco/opencode#46903: generic 5min default header timeout. Covered by #1426 (#1424)
  • Upstream stall/idle classification + retry of stalled model requests. Covered by #1426 (#1424)
  • Bedrock empty-stream / cached-token billing fixes. Covered by #1425 (#1423)
Already present
  • anomalyco/opencode#46890: 5min SSE chunk timeout. Fork already has DEFAULT_CHUNK_TIMEOUT = 300_000 (#844)
  • anomalyco/opencode#43892: treat unknown finish reason as not-finished. Already in session/prompt.ts
Not applicable
  • Core read tool fix (1ac6b4bec4): the fork runs the opencode tool implementation, not the core one
  • Core runner fixes (49593c1ec4, 709af58612, 0033bb3559): they target the upstream v2 runner, which the fork doesn't ship
  • fff / codemode / Copilot / Codex / Mistral variant fixes: features or providers the fork doesn't carry at this base
Queued (ranked)
  1. anomalyco/opencode#33924: scope MCP auth status to the configured server URL (mcp/index.ts getAuthStatus uses auth.get instead of auth.getForUrl). Security
  2. anomalyco/opencode#44944: catch rejected reader.cancel(err) promise in the SSE watchdog (provider.ts), avoiding an unhandled rejection after a stall. Hang
  3. anomalyco/opencode#40707 / #40694 / #43806: broaden retryable provider/network error patterns (session/retry.ts). Retry. Overlaps #1426, so wait for it to land
  4. anomalyco/opencode#43813: retry raw network_error finish reasons. Retry
  5. anomalyco/opencode#41939: retry jitter and capped retry policy. Retry. The fork already caps at RETRY_MAX_ATTEMPTS = 5, so only jitter is missing
  6. anomalyco/opencode#43248: ignore malformed (non-finite) model cost fields in Session.getUsage. Cost
  7. anomalyco/opencode#45769: drop unsigned/unreplayable Bedrock reasoning before caching (provider/transform.ts). Bedrock. Check against #1425 first
  8. anomalyco/opencode#50272: Bedrock tool-result images. Bedrock
  9. AI SDK provider bumps (needs a dedicated PR + regression run): amazon-bedrock 4.0.112 -> 4.0.166, anthropic 3.0.82 -> 3.0.111, openai 3.0.53 -> 3.0.88, azure 3.0.49 -> 3.0.93, xai 3.0.82 -> 3.0.139, togetherai 2.0.41 -> 2.0.68, google-vertex 4.0.128 -> 4.0.181, gateway 3.0.104 -> 3.0.191
  10. anomalyco/opencode#43640: xAI capacity errors retryable. Other provider
  11. anomalyco/opencode#37124: subagent recursion depth limit (tool/task.ts). Design-level; note only
Summary

Ported 2: MCP OAuth loopback bind (#1476) and OpenAI 5min header timeout (#1477). #46903 and the Bedrock fixes are skipped because open PRs #1426 and #1425 already cover them.
Top of the queue: MCP auth URL scoping (#33924), then SSE cancel rejection (#44944) and the retry-pattern ports once #1426 merges.
Run note: git clone/push through the git proxy returned 403, so branches were pushed via the GitHub REST API, and analyze.ts used its pattern fallback because upstream couldn't be fetched.

Written by Devin

主要言語
TypeScript
スター
810
フォーク
121
平均マージ
1日 10時間
マージ済み PR(30日)
89

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AltimateAI/altimate-code のほかの issue

AltimateAI/altimate-code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。