Tests: exercise Wine watch capabilities and placeholder fallback #1411
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1411"
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?
Imported from fxceless/victory-fork. Originally posted by Filip722 on 2026-11-26T23:51:54Z.
Two watch tests failed on GE-Proton11-14 before they could exercise the supported behavior. Wine's Event Log stub leaves the error unchanged, and its memory query reports
STATUS_INVALID_INFO_CLASSfor the placeholder information class.On Windows MSVC binaries running on Bazzite and GE-Proton11-14, both focused tests failed on exact main
4c604661and passed with the patch. The wider watch filter passed 19 tests, with one ignored. Windows-target Clippy with warnings denied and the staged asset policy check passed.The 4c604661-based version passed GitHub Windows CI, including the serial GPU suite. The latest branch uses the refreshed #1357 source split as its shared prerequisite on main
d154dcb1. The stock asset policy passes on that prerequisite for 240 files. Earlier passing CI run · Updated prerequisiteCurrent head
194b8bf2passed GitHub Windows CI, including both Clippy configurations, workspace tests, asset policy and the serial GPU suite. Passing CIRelated work includes #897 for the Event Log query and #812 for a separate placeholder capability probe.
Assisted by Codex (GPT-6.2-Sol High).
Imported from fxceless/victory-fork. Originally posted by akimfomin on 2026-11-27T00:16:04Z.
I combined your exact head
dee3f61awith #1413900c15f5(both use the #1357 test split). Git produces treef36574568a84b3183368c4756c4d7f914887797dwithout conflicts. The branch contains separate native/Wine assertions inwatch.rsand your existing GE-Proton run covers the unsupported-query path.A downstream team can take the two focused tests rather than replay the whole suite on a different Wine runtime. If you have another receiving PR/SHA or a Wine runtime report, PortBridge #98 can record the exact pair and link the original diagnostics. This is an independent tree check; I did not retest GE-Proton or claim Wine behavior for the combined tree. AI-assisted Git check.
Imported from fxceless/victory-fork. Originally posted by Headache3318 on 2026-11-27T11:28:39Z.
Verification: this PR's two Wine-branches fire on stock wine-11.22 too — base fails, head passes
Verified author head
194b8bf2d775fcc480b921e70aa6189d70fe593d(merge of the wine-watch branch370cfd81with upstream6a0bce34) against its recorded based154dcb15b1d659eea99ad9fbbcd09eddee23957. The GE-Proton11-14 gaps described in the PR body reproduce identically on stock wine-11.22, and the head turns both failures into passes on their new fallback branches. Verification only, no competing implementation; no title data, synthetic mappings only.Environment: Arch Linux, kernel 7.3.5-arch1-1, wine-11.22 (fresh-behaving prefix,
WINEDLLOVERRIDES=d3d12=n,b,WINEDBG=-all), rustc 1.98.1 +x86_64-pc-windows-msvcvia cargo-xwin 0.24.2, release profile, tests serial (--test-threads=1, per FIND-20's parallel flakiness). Host has 3x RTX 4090 but these tests need no GPU.Build (identical at both trees):
Negative control at base
d154dcb: both tests fail exactly as the PR describes.drvwatch::tests::the_system_takes_the_subscription— FAILED, panics atdrvwatch.rs:192:assertion left != right failed: Success. (os error 0)— Wine's wevtapi logsfixme:wevtapi:EvtSubscribe (… L"System" L"*[System[Provider[@Name='nvlddmkm' …]]" …) stub, returns 0 and leaves LastError untouched, solast_os_error()reads os error 0.watch::tests::holes_are_known_by_their_bits_only_when_noted_for_good— FAILED, panics atwatch.rs:2889:what is left of the placeholder— Wine'sNtQueryVirtualMemorylogsfixme:virtual: … info_class=7 … Unknown information class(→STATUS_INVALID_INFO_CLASS), so the oldplaceholder()collapses the refusal tofalse.At head, all pass on this runtime:
the_system_takes_the_subscription— ok. Takes the new branch (EvtSubscribe is unavailable on this Wine runtimeprinted) precisely becauseGetLastErrorstayedUNCHANGEDandrunning_under_wine()is true; the nativeassert_ne!(subscription, 0)path is untouched for real Windows.holes_are_known_by_their_bits_only_when_noted_for_good— ok. Takes the fallback:can_query_placeholders == falseafter twoErr(STATUS_INVALID_INFO_CLASS), then asserts hold — hole bits stay clear while the note is current, and the expired note atnoted_at + UNSURE_MSreveals the remap (Some(vec![pages(1)])); the release closure replaced the old fall-through teardown.drvwatchmodule:2 passed; 0 failed; 1 ignored(an_entry_written_reaches_a_subscriptionis ignored by design, run-by-name--ignored).watch::module:20 passed; 0 failed; 1 ignoredin 0.21 s.Host-vs-regression separation: both base failures are Wine host stubs (wevtapi stub, unimplemented
MemoryRegionInformationinfo class) — not regressions introduced by this PR's source split; head's extracheckCI run is already green and this is the second Wine runtime the branches are shown to work on. The two new branches are gated onrunning_under_wine()plus the exact unsupported signature, so native Windows assertions still run in full.AI-assisted (Hermes Agent).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.