Repository navigation
PR checks: accept main's smoke run that crashed before its end (#1506) - #1750
Open
DarkPanda69 wants to merge 1 commit into
Open
DarkPanda69 wants to merge 1 commit into
DarkPanda69 wants to merge 1 commit into
Conversation
…ev#1506) Since 1d83fd1 (xcl-dev#1133) field_problems also checks main's smoke block, and smoke.ps1 writes "none logged (the run did not reach its end)" as `frames shown` when the run crashes. A PR that fixes a crash shows that crash on main (CONTRIBUTING.md allows it), so it was refused for a non-numeric `frames shown`. That text is now accepted for main's block only; the PR's own block keeps the check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Tested exact head Tested
Not tested
AI use
|
Contributor
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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