Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

docs(evals): note CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS for headless eval runs that use workflows

Aperta Adatta ai principianti
#7,022 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
75/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
shell
Ambito
documentation

Direzione di ricerca

Inizia dalla guida all'esecuzione headless nel plugin evals (plugins/evals, methodology) e dal riferimento delle sonde di invocazione in plugins/skill-quality/reference/invocation-probes.md, che mostrano entrambi l'uso di claude -p. plugins/skill-quality/scripts/measure-invocation.sh è lo script che lo esegue. Conferma che grep -r BG_WAIT continua a non trovare nulla. È completato quando ciascuno di questi punti rimanda alla pagina upstream delle variabili d'ambiente, con una data di riferimento e un evento che ne richiede la verifica, indica che i Workflow lunghi sotto claude -p richiedono di alzare il limite o di impostarlo a 0, e non ripete il valore predefinito.

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

Descrizione

good first issue needs-human needs-triage priority: low

What was observed

Running a skill-creator old-versus-new comparison headlessly with claude -p killed a Workflow mid-run: claude -p stops waiting for background tasks about 10 minutes after the last turn. Setting CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0 avoided it. A search of the repo for BG_WAIT finds no mention, including in plugins/evals (plugin-eval, methodology) and plugins/skill-quality (which do mention claude -p).

The variable is documented upstream: the Claude Code environment variables page lists CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS as the ceiling on idle waiting for background work (subagents, workflows) after the final turn in non-interactive -p mode; 0 waits indefinitely; it requires a recent Claude Code version (v2.1.182 or later per the page). Source: https://code.claude.com/docs/en/env-vars, which links the headless page's "background tasks at exit" section.

Evidence

  • grep -r "BG_WAIT" over the repo: no matches.
  • plugins/skill-quality/scripts/measure-invocation.sh and plugins/skill-quality/reference/invocation-probes.md run claude -p without the variable.

Suggested fix

Add a short pointer to the upstream page (with an as-of date and recheck trigger, restating no default) in the headless-run guidance of the evals plugin and the skill-quality invocation-probe reference: long Workflows under claude -p need the ceiling raised or set to 0.

Why it was not fixed in the originating PR

The knowledge came from an eval run, not a change to these files; adding it is a separate docs change.

🤖 Generated with Claude Code

Lingua principale
Shell
Stelle
22
Fork
2
Merge medio
6h 42m
PR unite (30g)
902

Preparare l'ambiente

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 melodic-software/claude-code-plugins

Tutte le issue di melodic-software/claude-code-plugins

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.