xcl run: parse XML attributes with either quote style #1111
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1120"
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 ivall/xcl. Originally posted by anakatt on 2026-11-24T12:02:54Z.
I parse complete quoted attributes in
MicrosoftGame.configinstead of searching only forName="value". Valid single-quoted attributes and whitespace around=previously lost the executable list and game identity;>inside a quoted display name also ended the search too early.What is in it
launcher.rs: quote-aware attribute scanning, preserving entity decoding and ignoring attribute-like text inside other values.Tested
I ran debug tests on Windows 11 Pro ARM64 10.0.26100.1742 in UTM (4 GiB RAM, virtual
virt-10.0CPU, Red Hat VirtIO GPU DOD), using Rust 1.100.0x86_64-pc-windows-msvcand Visual Studio 2022 Build Tools. The guest used main47efa2ecea0a12934719ae69b81930cf02a4b1c3with the launcher source changes committed as2d14ae1996bb3c50f3b1a121402c6666a272aad0.cargo test --locked -p xcl --lib launcher::tests::game_config_attributes_accept_xml_quotes_and_spacing -- --exact: 0 passed, 1 failed, 0 ignored, 719 filtered out; single-quoted attributes returned no executable or identity.cargo test --locked -p xcl --lib launcher -- --test-threads=4: 12 passed, 1 failed, 0 ignored, 707 filtered out. The new regression passed. The unchangedconsole_detectiontest failed: this VM'sSystem32\notepad.exehas PE machine0xAA64(ARM64), whileconsole_importsaccepts only x64 PE files.cargo test --locked -p xcl --lib manifest -- --test-threads=4: 5 passed, 0 failed, 0 ignored, 715 filtered out.Neither run printed
SKIPPED.Not tested
I have not run the full workspace suite, native x64 Windows hardware, D3D12 GPU execution or a real game. The launcher test group is not fully passing in this ARM64 VM; I have not changed or suppressed its architecture-specific assertion.
Regression run
Not run. This remains a draft pending the required clean-head and main real-title
xcl-smokeblocks with the same title and duration. Unit tests do not replace those runs.AI use
I used omp (
openai-codex/gpt-6-astra) to investigate, implement the fix and regression, run the Windows tests, and prepare this PR.Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-24T14:25:21Z.
Full-suite run, since this PR has no test report yet. Tested exact head
2d14ae1(on its base47efa2e).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 742 passed, 0 failed, 41 ignored. SKIPPED (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.game_config_attributes_accept_xml_quotes_and_spacing.Not tested
AI use
upstream-sync referenced this pull request2026-11-25 04:08:41 +00:00
Imported from ivall/xcl. Originally posted by Toons29 on 2026-11-25T03:12:15Z.
Regression run of
2d14ae19on the retail title, for this PR's Regression run section. Both blocks are fromscripts/smoke.ps1as printed, not edited:mainon4178e888, this PR on its head commit with no uncommitted changes, same title and time.Against the limits in CONTRIBUTING.md: 101 % of
main's frames, 100 % of its peak commit, no crash, no device removal.AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0,
cargo build --release -p xcl, 60 s,XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.AI use: Claude Code (Claude Opus 5.5) built both trees and ran
scripts/smoke.ps1; I checked the blocks before posting.Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T08:15:56Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T07:40:28Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:52:13Z.
Triage (#1607) – head
2d14ae1No open or merged PR changes
launcher.rs::xml_attrsthis way (#1304 only makesxml_unescapepublic).No problems found in the diff: the new attribute walk stops at
/or>outside quotes, keeps the first match, and the test covers single quotes, spaces around=and quoted>/ attribute names. The failing check is the PR description check.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
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.