Tests: assert invalid smoke labels never launch XCL #2734
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2744"
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 luckyteagirl on 2026-11-26T09:47:00Z.
The smoke-title fixture checked that invalid
-Titlevalues throw, but it did not check whether rejection happens before XCL is launched. This is a regression guard for the label handling from #677.What is in it
Tested
powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\smoke-title.tests.ps1:smoke-title: ok, exit 0.pwsh -NoProfile -File scripts\smoke-title.tests.ps1:smoke-title: ok, exit 0.git diff --checkpassed. A disposable negative control that delayed title rejection until after the stand-in launched failed on the new marker assertion.XCL_ADAPTER=6800MandXCL_REQUIRE_GPU=1,cargo test --workspace -- --test-threads=4exited0xc0000005in the first library test binary after 83 logged passes and 1 ignored. No library summary or later target results were produced. A separate clean-mainserial run reproduced an access violation atraw_loads_in_root_windows_respect_exec_and_bounds; the exact four-thread failing test is unproven.Not tested
AI use
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-12-01T02:33:39Z.
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-01T08:52:01Z.
Triage (#1607) – head
a744541No open or merged PR makes the same change.
smoke.ps1rejects-Title(the\p{Cc}\p{Cf}\p{Zl}\p{Zp}check) before it starts XCL, so the new launch-marker assertion and the U+202E (Cf) and U+2029 (Zp) cases pass on main and guard against a regression. The marker exists from the earlier valid runs, so theRemove-Itembefore the loop does not throw. No problems found in the diff.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.