PR checks: accept main's smoke run that crashed before its end (#1506) #1750
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1750
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1750"
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?
@DarkPanda69 on GitHub · 2026-11-24 20:14 UTC · original
DarkPanda69:pr-check-main-crash-frames→main· +22 −4 · 2 files · 1 commits · openSince #1133,
field_problemsalso checks main'sxcl-smokeblock, and smoke.ps1 writesnone logged (the run did not reach its end)asframes shownwhen the run crashes. CONTRIBUTING.md allows main's run to crash ("a PR that fixes a crash shows it there"), but such a PR was refused for a non-numericframes shown. Fixes #1506.What is in it
scripts/pr_check.py:field_problemstakesmay_crash, set only where main's block is checked; with it, aframes shownstarting with smoke.ps1'snone loggedis not reported. The PR's block is checked as before.scripts/test_pr_check.py: a main block that crashed (crashes: 1,exit: 0xc0000005, thenone loggedline) next to a clean PR block passes; a PR block with thenone loggedline still fails.Tested
python -B -m unittest discover -s scripts -p 'test_*.py', Python 3.12.10, Windows 11 Pro 26200: 18 passed. Withpr_check.pyfrommainand the new tests,test_main_run_that_crashed_before_its_end_passesfails with the message from the issue.cargo build --workspace, thencargo test --workspace --no-fail-fast -- --test-threads=4on this commit (c08ce4e, onmainb9b6ea6), debug, Rust 1.100.0, AMD RX 9070 XT (driver 32.0.32029.2010), Ryzen 7 5800X, Windows 11 Pro 26200: 889 passed, 0 failed, 42 ignored. 2 SKIPPED:pso_measurement_compiles_an_exact_synthetic_record(cannot disable the driver cache) andheap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows). The change is Python-only, so this only shows the tree still builds and passes.Not tested
PR checksworkflow on GitHub's runner.AI use
🤖 Generated with Claude Code
@futurepro62 on GitHub · 2026-11-24 21:14 UTC · original
Tested exact head
c08ce4e, script tests only, since this PR has no test report yet.Tested
python -m pytest scripts/test_pr_check.pyat the head: 15 passed, 23 subtests passed.266b845): 1 failed:SmokeBlockTests::test_main_run_that_crashed_before_its_end_passes. So the new test catches the problem the PR fixes.Not tested
AI use
@DavidM1911 on GitHub · 2026-11-24 22:55 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~23 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodifiedmain.)Thanks!
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.