Show live progress while preparing shaders and pipelines #4

Closed
github-bot wants to merge 1 commit from gh-pr/4/head into gh-pr/4/base
Owner

@⁠timorjay on GitHub · 2026-11-27 13:06 UTC · original
timorjay:fix/show-preparation-progress → main · +15 −2 · 1 files · 2 commits · closed without merging

Related to #3. The translator already prints a milestone every 1,000 shaders. The launcher kept only the last three lines, so a user could see the startup message for minutes even while translation was advancing. The pipeline warm-up had the same issue. In a local cold run I saw the translator reach 25,758 shaders in 129 seconds.

This streams shader milestones, the number of pipelines to prepare and pipeline progress as each line arrives. Other diagnostics retain a bounded tail. The launcher still uses the native exit code when deciding whether to write the preparation stamp.

I exercised the launcher through -PrepareOnly on Windows PowerShell 5.1 and PowerShell 7. A synthetic native executable printed real-format messages and paused until the test released each stage. At 454ffea, neither milestone appeared while the child was waiting. With this change, both appeared before the test released the corresponding stage. I also checked that the summaries appeared once, the diagnostic tail stayed bounded, a second launch skipped completed shader preparation, and a nonzero translation exit left the stamp absent. This change makes ongoing work visible. An actual translator hang would still need its own diagnosis.

AI-assisted implementation and local verification.

**@⁠timorjay** on GitHub · 2026-11-27 13:06 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/4) `timorjay:fix/show-preparation-progress` → `main` · +15 −2 · 1 files · 2 commits · closed without merging Related to #3. The translator already prints a milestone every 1,000 shaders. The launcher kept only the last three lines, so a user could see the startup message for minutes even while translation was advancing. The pipeline warm-up had the same issue. In a local cold run I saw the translator reach 25,758 shaders in 129 seconds. This streams shader milestones, the number of pipelines to prepare and pipeline progress as each line arrives. Other diagnostics retain a bounded tail. The launcher still uses the native exit code when deciding whether to write the preparation stamp. I exercised the launcher through `-PrepareOnly` on Windows PowerShell 5.1 and PowerShell 7. A synthetic native executable printed real-format messages and paused until the test released each stage. At `454ffea`, neither milestone appeared while the child was waiting. With this change, both appeared before the test released the corresponding stage. I also checked that the summaries appeared once, the diagnostic tail stayed bounded, a second launch skipped completed shader preparation, and a nonzero translation exit left the stamp absent. This change makes ongoing work visible. An actual translator hang would still need its own diagnosis. AI-assisted implementation and local verification.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 02:23:03 +00:00
github-bot closed this pull request 2026-11-30 02:23:03 +00:00
Author
Owner

@⁠readmet3xt-lab on GitHub · 2026-11-27 21:20 UTC · original

Thank you. Live progress while preparing is in main and in v0.2.0-pre.4 (https://github.com/readmet3xt-lab/foxhound/releases/tag/v0.2.0-pre.4): play-foxhound.ps1 prints the shader count and the pipeline count as they come, and the launcher shows both on its loading screen.

main's history was rewritten to a single commit before pre.3, so this branch no longer merges. Closing it as covered.

**@⁠readmet3xt-lab** on GitHub · 2026-11-27 21:20 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/4#issuecomment-7228351011) Thank you. Live progress while preparing is in `main` and in v0.2.0-pre.4 (https://github.com/readmet3xt-lab/foxhound/releases/tag/v0.2.0-pre.4): `play-foxhound.ps1` prints the shader count and the pipeline count as they come, and the launcher shows both on its loading screen. `main`'s history was rewritten to a single commit before pre.3, so this branch no longer merges. Closing it as covered.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.