PR checks: accept main's smoke run that crashed before its end (#1506) #1740
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from ivall/xcl. Originally posted by DarkPanda69 on 2026-11-24T20:14:13Z.
Since #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
Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-24T21:14:32Z.
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
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T22:55:40Z.
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!
upstream-sync referenced this pull request2026-11-25 16:10:51 +00:00
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-28T20:18:21Z.
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-01T06:39:32Z.
Triage (#1607) – head
c08ce4eFixes #1506, which is still open;
field_problemson main still reports main'sframes shown: none logged (the run did not reach its end)as non-numeric.#1112 (skip the peak-commit limit when main crashed) and #2219 (stricter fields for the PR's own block) touch the same function but not this case; #2219 changes the
field_problemssignature, so whichever lands second needs a rebase.The exception is limited to main's block and to the
frames shownkey, and the frames comparison already skips a missing main count. 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.