Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

consumer_acceptance: an inherited EIGENSCRIPT_GFX selects a stale graphics runtime while the row PASSes

Abierto
#1,301 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
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
shell
Área
testing-qa

Línea de trabajo

Start with tests/run_debug_ui_oracle.sh:11 and inspect the 16 consumer scripts to identify the runtime-selector variables they read. Run the critic fixture at /tmp/critic-ca/repro_gfx_env.py against the harness, then verify the row records overridden selectors and reports FAIL or UNRUNNABLE rather than PASS.

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

Descripción

area:gates found-by:critic kind:silent-wrong

Found by the blind critic on the #1275 consumer_acceptance shrink (e283521). It is pre-existing: the old harness at 88ba928 behaves the same way.

Problem. A consumer that picks its graphics runtime from an inherited environment variable can run a stale binary while its row reads PASS. DMG's real selector is tests/run_debug_ui_oracle.sh:11: EIGS="$(dmg_runtime "$ROOT_DIR" "${EIGENSCRIPT_GFX:-${EIGENSCRIPT_BIN:-}}")". If EIGENSCRIPT_GFX is inherited from the caller's environment, it points at an absolute path the harness does not control. The row's headless candidate call is counted, so cand_calls>0 and the row PASSes, even though the graphics program ran on a different runtime.

Reproduce (critic's fixture: a byte-copy of DMG's tests/runtime.sh plus that selector line). The reproducer lives on the dev box, at /tmp/critic-ca/repro_gfx_env.py <harness>. Both harnesses: PASS, while executable-side logs show the stale graphics runtime ran the graphics program.

Done when:

  • The harness either unsets or overrides the runtime-selector variables consumers are known to read (EIGENSCRIPT_GFX, EIGENSCRIPT_BIN, EIGS, EIGENSCRIPT: derive the list from the 16 consumers' scripts, not by hand). Overriding points them at the counting shims, or at a 127 shim when the variant is not supplied.
  • The critic's fixture run against the harness reads FAIL, or UNRUNNABLE by name, instead of PASS.
  • The row record names which selector variables were overridden.
Lenguaje dominante
C
Estrellas
3
Forks
7
Merge medio
4 h 7 min
PR fusionados (30 d)
112

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

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 InauguralSystems/EigenScript

Todos los issues de InauguralSystems/EigenScript

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.