codex:check needs network the worker lacks and reads as a failing gate

Cerrado
#1,045 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Ya se ha fusionado un pull request relacionado.

  • #1072 de @PhilDL — fusionado

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
70/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, node.js, typescript
Área
ci-cd, tooling

Línea de trabajo

Read packages/agents/codex-version.ts and locate generate-codex.mjs and the CI workflow mentioned in the issue. First run pnpm --filter @usine/agents codex:check to see the network failure, then inspect how the pinned schema is fetched and checked. Done means the check works offline using a local schema copy, CI verifies that copy against upstream, and DNS or proxy failures produce a clear skip message.

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

Descripción

bug

pnpm --filter @usine/agents codex:check fetches the pinned Codex schema from raw.githubusercontent.com. The worker sandbox has no route there (direct DNS fails, the proxy answers 403, the GitHub gateway token is scoped to basaltbytes/usine). The tackle-issue skill told developers to run .github/workflows/ci.yml locally as the gate, so run 49fa5ea5 on #1028 treated the fetch failure as a blocker and stopped before implementing (attempt 49fa5ea5eb46b9aa80486af9304f4495/implement/1, comment https://github.com/basaltbytes/usine/issues/1028#issuecomment-6712309389).

The skill wording is fixed on main (codex:check is CI-only, skip it locally). Two things remain:

  1. Make the check runnable offline: keep a copy of the pinned schema under packages/agents/ next to codex-version.ts and compare against it; CI keeps fetching to confirm the copy matches upstream. Then the local gate and CI run the same check.
  2. Until then, let generate-codex.mjs --check exit with a clear "no network, skipped" message when the fetch fails with a DNS or proxy error, instead of a stack trace an agent reads as a failing gate.
Lenguaje dominante
TypeScript
Estrellas
1
Forks
0
Merge medio
3 h 23 min
PR fusionados (30 d)
400

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 basaltbytes/usine

Todos los issues de basaltbytes/usine

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.