fix(mcp): test passes timeout_seconds and check_ignore to runners that reject them
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 67/100
Línea de trabajo
Start with _parseTest in lib/src/mcp/mcp_server.dart, then read the runner option definitions in lib/src/commands/test/test.dart and lib/src/commands/dart/commands/dart_test_command.dart. Reproduce both argument combinations from the issue and check the MCP schema descriptions. Done when each combination either works on both runners or returns a clear validation failure naming the unsupported argument and runner.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
The MCP test tool builds a command line from its arguments without checking which runner will receive it. Two arguments are accepted by the tool schema but rejected by one of the two runners, so the call fails with exit 64 before any test runs.
| Tool arguments | Command built | Result |
|---|---|---|
dart: true, timeout_seconds: 180 |
very_good dart test --timeout 180 -- … |
Could not find an option named "--timeout". |
check_ignore: true on a Flutter package |
very_good test --coverage --min-coverage 100 --check-ignore … |
Could not find an option named "--check-ignore". |
The cause is visible on main (8c772f3):
_parseTestinlib/src/mcp/mcp_server.dartappends--check-ignoreand--timeoutunconditionally, whichever runnerdartselects.--timeoutis registered only onvery_good test(lib/src/commands/test/test.dart).--check-ignoreis registered only onvery_good dart test(lib/src/commands/dart/commands/dart_test_command.dart).- Neither the
timeout_secondsnor thecheck_ignoreschema description says it is runner-specific.
This bites agents twice: an agent told to "always set timeout_seconds" cannot test a pure Dart package, and an agent told to pass check_ignore cannot test a Flutter one. The plugin's green-gate skill currently instructs both (VeryGoodOpenSource/vgv-ai-flutter-plugin#178).
Steps To Reproduce
- Call the MCP
testtool on a pure Dart package with{"dart": true, "timeout_seconds": 60}. - Observe
partial_failure/validation:Could not find an option named "--timeout". - Call the MCP
testtool on a Flutter package with{"check_ignore": true}. - Observe
partial_failure/validation:Could not find an option named "--check-ignore".
Expected Behavior
One of the following, in order of preference:
- Each argument works on both runners:
very_good dart testgains--timeout(ideally the wall-clock kill from #1765 / #1766) andvery_good testgains--check-ignore. - Otherwise, the handler validates combinations before running and returns a
validationfailure that names the argument and the runner it applies to, and the schema descriptions say which runner each argument supports.
Additional Context
-
Seen in field use in 3 of 310 calls (sessions
2007f494on 2026-10-07 and493ade61on 2026-10-14). Transcript excerpts are available on request. -
very_good_cli 1.5.0, Dart 3.13.5, Flutter 3.47.6, macOS 26.5 arm64, Claude Code 2.1.302.
-
Related: #1765 (timeout does not kill a hung run), #1705 (MCP surface narrower than the CLI).
-
Tracking issue: VeryGoodOpenSource/vgv-ai-flutter-plugin#180
- Lenguaje dominante
- Dart
- Estrellas
- 2.4k
- Forks
- 244
- Merge medio
- 1 d 18 h
- PR fusionados (30 d)
- 27
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de VeryGoodOpenSource/very_good_cli
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
VeryGoodOpenSource/very_good_cli#1783 ·
Los mantenedores suelen responder en 1 día
-
feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
VeryGoodOpenSource/very_good_cli#1782 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 1-2 días Aptitud para principiantes 55/100
VeryGoodOpenSource/very_good_cli#1781 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
VeryGoodOpenSource/very_good_cli#1780 ·
Los mantenedores suelen responder en 1 día
-
fix(mcp): test timeout_seconds does not kill a hung test run, which blocks every later tool callPosiblemente ocupada @unicoderbot la tomó hace 7 días. Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
VeryGoodOpenSource/very_good_cli#1765 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de VeryGoodOpenSource/very_good_cli
Issues similares
-
Needs Attention platform: android type: infrastructure umbrella
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
firebase/flutterfire#18832 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
-
Error on parameter typeAbiertofrom.page-issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
sass/dart-sass#2888 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
[a11y_assessments] Disabled CheckboxListTile shares mutable statePosiblemente ocupada @kevmoo la tomó hace 12 días. Abiertoa: accessibility fyi-design p: material_ui package team-accessibility
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día