Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#1,301 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
shell
領域
testing-qa

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
C
スター
3
フォーク
7
平均マージ
4時間 15分
マージ済み PR(30日)
106

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

InauguralSystems/EigenScript のほかの issue

InauguralSystems/EigenScript の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。