tests: report what the mesh cache directory holds when a request part is missing #3874
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3874
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3872"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@triggered02 on GitHub · 2026-12-02 16:32 UTC · original
triggered02:test/mesh-cache-failure-diagnostic→main· +15 −3 · 1 files · 3 commits · merged 2026-12-02 21:09 UTCRefs #3824.
That flake has exactly one CI reproduction, and its log cannot be diagnosed:
It names the unpacking and nothing about the directory, so the one occurrence we have does not say whether the part was in a different directory, had a different name, or was genuinely never written. This makes the failure report that.
Change. Both call sites go through a helper:
No retry and no wait.
publish_shader_requestwrites the part asreq_<key>.<ext>.<pid>.tmpand thenMoveFileExWs it into place (d3d12_draw.inl:572-583), so it is synchronous; adding a retry would mask a genuinely missing part instead of fixing anything. This change only makes the next occurrence self-describing.Checked both paths here — Debian, clang-cl build of the fixture, Windows CPython under Wine:
Not established. I could not reproduce the flake locally (8/8 passes with the fix reverted), so the new message has not been seen against a real occurrence — only against a synthesised missing directory. The Windows job is the check for the passing path.
@chatgpt-codex-connector[bot] on GitHub · 2026-12-02 16:36 UTC · original · edited 2026-12-02 16:40 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
8d12cdfℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
@R0Y00 on GitHub · 2026-12-02 16:41 UTC · original · requested changes
The missing-marker path in
run()referencesresult, which is local only to the other entry points. I reproduced it on41d23708with a mocked successful child and an empty request directory. It raisesNameError: name 'result' is not defined, so the ordinary and lease fixtures still lose the diagnosis. Please sharerequire_request_part(work, capture.returncode)here and add a successful-child/missing-marker control. The default Mesh86 capture is asynchronous unlessX2W_SYNC_MESH_REQUESTS=1, so the helper comment should describe both modes.25f8ebec5c' into HEAD 8a80bc0052@R0Y00 on GitHub · 2026-12-02 20:58 UTC · original · approved these changes
c1fa6f3daddresses my previous review. The ordinary and lease cases now use the same diagnostic helper as the heap and Texture1D cases. I reran the missing-marker control with a successful fixture process and only a 7-byte.ps86part. The old path raisedNameError; this head reports status 0, zero.m86markers and the names and sizes of the existing parts. Independent Windows 11 build 26300, MSVC Debugctest --preset dev --no-tests=error -j 1 --output-on-failure -R '^startup_indirect_mesh_cache_(heap_)?(warp|hardware)$'passed 4/4 on WARP 10.0.26100.9818 and RTX 4060 Laptop 32.0.16.1656.