chain_check: read the slow compute pipeline line as the runtime prints it now (TOOLS-CHAIN-CHECK-SLOW-LINE) #2870
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!2870
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/chain-check-slow-line"
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?
Pull request successfully merged and closed
Claimed in the coordination issue as: TOOLS-CHAIN-CHECK-SLOW-LINE (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7310765902)
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
RUN (independent check on Windows, #2870 head 8ceb5ef4b, merged locally into
mainc60ce461a withgit 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.
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).