[bug] CI: real OpenCode integration test can block the Python suite

Abierto
#162 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github-actions, python
Área
ci-cd, testing

Línea de trabajo

Start with tests/test_native_runtime.py::test_real_opencode_native_skill_and_gateway_write and the CI run linked in the issue; inspect PR #158's investigation for the suspected hang. Run the test with OPENDIRECTOR_REAL_CLI=1 under a bounded timeout, then trace and instrument the blocking stage and subprocess cleanup. Done when fresh and resumed cases finish or fail with useful diagnostics, timeout cleanup is verified, and reliable automated coverage is restored or its limitations are documented.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

help wanted

Problem and impact

The real OpenCode integration path is currently excluded from PR #152's default Python suite because a previous release-check run stalled. This leaves the native Skill and gateway write path without that default integration coverage.

Evidence and reproduction

In run 42211182835, Python tests were cancelled after roughly 28.7 minutes and runner cleanup terminated an opencode.exe process. PR #158's investigation associated the hang with tests/test_native_runtime.py::test_real_opencode_native_skill_and_gateway_write after dependency installation made the bundled CLI available. This association is plausible but the exact blocking point has not been isolated, and the cancelled run alone does not prove which call hung.

On PR #152, the test can be selected with OPENDIRECTOR_REAL_CLI=1 python -m pytest tests/test_native_runtime.py::test_real_opencode_native_skill_and_gateway_write -q -ra. It uses the real bundled CLI and a mocked model transport; this is not a paid model call. A controlled reproduction of the hang has not yet been performed.

Expected and actual

  • Expected: both fresh and resumed integration cases finish or fail within a bounded time with enough diagnostics to identify the stuck stage.
  • Actual: the original CI job exhausted its 30-minute budget, preventing subsequent checks; the precise cause is unknown.

Acceptance criteria

  • Reproduce or isolate the blocking stage with bounded execution and useful diagnostics.
  • Verify fresh and resumed cases, including subprocess cleanup on timeout.
  • Restore appropriate automated coverage once the path is reliable; document any remaining limitations.
Lenguaje dominante
TypeScript
Estrellas
119
Forks
16
Merge medio
16 h 13 min
PR fusionados (30 d)
195

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ThinkFlowLab/OpenDirector

Todos los issues de ThinkFlowLab/OpenDirector

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.