chain_check: read the slow compute pipeline line as the runtime prints it now (TOOLS-CHAIN-CHECK-SLOW-LINE) #2870

Manually merged
github merged 1 commit from github-bot/gh-2870 into gh-pr/2870/base 2026-12-01 12:27:24 +00:00 AGit
Owner

@⁠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 UTC

Claimed in the coordination issue as: TOOLS-CHAIN-CHECK-SLOW-LINE (#2570)

What and why

main is 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", and 7acf84d38 reworded it to "took %.1f s to obtain from %s". #2231's CI was green on an older base.

  • BUILD_SLOW reads 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.
  • The pin is the line the runtime prints now, plus the expression that names the three sources.
  • New test test_only_compiles_count_as_slow_builds: the four forms of the line.

Tested

Windows 11, Python 3.14, CPU only, on main c60ce461a:

  • main: 1 failure (the pin above).
  • with this PR: 24 tests OK.
  • with this PR's test and main's tools/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

  • Based on current main and merges cleanly.
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption.

🤖 Generated with Claude Code

**@⁠MoonEyes** on GitHub · 2026-12-01 12:11 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/2870) `MoonEyes:fix/chain-check-slow-line` → `main` · +19 −2 · 2 files · 1 commits · merged 2026-12-01 12:22 UTC Claimed in the coordination issue as: TOOLS-CHAIN-CHECK-SLOW-LINE (https://git.gtahub.st/github/ubiquitarianism--leonida/issues/2570) ### What and why `main` is 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", and `7acf84d38` reworded it to "took %.1f s to obtain from %s". #2231's CI was green on an older base. - `BUILD_SLOW` reads 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. - The pin is the line the runtime prints now, plus the expression that names the three sources. - New test `test_only_compiles_count_as_slow_builds`: the four forms of the line. ### Tested Windows 11, Python 3.14, CPU only, on `main` `c60ce461a`: - `main`: 1 failure (the pin above). - with this PR: 24 tests OK. - with this PR's test and `main`'s `tools/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 - [x] Based on current `main` and merges cleanly. - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The line says where the pipeline came from since 7acf84d38, so the pin in
tests/test_chain_check.py failed on main. Only a compile counts as a build.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 12:15:24 +00:00
Author
Owner

@⁠enlight3d on GitHub · 2026-12-01 12:13 UTC · original

RUN (independent check on Windows, #2870 head 8ceb5ef4b, merged locally into main c60ce461a with git merge --no-ff, no conflicts.)

Python 3.13.12, python -I tests/test_chain_check.py:

  • Red on main c60ce461a: 23 tests, 1 failure, test_runtime_sources_still_print_what_the_regexes_read on the fragment "[rt] d3d12: compute pipeline %s took %.1f s to build", which runtime/shims/d3d12_vulkan_device.cpp no longer prints.
  • Red for the new test: this pull request's tests/test_chain_check.py with main's tools/chain_check.py: 24 tests, 1 failure, test_only_compiles_count_as_slow_builds on the "obtain from a compile" line (0 != 1). The runtime-lines test passes there, so the new fragments match the source on main.
  • Green on the merge: 24 tests, OK.
  • Read: BUILD_SLOW now 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.
  • Not checked: the rest of the Python suite.

Machine: Windows 11 Pro 26300, Python 3.13.12.

**@⁠enlight3d** on GitHub · 2026-12-01 12:13 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/2870#issuecomment-7310833964) RUN (independent check on Windows, #2870 head 8ceb5ef4b, merged locally into `main` c60ce461a with `git merge --no-ff`, no conflicts.) Python 3.13.12, `python -I tests/test_chain_check.py`: - Red on `main` c60ce461a: 23 tests, 1 failure, `test_runtime_sources_still_print_what_the_regexes_read` on the fragment "[rt] d3d12: compute pipeline %s took %.1f s to build", which `runtime/shims/d3d12_vulkan_device.cpp` no longer prints. - Red for the new test: this pull request's `tests/test_chain_check.py` with `main`'s `tools/chain_check.py`: 24 tests, 1 failure, `test_only_compiles_count_as_slow_builds` on the "obtain from a compile" line (0 != 1). The runtime-lines test passes there, so the new fragments match the source on `main`. - Green on the merge: 24 tests, OK. - Read: `BUILD_SLOW` now 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. - Not checked: the rest of the Python suite. Machine: Windows 11 Pro 26300, Python 3.13.12.
github-bot changed target branch from main to gh-pr/2870/base 2026-12-01 12:27:22 +00:00
github manually merged commit 8ceb5ef4b3 into gh-pr/2870/base 2026-12-01 12:27:24 +00:00
Author
Owner

@⁠MoonEyes on GitHub · 2026-12-01 12:21 UTC · original

Merging. Head 8ceb5ef4b merges cleanly with main c60ce461a. It repairs the red my #2231 caused on main (tests/test_chain_check.py). Verified on this head by enlight3d: 1 failure on main, 1 failure with the old tool, 24 tests OK with the change. Every check is green on the head; main is red on that one test. Merged by its author for that reason.

AI-assisted (Claude Code).

**@⁠MoonEyes** on GitHub · 2026-12-01 12:21 UTC · [original](https://github.com/ProjectLeonida/mandy/pull/2870#issuecomment-7311026803) Merging. Head `8ceb5ef4b` merges cleanly with `main` `c60ce461a`. It repairs the red my #2231 caused on `main` (`tests/test_chain_check.py`). Verified on this head by enlight3d: 1 failure on `main`, 1 failure with the old tool, 24 tests OK with the change. Every check is green on the head; `main` is red on that one test. Merged by its author for that reason. AI-assisted (Claude Code).
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/ubiquitarianism--leonida!2870
No description provided.