chain_check: read the slow compute pipeline line as the runtime prints it now (TOOLS-CHAIN-CHECK-SLOW-LINE) #2870
No reviewers
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!2870
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2870"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@MoonEyes on GitHub · 2026-12-01 12:11 UTC · original
MoonEyes:fix/chain-check-slow-line→main· +19 −2 · 2 files · 1 commits · merged 2026-12-01 12:22 UTCClaimed in the coordination issue as: TOOLS-CHAIN-CHECK-SLOW-LINE (#2570)
What and why
mainis red:tests/test_chain_check.py,test_runtime_sources_still_print_what_the_regexes_read. #2231 (mine) pinned the line "compute pipeline %s took %.1f s to build", and7acf84d38reworded it to "took %.1f s to obtain from %s". #2231's CI was green on an older base.BUILD_SLOWreads the new line. Only "from a compile" counts as a slow build: a pipeline read from the shared cache or from its journal file is not one. The line of older logs still counts.test_only_compiles_count_as_slow_builds: the four forms of the line.Tested
Windows 11, Python 3.14, CPU only, on
mainc60ce461a:main: 1 failure (the pin above).main'stools/chain_check.py: 1 failure (the new test).test_text_write_line_endings,test_tool_stdout_encoding,test_ci_registration: OK.GPUs tested: n/a
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly.🤖 Generated with Claude Code
@enlight3d on GitHub · 2026-12-01 12:13 UTC · original
RUN (independent check on Windows, #2870 head
8ceb5ef4b, merged locally intomainc60ce461awithgit merge --no-ff, no conflicts.)Python 3.13.12,
python -I tests/test_chain_check.py:mainc60ce461a: 23 tests, 1 failure,test_runtime_sources_still_print_what_the_regexes_readon the fragment "[rt] d3d12: compute pipeline %s took %.1f s to build", whichruntime/shims/d3d12_vulkan_device.cppno longer prints.tests/test_chain_check.pywithmain'stools/chain_check.py: 24 tests, 1 failure,test_only_compiles_count_as_slow_buildson the "obtain from a compile" line (0 != 1). The runtime-lines test passes there, so the new fragments match the source onmain.BUILD_SLOWnow matches "to build" (older logs) or "to obtain from a compile"; the shared cache and journal lines no longer count as slow builds, as the new test's four cases pin.Machine: Windows 11 Pro 26300, Python 3.13.12.
@MoonEyes on GitHub · 2026-12-01 12:21 UTC · original
Merging. Head
8ceb5ef4bmerges cleanly withmainc60ce461a. It repairs the red my #2231 caused onmain(tests/test_chain_check.py). Verified on this head by enlight3d: 1 failure onmain, 1 failure with the old tool, 24 tests OK with the change. Every check is green on the head;mainis red on that one test. Merged by its author for that reason.AI-assisted (Claude Code).