fix(prepare): the pipeline steps log their progress every 10 s, with the time left ("stuck on preparing shaders") #2186

Merged
NotRexed merged 2 commits from fix/prepare-progress-log into main 2026-11-11 06:53:47 +00:00
NotRexed commented 2026-11-11 06:48:54 +00:00 (Migrated from github.com)

Five players on Discord (2026-11-10/11, RX 6700 XT, RX 9060 XT, RX 9070 XT and others) thought v2.1.0's shader preparation was stuck. Their pasted logs ended in vertex format NVN ... lines and then nothing for 10-30 minutes. One said it went on by itself after about 10 minutes; another closed and reopened the Builder and found it done.

The preparation's two pipeline steps (predict_run: the pipelines the notes predict; precompile_run: the noted ones, the 12800 shipped states on a fresh install) report @@progress to the Builder's bar, but write nothing to hookshot_log.txt while they run.

Each step now logs a line every 10 s with the pipelines done of the total, the time so far, and an estimate of the time left:

vk: noted pipelines: 4210 of 12800 pipelines in 180 s, about 367 s left

Checked

  • Built G:\hk-b2 from a branch with this change. The build's preparation took 3.4 s (everything cached), so no line was due. The first comes after 10 s, and I did not see one in a log.
  • The helper is defined before both of its callers. A first version had it after precompile_run and the build stopped on it; that is fixed here.

🤖 Generated with Claude Code

Five players on Discord (2026-11-10/11, RX 6700 XT, RX 9060 XT, RX 9070 XT and others) thought v2.1.0's shader preparation was stuck. Their pasted logs ended in `vertex format NVN ...` lines and then nothing for 10-30 minutes. One said it went on by itself after about 10 minutes; another closed and reopened the Builder and found it done. The preparation's two pipeline steps (`predict_run`: the pipelines the notes predict; `precompile_run`: the noted ones, the 12800 shipped states on a fresh install) report `@@progress` to the Builder's bar, but write nothing to `hookshot_log.txt` while they run. Each step now logs a line every 10 s with the pipelines done of the total, the time so far, and an estimate of the time left: ``` vk: noted pipelines: 4210 of 12800 pipelines in 180 s, about 367 s left ``` ### Checked - Built `G:\hk-b2` from a branch with this change. The build's preparation took 3.4 s (everything cached), so no line was due. The first comes after 10 s, and I did not see one in a log. - The helper is defined before both of its callers. A first version had it after `precompile_run` and the build stopped on it; that is fixed here. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Commenting is not possible because the repository is archived.
No description provided.