redhat-developer / redhat-developer/vscode-java
Intermitent test failures in "should register all java commands"
オープン
まだ誰も着手していません。
bug
build/infra
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
On the build job, this only fails on Mac but I have been able to reproduce the failures locally as well on Linux.
1) Java Language Extension - Standard
should register all java commands:
AssertionError [ERR_ASSERTION]: Some Java commands are not registered properly or a new command is not added to the test.
...
...
+ expected - actual
"java.action.showSupertypeHierarchy"
"java.action.showTypeHierarchy"
"java.apply.workspaceEdit"
"java.clean.workspace"
- "java.edit.organizeImports"
"java.execute.workspaceCommand"
"java.ignoreIncompleteClasspath"
"java.ignoreIncompleteClasspath.help"
"java.open.clientLog"
--
"java.open.serverLog"
"java.project.addToSourcePath"
"java.project.import"
"java.project.listSourcePaths"
- "java.project.refreshDiagnostics"
"java.project.removeFromSourcePath"
"java.project.updateSourceAttachment"
"java.projectConfiguration.status"
"java.projectConfiguration.update"
at /Users/travis/build/redhat-developer/vscode-java/out/test/standard-mode-suite/extension.test.js:74:20
at processTicksAndRejections (internal/process/task_queues.js:97:5)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
out/test/standard-mode-suite/extension.test.js の失敗しているアサーションから始め、Mac と Linux で "should register all java commands" テストを実行します。実行ごとに登録されたコマンドリストを比較して断続的な差異を特定します。影響を受けるプラットフォームでテストが安定して成功すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- testing
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100