[Bug] Error on startup: "Failed to parse /models response from CAPI"
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 54/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- java
調査の方向性
Start by locating the code that handles the Copilot Language Server's /models response and compare its accepted capability types with the reported value decisions at /data/18/capabilities/type. Check related parsing tests and reproduce the startup log if possible. Done means the response is handled without this parse error and the existing model parsing tests pass; the report says no functionality loss is apparent.
索引モデルが issue の本文から書いたものです。
説明
Environment
- OS: RHEL 9.6
- Eclipse Version: 4.38, 4.42
- Plugin Version: 0.21.0.202610121610_nightly, 0.21.0.202611041610_nightly
Describe the bug
Since some time (2 -3 days?) I see error reported on Eclipse startup in the log (see stack below).
Except the error entry, I don't see any functionality lost, but of course there could be something I didn't noticed.
eclipse.buildId=4.38.8.v20260910-1358
java.version=25
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
org.eclipse.lsp4e
Error
Thu Nov 05 09:13:28 CET 2026
[LS:GitHub Copilot Language Server][Error] [default] Failed to parse /models response from CAPI: AssertError: Expected union value
at AssertValue (/snapshot/copilot-language-server-internal/dist/main.js:1755:1717)
at Assert (/snapshot/copilot-language-server-internal/dist/main.js:1755:1796)
at /snapshot/copilot-language-server-internal/dist/main.js:1755:28462
at /snapshot/copilot-language-server-internal/dist/main.js:1755:29070
at Array.reduce (<anonymous>)
at ParseValue (/snapshot/copilot-language-server-internal/dist/main.js:1755:28967)
at Object.Parse (/snapshot/copilot-language-server-internal/dist/main.js:1755:29317)
at t.parseModelsResponse (/snapshot/copilot-language-server-internal/dist/main.js:1755:30267)
at t.fetchImpl (/snapshot/copilot-language-server-internal/dist/main.js:1755:30882)
at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
error: {
type: 62,
schema: { anyOf: [Array], [Symbol(TypeBox.Kind)]: 'Union' },
path: '/data/18/capabilities/type',
value: 'decisions',
message: 'Expected union value',
errors: [
[ValueErrorIterator],
[ValueErrorIterator],
[ValueErrorIterator]
]
}
}
- 主要言語
- Java
- スター
- 129
- フォーク
- 70
- 平均マージ
- 3日 2時間
- マージ済み PR(30日)
- 15
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/copilot-for-eclipse のほかの issue
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoft/copilot-for-eclipse#513 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoft/copilot-for-eclipse#512 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
microsoft/copilot-for-eclipse#510 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
microsoft/copilot-for-eclipse#508 ·
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
microsoft/copilot-for-eclipse#500 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
microsoft/copilot-for-eclipse の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
[Bug]: NetworkPolicyOperator removes finalizers added by the EKS network policy controller, which adds them back再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンbug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
strimzi/strimzi-kafka-operator#13360 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
bug javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
NationalSecurityAgency/ghidra#10149 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
yegor256/antlr2ebnf-maven-plugin#155 ·
メンテナーはふだん 1 日以内に返信