Integration test runner counts a timed-out test file as passed, and skips command_args_spec

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
bash, lua
領域
testing

調査の方向性

Start in scripts/run_integration_tests_individually.sh: read the exit-code check around line 60 that treats 124 and 143 as non-failures, and the skip list at lines 68 to 70 that excludes tests/integration/command_args_spec.lua. Done means a file that times out without busted's result summary is marked failed, and command_args_spec.lua either runs and passes under the script or is fixed or replaced. Run the script locally to reproduce the hang before changing it.

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

説明

needs-triage

scripts/run_integration_tests_individually.sh, which the integration CI jobs run, counts a test file that hangs as passed.

  1. A file that hits the timeout exits with 124 or 143. The script marks a file failed only when it printed a failure or error count, or exited with a code other than 0, 124 and 143 (line 60 on main). A file that hangs before busted prints its summary therefore passes, and Required stays green.
  2. The script skips tests/integration/command_args_spec.lua entirely ("known to hang in CI", lines 68 to 70). That spec never runs in CI.

A hang is the worst failure this plugin can have: the diff lifecycle model's NoStrandedCall rule exists to prevent an openDiff call that never answers.

Suggested fix: fail a file on 124 or 143 unless its output contains busted's result summary, and fix or replace the hanging command_args_spec.lua so it runs again.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

主要言語
Lua
スター
3.1k
フォーク
223
平均マージ
6時間 47分
マージ済み PR(30日)
93

環境構築

Codespaces で開く

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

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

coder/claudecode.nvim のほかの issue

coder/claudecode.nvim の issue をすべて見る

似ている issue

Lua の issue をもっと見る

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

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