CLI: report translation worker check setup failures #3558

Open
github-bot wants to merge 1 commit from github-bot/gh-3558 into main AGit
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-11-27 17:34 UTC · original
andrewpozdnakov7-jpg:codex2/translate-worker-check-errors → main · +21 −8 · 1 files · 1 commits · open

Summary

translate --validate and translate --pipelines probe their requested checker before scanning and initialize it again in each worker. A worker setup error previously left that worker without the checker. The command could still exit zero and print the normal summary.

Return worker setup errors to the CLI with the name of the requested check so the invocation exits nonzero.

Coordination claim

Verification

  • With a synthetic DXBC container and a valid preflight validator, a temporary worker-only missing DLL made main exit 0. The patch exited 1 with the DXIL worker initialization error.
  • A simulated D3D12 setup failure after preflight also exited 1 with its own context.
  • Normal runs of the same synthetic input with and without --validate succeeded.
  • A two-worker run with both checks enabled succeeded using an app-local Agility SDK and WARP.
  • All 18 Windows app tests passed, along with strict app Clippy in default and all-feature configurations and the asset policy.

AI-assisted with OpenAI Codex.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-11-27 17:34 UTC · [original](https://github.com/Marvisak/VIctory/pull/3558) `andrewpozdnakov7-jpg:codex2/translate-worker-check-errors` → `main` · +21 −8 · 1 files · 1 commits · open ## Summary `translate --validate` and `translate --pipelines` probe their requested checker before scanning and initialize it again in each worker. A worker setup error previously left that worker without the checker. The command could still exit zero and print the normal summary. Return worker setup errors to the CLI with the name of the requested check so the invocation exits nonzero. [Coordination claim](https://git.gtahub.st/github/Marvisak--VIctory/issues/1633) ## Verification - With a synthetic DXBC container and a valid preflight validator, a temporary worker-only missing DLL made main exit 0. The patch exited 1 with the DXIL worker initialization error. - A simulated D3D12 setup failure after preflight also exited 1 with its own context. - Normal runs of the same synthetic input with and without `--validate` succeeded. - A two-worker run with both checks enabled succeeded using an app-local Agility SDK and WARP. - All 18 Windows app tests passed, along with strict app Clippy in default and all-feature configurations and the asset policy. AI-assisted with OpenAI Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 17:38:19 +00:00
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-11-27 17:37 UTC · original

Windows CI passed on c417b9f. Windows check

The worker-only missing validator fixture reached a successful preflight and then reproduced exit 0 on main. The patch returned exit 1 with the DXIL worker context. A simulated D3D12 worker setup failure also returned exit 1 and named its check. With both checks healthy, two workers processed the synthetic input using the app-local Agility SDK and WARP. All 18 app tests passed on Windows.

The next step is maintainer review. If reusing the patch, please retain the Git author on cherry-pick or rebase. If folding it into another commit, please use Co-authored-by: andrewpozdnakov7-jpg <[email protected]>.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-11-27 17:37 UTC · [original](https://github.com/Marvisak/VIctory/pull/3558#issuecomment-7224608422) Windows CI passed on `c417b9f`. [Windows check](https://github.com/Marvisak/VIctory/actions/runs/46042850842/job/140654678537) The worker-only missing validator fixture reached a successful preflight and then reproduced exit 0 on main. The patch returned exit 1 with the DXIL worker context. A simulated D3D12 worker setup failure also returned exit 1 and named its check. With both checks healthy, two workers processed the synthetic input using the app-local Agility SDK and WARP. All 18 app tests passed on Windows. The next step is maintainer review. If reusing the patch, please retain the Git author on cherry-pick or rebase. If folding it into another commit, please use `Co-authored-by: andrewpozdnakov7-jpg <[email protected]>`.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/3558/head:github-bot/gh-3558'
git switch 'github-bot/gh-3558'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-3558'
git switch 'github-bot/gh-3558'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-3558'
git switch 'github-bot/gh-3558'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-3558'
git switch 'main'
git merge --squash 'github-bot/gh-3558'
git switch 'main'
git merge --ff-only 'github-bot/gh-3558'
git switch 'main'
git merge 'github-bot/gh-3558'
git push origin 'main'
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/Marvisak--VIctory!3558
No description provided.