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

Aperta
#1,045 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
70/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, node.js, typescript
Ambito
ci-cd, tooling

Direzione di ricerca

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.

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

Descrizione

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.
Lingua principale
TypeScript
Stelle
1
Fork
0
Merge medio
3h 47m
PR unite (30g)
388

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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

Tutte le issue di basaltbytes/usine

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.