tools: avoid stale and ambiguous pipeline failure attribution #167

Manually merged
github merged 1 commit from gh-pr/167/head into gh-pr/167/base 2026-11-26 06:35:44 +00:00
Owner

@⁠Valdi320 on GitHub · 2026-11-25 12:07 UTC · original
Valdi320:work/scarlett-pipeline-rank-accuracy-20261125 → main · +123 −18 · 3 files · 1 commits · merged 2026-11-25 14:21 UTC

Problem

The failure ranking can assign a stale raw shader digest to a modern row even if the rooted request succeeded; a used key in one stage also suppresses a missing lookup in another stage. These cases misdirect shader translation work.

Changes

  • Prefer explicit per-stage missing lookup keys over raw digests; separate ambiguous mixed attempts.
  • Keep stand-ins after translation and unlisted overflow distinct from host rejection.
  • Report conflicting refusal reasons across compiler cache versions; allow explicit version selection and missing runtime cache directories.
  • Preserve old log compatibility and document uncertainty.

Validation

9 focused unit tests passed (5 new), plus 5 existing null-priority tests; git diff --check passed. Reproduced stale and cross-stage misattribution on the old implementation using synthetic input. No title files, private logs, GPU runs or gameplay claim.

**@⁠Valdi320** on GitHub · 2026-11-25 12:07 UTC · [original](https://github.com/brcly/TuxBox/pull/167) `Valdi320:work/scarlett-pipeline-rank-accuracy-20261125` → `main` · +123 −18 · 3 files · 1 commits · merged 2026-11-25 14:21 UTC ## Problem The failure ranking can assign a stale raw shader digest to a modern row even if the rooted request succeeded; a used key in one stage also suppresses a missing lookup in another stage. These cases misdirect shader translation work. ## Changes - Prefer explicit per-stage missing lookup keys over raw digests; separate ambiguous mixed attempts. - Keep stand-ins after translation and unlisted overflow distinct from host rejection. - Report conflicting refusal reasons across compiler cache versions; allow explicit version selection and missing runtime cache directories. - Preserve old log compatibility and document uncertainty. ## Validation 9 focused unit tests passed (5 new), plus 5 existing null-priority tests; git diff --check passed. Reproduced stale and cross-stage misattribution on the old implementation using synthetic input. No title files, private logs, GPU runs or gameplay claim.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:35:42 +00:00
github manually merged commit 796b793db8 into gh-pr/167/base 2026-11-26 06:35:44 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.