Docs & Scripts: add TESTING.md, deterministic auto-triage, and live testing feed #3218

Merged
raylitebull merged 2 commits from upstream-pr/3218 into main 2026-11-28 21:12:01 +00:00
raylitebull commented 2026-11-28 21:11:15 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by raylitebull on 2026-11-28T21:11:15Z.


Add a standardized #3041 PR testing playbook, deterministic API-only PR auto-triage, and a live machine-readable testing queue feed (testing-feed/queue.json).

What is in it

  • TESTING.md: tiered PR testing guide (Tier 0–3) and exact #3041 merge-check claim/report templates.
  • AGENTS.md, CLAUDE.md, CONTRIBUTING.md, .github/ISSUE_TEMPLATE/config.yml, README.md: link #1833, #1607, #3041, and TESTING.md; update stale ivall/xcl links to xcl-dev/xcl; note #3203 merged nvidia-dev into main.
  • scripts/triage_pr.py, scripts/test_triage_pr.py: deterministic (no-LLM, stdlib-only) classifier for area:*, gpu:*, needs-rebase, needs-pr-check, and #3041 merge-check states, plus GraphQL queue.json feed builder and unit tests.
  • .github/workflows/auto-triage.yml: API-only label sync on PR events and merge-check comments (never checks out untrusted PR code).
  • .github/workflows/testing-feed.yml: scheduled 15-minute workflow publishing gate-passing PRs needing tests to an orphan testing-feed branch (queue.json).
  • .github/workflows/stale.yml: exempt ready-to-merge, raise operations-per-run to 500, and add a faster stale job for conflicted (needs-rebase) PRs.

Tested

  • Windows 11 x64, Python 3.11
  • python -m unittest -v test_triage_pr test_pr_check (in scripts/): 21 passed, 0 failed
  • Read-only live dry-run of python scripts/triage_pr.py build-feed --repo xcl-dev/xcl: scanned 407 green non-draft PRs, produced 82 gate-passing candidates (62 needing tests, 12 ready to merge) in 27 s
  • git diff --check: clean

Regression run

  • Not needed: docs, scripts, and GitHub workflows only (no crates/xcl/src changes).

Not tested

  • Live GitHub Actions execution of auto-triage.yml and testing-feed.yml (activates once merged to main).

AI use

  • Antigravity (Gemini 4 Neon): drafted the documentation, deterministic triage script, unit tests, and GitHub Actions workflows, and verified them locally.
<!-- greyfinch-sync:ivall/xcl:issue:5544610663 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3218). Originally posted by [raylitebull](https://github.com/raylitebull) on 2026-11-28T21:11:15Z. --- Add a standardized `#3041` PR testing playbook, deterministic API-only PR auto-triage, and a live machine-readable testing queue feed (`testing-feed/queue.json`). **What is in it** - `TESTING.md`: tiered PR testing guide (Tier 0–3) and exact `#3041` `merge-check` claim/report templates. - `AGENTS.md`, `CLAUDE.md`, `CONTRIBUTING.md`, `.github/ISSUE_TEMPLATE/config.yml`, `README.md`: link `#1833`, `#1607`, `#3041`, and `TESTING.md`; update stale `ivall/xcl` links to `xcl-dev/xcl`; note `#3203` merged `nvidia-dev` into `main`. - `scripts/triage_pr.py`, `scripts/test_triage_pr.py`: deterministic (no-LLM, stdlib-only) classifier for `area:*`, `gpu:*`, `needs-rebase`, `needs-pr-check`, and `#3041` `merge-check` states, plus GraphQL `queue.json` feed builder and unit tests. - `.github/workflows/auto-triage.yml`: API-only label sync on PR events and `merge-check` comments (never checks out untrusted PR code). - `.github/workflows/testing-feed.yml`: scheduled 15-minute workflow publishing gate-passing PRs needing tests to an orphan `testing-feed` branch (`queue.json`). - `.github/workflows/stale.yml`: exempt `ready-to-merge`, raise `operations-per-run` to 500, and add a faster stale job for conflicted (`needs-rebase`) PRs. **Tested** - Windows 11 x64, Python 3.11 - `python -m unittest -v test_triage_pr test_pr_check` (in `scripts/`): 21 passed, 0 failed - Read-only live dry-run of `python scripts/triage_pr.py build-feed --repo xcl-dev/xcl`: scanned 407 green non-draft PRs, produced 82 gate-passing candidates (62 needing tests, 12 ready to merge) in 27 s - `git diff --check`: clean **Regression run** - Not needed: docs, scripts, and GitHub workflows only (no `crates/xcl/src` changes). **Not tested** - Live GitHub Actions execution of `auto-triage.yml` and `testing-feed.yml` (activates once merged to `main`). **AI use** - Antigravity (Gemini 4 Neon): drafted the documentation, deterministic triage script, unit tests, and GitHub Actions workflows, and verified them locally.
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!3218
No description provided.