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

Ouverte
#162 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
48/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
github-actions, python
Domaine
ci-cd, testing

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
TypeScript
Étoiles
119
Forks
16
Merge moyen
16 h 13 min
PR mergées (30 j)
195

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de ThinkFlowLab/OpenDirector

Toutes les issues de ThinkFlowLab/OpenDirector

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.