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

Aperta
#434 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
bash, lua
Ambito
testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Lua
Stelle
3.1k
Fork
223
Merge medio
6h 47m
PR unite (30g)
93

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di coder/claudecode.nvim

Tutte le issue di coder/claudecode.nvim

Issue simili

Altre issue su Lua

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.