PR checks: check out scripts/pr_check.py from github.sha #1869
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1879"
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 microwave805 on 2026-11-24T22:33:25Z.
Under
pull_request_target, GitHub runs.github/workflows/pr-check.ymlfrom the current tip of the base branch (github.sha), whilegithub.event.pull_request.base.shastays pinned to the PR's older base commit until the PR is updated. Checking outscripts/pr_check.pyfrombase.sharan an older version of the checker against newer workflow YAML, bypassingpr_check.pyrules merged ontomainafter the PR opened and risking CLI flag skew (such as--test-only).What is in it
.github/workflows/pr-check.yml: check outref: ${{ github.sha }}instead ofref: ${{ github.event.pull_request.base.sha }}so the workflow YAML andscripts/pr_check.pyalways come from the same base-branch commit.Tested
32.0.16.1742), AMD Ryzen 5 5600X, Windows 11 Pro build 22631, Rust1.100.0(stable-x86_64-pc-windows-msvc), DXC1.9.2602.17, debug build..\scripts\test.ps1on exact head5097ea5: 975 passed, 0 failed, 45 ignored (23GPU testsSKIPPEDon this adapter: 18 wave64 skips — 7 standaloneno wave64+ 11 wave64 subcases — 3 pre-existing per-lane#1426diffs, 1no heap windows, 1 driver-cache disable requiring Windows Developer Mode;XCL_SAMPLE_*env vars unset).Regression run
Not needed: this PR changes only
.github/workflows/pr-check.yml(no runtime code undercrates/xcl/src).Not tested
pull_request_targetworkflow trigger onxcl-dev/xclafter merge.XCL_SAMPLE_*game-data tests.AI use
pull_request_targetref mismatch, wrote the 1-line workflow fix, ran.\scripts\test.ps1on5097ea5, and drafted this description.Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T01:56:44Z.
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-28T20:18:27Z.
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-01T07:02:17Z.
Triage (#1607) – head
5097ea5No open or merged PR makes the same change (#2406 also edits
pr-check.ymlbut adds aBASEenv var and leaves the checkout ref alone). Underpull_request_target,github.shais the current tip of the base branch, sopr_check.pystill comes from main and never from the PR, which matches the workflow's stated intent; only a stalebase.shachecker is avoided.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.