Recover pipeline workers from Rust panics on a-publier #496

Open
github-bot wants to merge 1 commit from github-bot/gh-496 into a-publier AGit
Owner

@⁠ammaster10s on GitHub · 2026-11-27 07:06 UTC · original
ammaster10s:codex/pipeline-worker-panic → a-publier · +35 −5 · 1 files · 1 commits · open

Summary

Port Ingenioeren's #219 from main to a-publier for the worker panic reported in #217.

A Rust panic during pipeline creation previously ended the worker before it could publish the result or clear its queue accounting. The pipeline stayed pending and callers could keep waiting for it. Catch the panic during creation, log the pipeline key and panic message, and publish a refusal. The worker then wakes callers, releases the queue slot, and can process the next pipeline.

Verification

  • The eight pipeline worker tests passed on Windows in both default and diagnostics builds, including the synthetic panic regression. Fork CI
  • Windows-target Clippy passed for all victory-gpu targets with warnings denied in both build modes, using blake3/pure for the cross-check.
  • The asset policy passed. The patch merges cleanly with the current head of #410.

AI-assisted port and validation. The regression check uses synthetic pipelines.

**@⁠ammaster10s** on GitHub · 2026-11-27 07:06 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/496) `ammaster10s:codex/pipeline-worker-panic` → `a-publier` · +35 −5 · 1 files · 1 commits · open ## Summary Port Ingenioeren's #219 from `main` to `a-publier` for the worker panic reported in #217. A Rust panic during pipeline creation previously ended the worker before it could publish the result or clear its queue accounting. The pipeline stayed pending and callers could keep waiting for it. Catch the panic during creation, log the pipeline key and panic message, and publish a refusal. The worker then wakes callers, releases the queue slot, and can process the next pipeline. ## Verification - The eight pipeline worker tests passed on Windows in both default and diagnostics builds, including the synthetic panic regression. [Fork CI](https://github.com/ammaster10s/VIctory-Belobug-AMD/actions/runs/45955632576) - Windows-target Clippy passed for all `victory-gpu` targets with warnings denied in both build modes, using `blake3/pure` for the cross-check. - The asset policy passed. The patch merges cleanly with the current head of #410. AI-assisted port and validation. The regression check uses synthetic pipelines.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 978681c702)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 07:09:48 +00:00
Author
Owner

@⁠copilot-pull-request-reviewer[bot] on GitHub · 2026-11-27 07:06 UTC · original · reviewed

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

**@⁠copilot-pull-request-reviewer[bot]** on GitHub · 2026-11-27 07:06 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/496#pullrequestreview-6084643147) · **reviewed** Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
Author
Owner

@⁠MamaLeVrai on GitHub · 2026-11-27 11:40 UTC · original

Tested on an RX 6950 XT (RDNA 2), driver 32.0.21045.29003, Windows 11 build 26300, Rust 1.98.1, release. At 3ebde36: victory-gpu 397 passed, 0 failed, 34 ignored.

AI-assisted (Claude Code); no game data.

**@⁠MamaLeVrai** on GitHub · 2026-11-27 11:40 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/496#issuecomment-7217351143) Tested on an RX 6950 XT (RDNA 2), driver 32.0.21045.29003, Windows 11 build 26300, Rust 1.98.1, release. At `3ebde36`: `victory-gpu` 397 passed, 0 failed, 34 ignored. AI-assisted (Claude Code); no game data.
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/496/head:github-bot/gh-496'
git switch 'github-bot/gh-496'

Merge

Merge the changes and update on Forgejo.
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-496'
git switch 'github-bot/gh-496'
git rebase 'a-publier'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-496'
git switch 'github-bot/gh-496'
git rebase 'a-publier'
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-496'
git switch 'a-publier'
git merge --squash 'github-bot/gh-496'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-496'
git switch 'a-publier'
git merge 'github-bot/gh-496'
git push origin 'a-publier'
This discussion has been locked. Commenting is limited to contributors.
No description provided.