Scripts: merge checks need the vendor's card and, for runtime changes, a real title run #3709

Merged
throny merged 3 commits from upstream-pr/3709 into main 2026-12-02 18:22:20 +00:00
throny commented 2026-12-02 16:51:25 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-12-02T16:51:25Z.


The label bot and the testing feed treat a PR with two safe merge checks as ready, even when it targets AMD (gpu:both / gpu:amd) and every check ran on NVIDIA. needs:amd-test is dropped once there are two safe checks (still_needs_testing in compute_managed_labels), and cmd_build_feed puts the PR into ready_to_merge. On 2026-12-02, 15 of the 18 GPU-labelled PRs in one batch listed as ready on #3041 had no safe check on AMD hardware, while main broke on AMD.

Stacked on #3686; only the top two commits belong here. It moves this block into merge_check_state_labels(), and the change sits in that helper.

What is in it

  • scripts/triage_pr.py (second commit): needs:title-run. A PR that changes crates/xcl/src outside test files is ready only when a safe check has a title run: line, a real run of a title into its world (the new line of the #3041 template). #3550 had two safe checks from builds, the suite and diff reads, and crashes the retail title ~100 s into the world. Label created; a PR a maintainer labelled test-only is exempt.
  • scripts/triage_pr.py: missing_vendor_tests(). Vendor-test labels stay, and ready-to-merge waits, until a safe check names that vendor's card. The feed keeps such PRs in items (with needs_amd / needs_nvidia) instead of ready_to_merge.
  • scripts/test_triage_pr.py: a gpu:both PR with two safe checks on NVIDIA only keeps needs:amd-test and is not ready; with one check on AMD, it is ready.
  • .github/workflows/testing-feed.yml: the feed README describes ready_to_merge accordingly.

After Foniass's review: stale.yml exempts needs:amd-test, needs:nvidia-test and needs:title-run, so a PR waiting for that check is not closed as stale. The card a check ran on is read from GPU names only: no bare "AMD" (often the CPU), no wave64, nothing after "not tested", and RTX5070-style names count. The feed's needs_amd / needs_nvidia use the same rule-based targets as the labels and its ready test. Tests cover the review's hardware strings and a gpu:amd-only PR.

Tested

  • Windows 11 26300, Python 3.13: python -m pytest -q scripts/test_triage_pr.py on top of #3686: 29 passed. Without the triage_pr.py changes, the new tests fail (2 failed for the title-run commit).

Regression run

  • Not a runtime change (scripts and a workflow text only).

Not tested

  • The workflows themselves (auto-triage and testing-feed runs on GitHub); the full Rust suite (no Rust code changed).

AI use

  • Claude Code with Claude Opus 5.5 wrote the change, the tests and this description. An independent Claude Opus 5.5 review found the feed consumer the first version missed. I checked the diff.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5610979873 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3709). Originally posted by [throny](https://github.com/throny) on 2026-12-02T16:51:25Z. --- The label bot and the testing feed treat a PR with two safe merge checks as ready, even when it targets AMD (`gpu:both` / `gpu:amd`) and every check ran on NVIDIA. `needs:amd-test` is dropped once there are two safe checks (`still_needs_testing` in `compute_managed_labels`), and `cmd_build_feed` puts the PR into `ready_to_merge`. On 2026-12-02, 15 of the 18 GPU-labelled PRs in one batch listed as ready on #3041 had no safe check on AMD hardware, while main broke on AMD. Stacked on #3686; only the top two commits belong here. It moves this block into `merge_check_state_labels()`, and the change sits in that helper. **What is in it** - `scripts/triage_pr.py` (second commit): `needs:title-run`. A PR that changes `crates/xcl/src` outside test files is ready only when a safe check has a `title run:` line, a real run of a title into its world (the new line of the #3041 template). #3550 had two safe checks from builds, the suite and diff reads, and crashes the retail title ~100 s into the world. Label created; a PR a maintainer labelled `test-only` is exempt. - `scripts/triage_pr.py`: `missing_vendor_tests()`. Vendor-test labels stay, and `ready-to-merge` waits, until a safe check names that vendor's card. The feed keeps such PRs in `items` (with `needs_amd` / `needs_nvidia`) instead of `ready_to_merge`. - `scripts/test_triage_pr.py`: a `gpu:both` PR with two safe checks on NVIDIA only keeps `needs:amd-test` and is not ready; with one check on AMD, it is ready. - `.github/workflows/testing-feed.yml`: the feed README describes `ready_to_merge` accordingly. After Foniass's review: `stale.yml` exempts `needs:amd-test`, `needs:nvidia-test` and `needs:title-run`, so a PR waiting for that check is not closed as stale. The card a check ran on is read from GPU names only: no bare "AMD" (often the CPU), no `wave64`, nothing after "not tested", and `RTX5070`-style names count. The feed's `needs_amd` / `needs_nvidia` use the same rule-based targets as the labels and its ready test. Tests cover the review's hardware strings and a `gpu:amd`-only PR. **Tested** - Windows 11 26300, Python 3.13: `python -m pytest -q scripts/test_triage_pr.py` on top of #3686: 29 passed. Without the `triage_pr.py` changes, the new tests fail (2 failed for the title-run commit). **Regression run** - Not a runtime change (scripts and a workflow text only). **Not tested** - The workflows themselves (auto-triage and testing-feed runs on GitHub); the full Rust suite (no Rust code changed). **AI use** - Claude Code with Claude Opus 5.5 wrote the change, the tests and this description. An independent Claude Opus 5.5 review found the feed consumer the first version missed. I checked the diff. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Foniass commented 2026-12-02 17:05:25 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-02T17:05:25Z.


merge-check
base: 5eaadb54c1
head: 099d729030
merge: clean (with #3686 underneath); git diff --check clean
build: scripts and workflow only (Tier 0); no runtime change, so no cargo build or GPU run needed
tests: on the merge, python -m unittest of scripts/test_triage_pr.py -> 22 tests OK, and scripts/test_pr_check.py -> 13 tests OK
review: read the PR's own commit 099d7290 (+41/-8 across scripts/triage_pr.py, scripts/test_triage_pr.py and testing-feed.yml; the description's +92/-24 / +127 and the auto-triage.yml change are #3686's). missing_vendor_tests() (triage_pr.py ~348) returns each vendor in gpu_targets whose tested_<vendor> is false; that holds back both the ready-to-merge label (~363) and the feed's ready_to_merge (~872), and keeps needs:<vendor>-test when there's no blocking not yet (~370). gpu:both needs both, gpu:amd / gpu:nvidia one; no gpu label behaves as before. Findings: (1) A PR waiting for its vendor check can now be closed as stale. With two safe checks and a vendor missing it gets no state label, only needs:<vendor>-test, and stale.yml ~35 exempts only goal:world-load,keep-open,ready-to-merge, so it is marked stale after 3 idle days and closed after 7; before, it carried ready-to-merge and was exempt. The description mentions it but doesn't fix it; adding needs:amd-test,needs:nvidia-test to that exempt list fixes it. (2) The vendor parsing this now relies on miscounts AMD (unchanged code, but after this PR it's the only thing that clears needs:amd-test). parse_merge_checks (~296-299) reads hardware lines (or the whole body when there's none): hardware: RTX 4090 (not tested on AMD), hardware: RTX 5070 Ti, AMD 9800X3D, Windows 11 (the CPU lookahead only excludes "AMD Ryzen/EPYC/Threadripper/Athlon") and a hardware line mentioning wave64 (in AMD_RE) all count as AMD, so an NVIDIA-only gpu:both PR can still become ready; RTX5070 Ti / GTX1080 (no space) aren't seen as NVIDIA. RX 9070 XT, Radeon 780M iGPU, NVIDIA GeForce RTX 4080, RTX 5070 Ti, AMD Ryzen 7 9800X3D (NVIDIA only), RTX 4080 + RX 6800 (both) and Intel Arc (neither) parse right. (3) The feed decides readiness from different GPU targets than it reports: ready_to_merge (~872) uses the rule-based classify_gpu_targets, while needs_amd / needs_nvidia (~918) use the LLM's gpu_targets when it ran, so a PR can sit in items with both flags false, or be ready with no check on the vendor the LLM named. (4) The new tests set tested_amd directly and cover none of the parsing strings, no gpu:amd- or gpu:nvidia-only case, and nothing in cmd_build_feed. Fine: only checks at the current head count (head: must match, latest per user wins, the author is excluded); a not yet with no safe adds no vendor labels; under #3686's pending gates an old ready-to-merge is dropped and needs:<vendor>-test comes back once the gates are green; the README line matches the code.
performance: none (CI scripts only).
verdict: safe to merge together with the one-line stale.yml change in (1), so PRs waiting for an AMD or NVIDIA check aren't closed as stale; (2)-(4) can follow, though (2) means some NVIDIA-only checks will still clear needs:amd-test until the parser is tightened
hardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 (not used: no GPU code) / Claude Code with Claude Opus 5.5

AI-written and posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7352883943 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3709#issuecomment-7352883943). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-02T17:05:25Z. --- merge-check base: 5eaadb54c14e0fc29597b2a1689d7dbd83491303 head: 099d729030bb182ee31f06cfa39150c0903e90a7 merge: clean (with #3686 underneath); `git diff --check` clean build: scripts and workflow only (Tier 0); no runtime change, so no cargo build or GPU run needed tests: on the merge, `python -m unittest` of `scripts/test_triage_pr.py` -> 22 tests OK, and `scripts/test_pr_check.py` -> 13 tests OK review: read the PR's own commit 099d7290 (+41/-8 across `scripts/triage_pr.py`, `scripts/test_triage_pr.py` and `testing-feed.yml`; the description's +92/-24 / +127 and the `auto-triage.yml` change are #3686's). `missing_vendor_tests()` (`triage_pr.py` ~348) returns each vendor in `gpu_targets` whose `tested_<vendor>` is false; that holds back both the `ready-to-merge` label (~363) and the feed's `ready_to_merge` (~872), and keeps `needs:<vendor>-test` when there's no blocking `not yet` (~370). `gpu:both` needs both, `gpu:amd` / `gpu:nvidia` one; no gpu label behaves as before. Findings: (1) **A PR waiting for its vendor check can now be closed as stale.** With two safe checks and a vendor missing it gets no state label, only `needs:<vendor>-test`, and `stale.yml` ~35 exempts only `goal:world-load,keep-open,ready-to-merge`, so it is marked stale after 3 idle days and closed after 7; before, it carried `ready-to-merge` and was exempt. The description mentions it but doesn't fix it; adding `needs:amd-test,needs:nvidia-test` to that exempt list fixes it. (2) **The vendor parsing this now relies on miscounts AMD** (unchanged code, but after this PR it's the only thing that clears `needs:amd-test`). `parse_merge_checks` (~296-299) reads `hardware` lines (or the whole body when there's none): `hardware: RTX 4090 (not tested on AMD)`, `hardware: RTX 5070 Ti, AMD 9800X3D, Windows 11` (the CPU lookahead only excludes "AMD Ryzen/EPYC/Threadripper/Athlon") and a hardware line mentioning `wave64` (in `AMD_RE`) all count as AMD, so an NVIDIA-only `gpu:both` PR can still become ready; `RTX5070 Ti` / `GTX1080` (no space) aren't seen as NVIDIA. `RX 9070 XT`, `Radeon 780M iGPU`, `NVIDIA GeForce RTX 4080`, `RTX 5070 Ti, AMD Ryzen 7 9800X3D` (NVIDIA only), `RTX 4080 + RX 6800` (both) and `Intel Arc` (neither) parse right. (3) **The feed decides readiness from different GPU targets than it reports:** `ready_to_merge` (~872) uses the rule-based `classify_gpu_targets`, while `needs_amd` / `needs_nvidia` (~918) use the LLM's `gpu_targets` when it ran, so a PR can sit in `items` with both flags false, or be ready with no check on the vendor the LLM named. (4) The new tests set `tested_amd` directly and cover none of the parsing strings, no `gpu:amd`- or `gpu:nvidia`-only case, and nothing in `cmd_build_feed`. Fine: only checks at the current head count (`head:` must match, latest per user wins, the author is excluded); a `not yet` with no `safe` adds no vendor labels; under #3686's pending gates an old `ready-to-merge` is dropped and `needs:<vendor>-test` comes back once the gates are green; the README line matches the code. performance: none (CI scripts only). verdict: safe to merge together with the one-line `stale.yml` change in (1), so PRs waiting for an AMD or NVIDIA check aren't closed as stale; (2)-(4) can follow, though (2) means some NVIDIA-only checks will still clear `needs:amd-test` until the parser is tightened hardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 (not used: no GPU code) / Claude Code with Claude Opus 5.5 AI-written and posted by Foniass without a human check of each point.
throny commented 2026-12-02 17:10:57 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-12-02T17:10:57Z.


@Foniass could you do a merge check of this PR? It's stacked on #3686, which you reviewed, so a check here covers both.

What changed since your #3686 review is the top two commits (Python scripts and tests only, no Rust):

  1. needs:<vendor>-test stays, and ready-to-merge waits, until a safe check ran on that vendor's card, even with two safe checks. The testing feed keeps such PRs in items.
  2. needs:title-run (new label) for runtime changes, until a safe check has a title run: line (real run into a world; the new line in the #3041 template). test-only PRs are exempt.

python -m pytest -q scripts/test_triage_pr.py: 26 passed. It goes into a batch we're testing now: whole suite clean on main 5eaadb54c (3007 passed, 0 failed), world run pending.

AI use: Claude Code (Claude Opus 5.5) wrote this at throny's request.

<!-- greyfinch-sync:ivall/xcl:comment:7353016715 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3709#issuecomment-7353016715). Originally posted by [throny](https://github.com/throny) on 2026-12-02T17:10:57Z. --- @Foniass could you do a merge check of this PR? It's stacked on #3686, which you reviewed, so a check here covers both. What changed since your #3686 review is the top two commits (Python scripts and tests only, no Rust): 1. `needs:<vendor>-test` stays, and `ready-to-merge` waits, until a safe check ran on that vendor's card, even with two safe checks. The testing feed keeps such PRs in `items`. 2. `needs:title-run` (new label) for runtime changes, until a safe check has a `title run:` line (real run into a world; the new line in the #3041 template). `test-only` PRs are exempt. `python -m pytest -q scripts/test_triage_pr.py`: 26 passed. It goes into a batch we're testing now: whole suite clean on main `5eaadb54c` (3007 passed, 0 failed), world run pending. *AI use: Claude Code (Claude Opus 5.5) wrote this at throny's request.*
throny commented 2026-12-02 17:12:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-12-02T17:12:59Z.


Thanks, Foniass. All four points are in, squashed into the commit each one belongs to. Head is now 48ad67d9b:

  1. stale.yml exempts needs:amd-test, needs:nvidia-test (first commit) and needs:title-run (second).
  2. The card is read from GPU names only (HW_NVIDIA_RE / HW_AMD_RE): no bare "AMD", no wave64, nothing after "not tested" / "untested". RTX5070 Ti and GTX1080 count as NVIDIA, and AMD 7900 XTX counts as AMD.
  3. The feed's needs_amd / needs_nvidia come from the same rule-based targets as the labels and its ready_to_merge test.
  4. New tests cover every hardware string from your review, plus a gpu:amd-only PR.

python -m pytest -q scripts/test_triage_pr.py: 28 passed (24 on the first commit alone).

Your check is on 099d7290, so it no longer counts for the new head. Could you re-check 48ad67d9b?

AI use: Claude Code (Claude Opus 5.5) made the changes and wrote this at throny's request.

<!-- greyfinch-sync:ivall/xcl:comment:7353059022 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3709#issuecomment-7353059022). Originally posted by [throny](https://github.com/throny) on 2026-12-02T17:12:59Z. --- Thanks, Foniass. All four points are in, squashed into the commit each one belongs to. Head is now `48ad67d9b`: 1. `stale.yml` exempts `needs:amd-test`, `needs:nvidia-test` (first commit) and `needs:title-run` (second). 2. The card is read from GPU names only (`HW_NVIDIA_RE` / `HW_AMD_RE`): no bare "AMD", no `wave64`, nothing after "not tested" / "untested". `RTX5070 Ti` and `GTX1080` count as NVIDIA, and `AMD 7900 XTX` counts as AMD. 3. The feed's `needs_amd` / `needs_nvidia` come from the same rule-based targets as the labels and its `ready_to_merge` test. 4. New tests cover every hardware string from your review, plus a `gpu:amd`-only PR. `python -m pytest -q scripts/test_triage_pr.py`: 28 passed (24 on the first commit alone). Your check is on `099d7290`, so it no longer counts for the new head. Could you re-check `48ad67d9b`? *AI use: Claude Code (Claude Opus 5.5) made the changes and wrote this at throny's request.*
Foniass commented 2026-12-02 17:19:38 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-02T17:19:38Z.


merge-check
base: 5eaadb54c1
head: 48ad67d9b6
merge: clean (with #3686 underneath); git diff --check clean
build: scripts and workflows only (Tier 0); no runtime change, so no cargo build or GPU run needed
tests: on the merge, python -m unittest of scripts/test_triage_pr.py -> 28 tests OK, and scripts/test_pr_check.py -> 13 tests OK
title run: none: scripts only, no runtime change
review: re-check of 48ad67d9 (my first check here was on 099d7290). Commit d570eda8 is unchanged; 723b6daa carries the fixes (stale.yml exemptions, HW_NVIDIA_RE / HW_AMD_RE / NOT_TESTED_RE, rule_targets in the feed, two tests); 48ad67d9 adds TITLE_RUN_RE, is_runtime_change / needs_title_run and the needs:title-run label (also stale-exempt). My earlier points: (1) the stale closure is fixed for PRs waiting on a vendor check. (2) Mostly fixed: the RTX 5070 Ti / Ryzen 7 7800X3D line now gives NVIDIA only; RX 9070 XT, Radeon 780M, AMD Radeon RX 7900 XTX give AMD; RTX 4080 + RX 6800 both; Steam Deck, Intel Arc and not tested on AMD neither; RTX5070 Ti, GTX1080, 9070 XT, Radeon RX 7900 GRE are now found. Still wrong: Ryzen 7 5800XT, RTX 3070 counts as AMD (\d{4}\s*xt matches the CPU), (tests not run on RDNA) counts as AMD, and not tested on AMD; ran on RX 7800 XT misses the AMD card (the rest of the line is dropped). (3) Fixed: the feed's needs_* and ready test both use rule_targets (untested). (4) Partly fixed: the reported strings and a gpu:amd-only PR are tested; the feed path, the Ryzen "XT" case and labels on a PR with no checks aren't. New, in the title-run rule: (a) almost anything counts as a title run. Any title run: value not starting with none, <, - or n/a counts, so title run: not run, no, skipped, did not run, no retail title, `none` and — all clear needs:title-run, as would a line reporting a crash (#3041 asks for a run with no crash and no device removal); and **title run:** … or - title run: … aren't read, so real runs written that way are missed. (b) The stale bot now spares almost every runtime PR. needs:amd-test / needs:nvidia-test / needs:title-run are also added to PRs with no check at all (still_needs_testing is true when not_yet == 0): a runtime PR with green gates and zero checks gets needs-1st-check + needs:title-run, so it's never closed as stale, against "closed after a week" in CONTRIBUTING.md (and stale.yml's header comment still names only goal:world-load and keep-open). (c) test-only is read from the PR's current labels and survives pushes, while CONTRIBUTING.md says the waiver covers only the revision it was applied to. (d) The feed keeps PRs waiting on a title run in items with no needs_title_run flag, so a tester can't see why. (e) is_runtime_change skips any path containing "test" (fine today, but a future attestation.rs would be skipped). Fine: the title run is read only from safe checks at the current head (valid merge-check first line, matching head:, latest per account, author excluded); the label is managed and cleared correctly on draft / conflict / duplicate / only-not yet; the readiness and feed tests share the rule-based targets.
performance: none (CI scripts only).
verdict: not yet: the title run: parser counts "not run", "skipped", "no" and similar as a run (a); and the stale exemption now also covers runtime PRs with no check at all, so they're never closed after a week (b). Narrowing (a) to a positive form (e.g. require a world / title name and no "not"/"skip"/"no ") and adding the vendor / title-run labels only once a PR has at least one safe check would fix both; (2)'s remaining cases and (c)-(e) can follow
hardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 (not used: no GPU code) / Claude Code with Claude Opus 5.5

AI-written and posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7353186675 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3709#issuecomment-7353186675). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-02T17:19:38Z. --- merge-check base: 5eaadb54c14e0fc29597b2a1689d7dbd83491303 head: 48ad67d9b646935e477eb686e6fa5a725e98f8b9 merge: clean (with #3686 underneath); `git diff --check` clean build: scripts and workflows only (Tier 0); no runtime change, so no cargo build or GPU run needed tests: on the merge, `python -m unittest` of `scripts/test_triage_pr.py` -> 28 tests OK, and `scripts/test_pr_check.py` -> 13 tests OK title run: none: scripts only, no runtime change review: re-check of 48ad67d9 (my first check here was on 099d7290). Commit d570eda8 is unchanged; 723b6daa carries the fixes (`stale.yml` exemptions, `HW_NVIDIA_RE` / `HW_AMD_RE` / `NOT_TESTED_RE`, `rule_targets` in the feed, two tests); 48ad67d9 adds `TITLE_RUN_RE`, `is_runtime_change` / `needs_title_run` and the `needs:title-run` label (also stale-exempt). My earlier points: (1) the stale closure is fixed for PRs waiting on a vendor check. (2) Mostly fixed: the RTX 5070 Ti / Ryzen 7 7800X3D line now gives NVIDIA only; `RX 9070 XT`, `Radeon 780M`, `AMD Radeon RX 7900 XTX` give AMD; `RTX 4080 + RX 6800` both; `Steam Deck`, `Intel Arc` and `not tested on AMD` neither; `RTX5070 Ti`, `GTX1080`, `9070 XT`, `Radeon RX 7900 GRE` are now found. Still wrong: `Ryzen 7 5800XT, RTX 3070` counts as AMD (`\d{4}\s*xt` matches the CPU), `(tests not run on RDNA)` counts as AMD, and `not tested on AMD; ran on RX 7800 XT` misses the AMD card (the rest of the line is dropped). (3) Fixed: the feed's `needs_*` and ready test both use `rule_targets` (untested). (4) Partly fixed: the reported strings and a `gpu:amd`-only PR are tested; the feed path, the Ryzen "XT" case and labels on a PR with no checks aren't. New, in the title-run rule: (a) **almost anything counts as a title run.** Any `title run:` value not starting with `none`, `<`, `-` or `n/a` counts, so `title run: not run`, `no`, `skipped`, `did not run`, `no retail title`, `` `none` `` and `—` all clear `needs:title-run`, as would a line reporting a crash (#3041 asks for a run with no crash and no device removal); and `**title run:** …` or `- title run: …` aren't read, so real runs written that way are missed. (b) **The stale bot now spares almost every runtime PR.** `needs:amd-test` / `needs:nvidia-test` / `needs:title-run` are also added to PRs with no check at all (`still_needs_testing` is true when `not_yet == 0`): a runtime PR with green gates and zero checks gets `needs-1st-check` + `needs:title-run`, so it's never closed as stale, against "closed after a week" in CONTRIBUTING.md (and `stale.yml`'s header comment still names only `goal:world-load` and `keep-open`). (c) `test-only` is read from the PR's current labels and survives pushes, while CONTRIBUTING.md says the waiver covers only the revision it was applied to. (d) The feed keeps PRs waiting on a title run in `items` with no `needs_title_run` flag, so a tester can't see why. (e) `is_runtime_change` skips any path containing "test" (fine today, but a future `attestation.rs` would be skipped). Fine: the title run is read only from safe checks at the current head (valid `merge-check` first line, matching `head:`, latest per account, author excluded); the label is managed and cleared correctly on draft / conflict / duplicate / only-`not yet`; the readiness and feed tests share the rule-based targets. performance: none (CI scripts only). verdict: not yet: the `title run:` parser counts "not run", "skipped", "no" and similar as a run (a); and the stale exemption now also covers runtime PRs with no check at all, so they're never closed after a week (b). Narrowing (a) to a positive form (e.g. require a world / title name and no "not"/"skip"/"no ") and adding the vendor / title-run labels only once a PR has at least one safe check would fix both; (2)'s remaining cases and (c)-(e) can follow hardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 (not used: no GPU code) / Claude Code with Claude Opus 5.5 AI-written and posted by Foniass without a human check of each point.
throny commented 2026-12-02 17:20:19 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-12-02T17:20:19Z.


Both fixed, each squashed into its commit. Head is now bf79dacc3.

  • (a) title run: counts only in a positive form with the time spent in the world (300 s, 15 min). not run, no run, skipped, none, n/a, did not reach … and the placeholder don't count. A run without a time doesn't count either. no crash / no device removal still count, since they describe a run. Tests cover these strings.
  • (b) The vendor and title-run labels appear only once a PR has a safe check (still_needs_testing = safe >= 1), so an unchecked runtime PR goes stale as before. New test test_unchecked_pr_gets_no_vendor_label.

python -m pytest -q scripts/test_triage_pr.py: 29 passed (25 on the first commit alone).

AI use: Claude Code (Claude Opus 5.5) made the changes and wrote this at throny's request.

<!-- greyfinch-sync:ivall/xcl:comment:7353198576 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3709#issuecomment-7353198576). Originally posted by [throny](https://github.com/throny) on 2026-12-02T17:20:19Z. --- Both fixed, each squashed into its commit. Head is now `bf79dacc3`. - **(a)** `title run:` counts only in a positive form with the time spent in the world (`300 s`, `15 min`). `not run`, `no run`, `skipped`, `none`, `n/a`, `did not reach …` and the placeholder don't count. A run without a time doesn't count either. `no crash` / `no device removal` still count, since they describe a run. Tests cover these strings. - **(b)** The vendor and title-run labels appear only once a PR has a safe check (`still_needs_testing = safe >= 1`), so an unchecked runtime PR goes stale as before. New test `test_unchecked_pr_gets_no_vendor_label`. `python -m pytest -q scripts/test_triage_pr.py`: 29 passed (25 on the first commit alone). *AI use: Claude Code (Claude Opus 5.5) made the changes and wrote this at throny's request.*
Foniass commented 2026-12-02 17:27:35 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-02T17:27:35Z.


merge-check
base: 5eaadb54c1
head: bf79dacc3c
merge: clean (with #3686 underneath); git diff --check clean
build: scripts and workflows only (Tier 0); no runtime change, so no cargo build or GPU run needed
tests: on the merge, python -m unittest of scripts/test_triage_pr.py -> 29 tests OK, and scripts/test_pr_check.py -> 13 tests OK
title run: none: scripts only, no runtime change
review: re-check of bf79dacc (my last check was on 48ad67d9). git range-diff: commit 1 (d570eda8) unchanged; commit 2 (now c6264ed2) only changes still_needs_testing to safe >= 1 and adds test_unchecked_pr_gets_no_vendor_label; commit 3 (bf79dacc) replaces the prefix check with is_title_run(), which counts a line only with a time (TITLE_RUN_TIME_RE) and no negative phrase (TITLE_RUN_NEGATIVE_RE). (b) Fixed: for a runtime PR, 0 safe / 0 not-yet gives only needs-1st-check and can go stale again; 1 safe / 0 not-yet gives needs-2nd-check, needs:amd-test, needs:nvidia-test and needs:title-run; 1 / 1 adds checks-disagree. (a) The clear negatives are fixed: not run, did not run (no retail title), skipped, n/a, —, `none` and 2 min of the main menu, did not reach the world no longer count; 300 s in the world, no crash, world reached in 15 min and 300s do. Left, none blocking: a few lines still count that shouldn't (crashed after 300 s, 300 s, device removed, 0 s, 300 s on testtitle (no retail title), haven't run it, 300 s target, TODO 300 s), though each needs a safe check that contradicts itself; **title run:** 300 s and - title run: 300 s are missed (TITLE_RUN_RE is anchored at ^\s*title run), as are 5m / 1h, and no GPU crash, 300 s is refused. The negative regex could add haven't, wasn't, hasn't, todo and a zero duration, and no test covers the markdown forms or the testtitle case. Still open from before: Ryzen 7 5800XT, RTX 3070 counts as AMD (\d{4}\s*xt), RTX 4070 (tests not run on RDNA) counts as AMD, not tested on AMD; ran on RX 7800 XT finds no vendor; test-only is read from the current labels and survives pushes; the feed has no needs_title_run flag; is_runtime_change skips any path containing "test". Fine: the gating change is small and tested, labels wait for a safe check, and the regexes are compiled once.
performance: none (CI scripts only).
verdict: safe to merge: both blockers from my last check are fixed; what's left are parser edge cases that need a self-contradicting check to matter (or err on the strict side), and can follow in a small PR
hardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 (not used: no GPU code) / Claude Code with Claude Opus 5.5

AI-written and posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7353324575 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3709#issuecomment-7353324575). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-02T17:27:35Z. --- merge-check base: 5eaadb54c14e0fc29597b2a1689d7dbd83491303 head: bf79dacc3c3af718237408a95d2c0804497964c3 merge: clean (with #3686 underneath); `git diff --check` clean build: scripts and workflows only (Tier 0); no runtime change, so no cargo build or GPU run needed tests: on the merge, `python -m unittest` of `scripts/test_triage_pr.py` -> 29 tests OK, and `scripts/test_pr_check.py` -> 13 tests OK title run: none: scripts only, no runtime change review: re-check of bf79dacc (my last check was on 48ad67d9). `git range-diff`: commit 1 (d570eda8) unchanged; commit 2 (now c6264ed2) only changes `still_needs_testing` to `safe >= 1` and adds `test_unchecked_pr_gets_no_vendor_label`; commit 3 (bf79dacc) replaces the prefix check with `is_title_run()`, which counts a line only with a time (`TITLE_RUN_TIME_RE`) and no negative phrase (`TITLE_RUN_NEGATIVE_RE`). (b) Fixed: for a runtime PR, 0 safe / 0 not-yet gives only `needs-1st-check` and can go stale again; 1 safe / 0 not-yet gives `needs-2nd-check`, `needs:amd-test`, `needs:nvidia-test` and `needs:title-run`; 1 / 1 adds `checks-disagree`. (a) The clear negatives are fixed: `not run`, `did not run (no retail title)`, `skipped`, `n/a`, `—`, `` `none` `` and `2 min of the main menu, did not reach the world` no longer count; `300 s in the world, no crash`, `world reached in 15 min` and `300s` do. Left, none blocking: a few lines still count that shouldn't (`crashed after 300 s`, `300 s, device removed`, `0 s`, `300 s on testtitle (no retail title)`, `haven't run it, 300 s target`, `TODO 300 s`), though each needs a safe check that contradicts itself; `**title run:** 300 s` and `- title run: 300 s` are missed (`TITLE_RUN_RE` is anchored at `^\s*title run`), as are `5m` / `1h`, and `no GPU crash, 300 s` is refused. The negative regex could add `haven't`, `wasn't`, `hasn't`, `todo` and a zero duration, and no test covers the markdown forms or the testtitle case. Still open from before: `Ryzen 7 5800XT, RTX 3070` counts as AMD (`\d{4}\s*xt`), `RTX 4070 (tests not run on RDNA)` counts as AMD, `not tested on AMD; ran on RX 7800 XT` finds no vendor; `test-only` is read from the current labels and survives pushes; the feed has no `needs_title_run` flag; `is_runtime_change` skips any path containing "test". Fine: the gating change is small and tested, labels wait for a safe check, and the regexes are compiled once. performance: none (CI scripts only). verdict: safe to merge: both blockers from my last check are fixed; what's left are parser edge cases that need a self-contradicting check to matter (or err on the strict side), and can follow in a small PR hardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 (not used: no GPU code) / Claude Code with Claude Opus 5.5 AI-written and posted by Foniass without a human check of each point.
Foniass commented 2026-12-02 18:18:11 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-02T18:18:11Z.


merge-check
base: 5eaadb54c1
head: 1dbae090ae
merge: clean (with #3686 underneath); git diff --check clean
build: scripts and workflows only (Tier 0); no runtime change, so no cargo build or GPU run needed
tests: on the merge, python -m unittest of scripts/test_triage_pr.py -> 29 tests OK, and scripts/test_pr_check.py -> 13 tests OK
title run: none: scripts only, no runtime change
review: re-check of 1dbae090, recommitted from bf79dacc (my last check) with the same parent and an identical patch (git range-diff: =, only the committer date differs), so the review of bf79dacc below still applies as is; the tests were rerun on this head. git range-diff: commit 1 (d570eda8) unchanged; commit 2 (now c6264ed2) only changes still_needs_testing to safe >= 1 and adds test_unchecked_pr_gets_no_vendor_label; commit 3 (bf79dacc) replaces the prefix check with is_title_run(), which counts a line only with a time (TITLE_RUN_TIME_RE) and no negative phrase (TITLE_RUN_NEGATIVE_RE). (b) Fixed: for a runtime PR, 0 safe / 0 not-yet gives only needs-1st-check and can go stale again; 1 safe / 0 not-yet gives needs-2nd-check, needs:amd-test, needs:nvidia-test and needs:title-run; 1 / 1 adds checks-disagree. (a) The clear negatives are fixed: not run, did not run (no retail title), skipped, n/a, —, `none` and 2 min of the main menu, did not reach the world no longer count; 300 s in the world, no crash, world reached in 15 min and 300s do. Left, none blocking: a few lines still count that shouldn't (crashed after 300 s, 300 s, device removed, 0 s, 300 s on testtitle (no retail title), haven't run it, 300 s target, TODO 300 s), though each needs a safe check that contradicts itself; **title run:** 300 s and - title run: 300 s are missed (TITLE_RUN_RE is anchored at ^\s*title run), as are 5m / 1h, and no GPU crash, 300 s is refused. The negative regex could add haven't, wasn't, hasn't, todo and a zero duration, and no test covers the markdown forms or the testtitle case. Still open from before: Ryzen 7 5800XT, RTX 3070 counts as AMD (\d{4}\s*xt), RTX 4070 (tests not run on RDNA) counts as AMD, not tested on AMD; ran on RX 7800 XT finds no vendor; test-only is read from the current labels and survives pushes; the feed has no needs_title_run flag; is_runtime_change skips any path containing "test". Fine: the gating change is small and tested, labels wait for a safe check, and the regexes are compiled once.
performance: none (CI scripts only).
verdict: safe to merge: both blockers from my last check are fixed; what's left are parser edge cases that need a self-contradicting check to matter (or err on the strict side), and can follow in a small PR
hardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 (not used: no GPU code) / Claude Code with Claude Opus 5.5

AI-written and posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7354327542 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3709#issuecomment-7354327542). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-02T18:18:11Z. --- merge-check base: 5eaadb54c14e0fc29597b2a1689d7dbd83491303 head: 1dbae090ae51906040e2fcecad01313e3b21facf merge: clean (with #3686 underneath); `git diff --check` clean build: scripts and workflows only (Tier 0); no runtime change, so no cargo build or GPU run needed tests: on the merge, `python -m unittest` of `scripts/test_triage_pr.py` -> 29 tests OK, and `scripts/test_pr_check.py` -> 13 tests OK title run: none: scripts only, no runtime change review: re-check of 1dbae090, recommitted from bf79dacc (my last check) with the same parent and an identical patch (`git range-diff`: `=`, only the committer date differs), so the review of bf79dacc below still applies as is; the tests were rerun on this head. `git range-diff`: commit 1 (d570eda8) unchanged; commit 2 (now c6264ed2) only changes `still_needs_testing` to `safe >= 1` and adds `test_unchecked_pr_gets_no_vendor_label`; commit 3 (bf79dacc) replaces the prefix check with `is_title_run()`, which counts a line only with a time (`TITLE_RUN_TIME_RE`) and no negative phrase (`TITLE_RUN_NEGATIVE_RE`). (b) Fixed: for a runtime PR, 0 safe / 0 not-yet gives only `needs-1st-check` and can go stale again; 1 safe / 0 not-yet gives `needs-2nd-check`, `needs:amd-test`, `needs:nvidia-test` and `needs:title-run`; 1 / 1 adds `checks-disagree`. (a) The clear negatives are fixed: `not run`, `did not run (no retail title)`, `skipped`, `n/a`, `—`, `` `none` `` and `2 min of the main menu, did not reach the world` no longer count; `300 s in the world, no crash`, `world reached in 15 min` and `300s` do. Left, none blocking: a few lines still count that shouldn't (`crashed after 300 s`, `300 s, device removed`, `0 s`, `300 s on testtitle (no retail title)`, `haven't run it, 300 s target`, `TODO 300 s`), though each needs a safe check that contradicts itself; `**title run:** 300 s` and `- title run: 300 s` are missed (`TITLE_RUN_RE` is anchored at `^\s*title run`), as are `5m` / `1h`, and `no GPU crash, 300 s` is refused. The negative regex could add `haven't`, `wasn't`, `hasn't`, `todo` and a zero duration, and no test covers the markdown forms or the testtitle case. Still open from before: `Ryzen 7 5800XT, RTX 3070` counts as AMD (`\d{4}\s*xt`), `RTX 4070 (tests not run on RDNA)` counts as AMD, `not tested on AMD; ran on RX 7800 XT` finds no vendor; `test-only` is read from the current labels and survives pushes; the feed has no `needs_title_run` flag; `is_runtime_change` skips any path containing "test". Fine: the gating change is small and tested, labels wait for a safe check, and the regexes are compiled once. performance: none (CI scripts only). verdict: safe to merge: both blockers from my last check are fixed; what's left are parser edge cases that need a self-contradicting check to matter (or err on the strict side), and can follow in a small PR hardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 (not used: no GPU code) / Claude Code with Claude Opus 5.5 AI-written and posted by Foniass without a human check of each point.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!3709
No description provided.