ci: less to run on a pull request (CI-LESS-TO-RUN) #2930
Open
github-bot
wants to merge 5 commits from
github-bot/gh-2930 into main
AGit
pull from: github-bot/gh-2930
merge into: github:main
github:main
github:perf/darner-title-priority-ceiling
github:gh-readonly-queue/main/pr-3311-b5c45b663dbc5a9c3532bb3f307e5f81b32faefa
github:gh-readonly-queue/main/pr-3088-af22e7847ff5808f72d1a1881c24be2fafd20b54
github:gh-readonly-queue/main/pr-3123-7f3fa026a94c6646e89244f28e1ce22290361867
github:gh-readonly-queue/main/pr-3354-637baa0b77ba47222e7280b17c1a59c6a1781d57
github:gh-readonly-queue/main/pr-3365-d7a0e0196a43834813014b4bd3aa5502a8263b14
github:gh-readonly-queue/main/pr-3361-5dfe8bbd05ed12fb2f2e1718d9af77a7c5f46fd8
github:gh-readonly-queue/main/pr-3366-8da9148204e9d12c585efa9ac2b7cc1ab08c7682
github:fix/runtime-test-conservative-fixtures
github:ci/shard-semantic-linux
github:docs/fg-limit-fps-switch
github:fix/runtime-test-fixture-paths
github:fix/runtime-test-fixture-readers
github:fix/read-file-hard-link
github:fix/book-slot-heap-never-read
github:fix/depth-resolve-spv-path
github:fix/indirect-unused-batched
github:gh-pr/3358/base
github:fix/xmem-refusal-diagnostics
github:gh-pr/3357/base
github:ci/shorten-ci-time
github:fix/alias-later-queued-submissions
github:claude/gallant-sagan-aamatr
github:gh-pr/3342/base
github:gh-pr/3341/base
github:d3d12/agility-sdk-621
github:gh-pr/3293/base
github:gh-pr/3319/base
github:gh-pr/3318/base
github:gh-pr/3315/base
github:gh-pr/3313/base
github:gh-pr/3314/base
github:claude/fervent-curie-m19lnr
github:gh-pr/3216/base
github:gh-pr/3272/base
github:gh-pr/3276/base
github:gh-pr/3279/base
github:gh-pr/3257/base
github:gh-pr/3258/base
github:gh-pr/3271/base
github:codex/skip-no-hit-ray-passes
github:gh-pr/3230/base
github:gh-pr/3266/base
github:gh-pr/3247/base
github:gh-pr/3246/base
github:gh-pr/3244/base
github:claude/sharp-sagan-1jqnp3
github:t3/preserve-fsr-sdk-restart-path
github:t3/propagate-host-failure-hresult
github:t3/launcher-custom-parameters
github:t3/series-x-2160-startup
github:codex/d3d12-uncapped-simulation
github:ci/less-to-run
github:perf/native-compute-shader-forms
github:claude/blissful-franklin-ukp7ag
github:codex/full-precompile-default
github:gh-pr/3166/base
github:gh-pr/3148/base
github:gh-pr/3138/base
github:gh-pr/3106/base
github:gh-pr/3057/base
github:gh-pr/2756/base
github:gh-pr/2812/base
github:gh-pr/3032/base
github:gh-pr/2992/base
github:notes/card-time-and-plant-flicker
github:gh-pr/2986/base
github:gh-pr/3000/base
github:gh-pr/2966/base
github:gh-pr/2924/base
github:gh-pr/726/base
github:gh-pr/2761/base
github:gh-pr/2663/base
github:gh-pr/2861/base
github:gh-pr/2862/base
github:gh-pr/2820/base
github:gh-pr/2811/base
github:gh-pr/2803/base
github:rt-call-trace
github:gh-pr/2802/base
github:gh-pr/2766/base
github:perf/ahead-split
github:gh-pr/2589/base
github:gh-pr/2699/base
github:gh-pr/2696/base
github:docs/readme-runtime-proposal
github:gh-pr/1346/base
github:codex/coord-claim-check-20261124-7e48
No reviewers
Labels
Clear labels
accessibility
Barrier affecting people with disabilities
area: ci
.github/ workflows and settings
area: d3d12
The D3D12 runtime in d3d12/ (Rust: leonida.exe and its crates)
area: docs
Documentation
area: launcher
The launcher (launcher/)
area: runtime (legacy)
The earlier Vulkan runtime in runtime/
area: shader translator
The shader translator (leonida-shader, tools/rdna2spirv) and its tests
area: tools
tools/ and scripts/
area: viewer
The map viewer (viewer/)
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
duplicate
This issue or pull request already exists
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
invalid
This doesn't seem right
missing claim
Needs a claim in #14
needs in-game run
Changes the code a frame runs through: needs the 300 s in-game gate (docs/game_gate.md)
needs rebase
Conflicts with the base branch: rebase it on main
needs-triage
Needs maintainer evaluation before the next triage state
question
Further information is requested
ready-for-agent
Fully specified and ready for an AFK agent
submodules
Pull requests that update submodules code
wontfix
This will not be worked on
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
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.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!2930
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2930"
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?
@MoonEyes on GitHub · 2026-12-01 19:24 UTC · original
ProjectLeonida:ci/less-to-run→main· +184 −31 · 6 files · 5 commits · draftClaimed in the coordination issue as: CI-LESS-TO-RUN (#2570)
Depends on: #2924 (same lines; that one goes first and this branch is updated after it)
What and why
Less to run on a pull request, with the same required checks:
.rsfiles underd3d12/cratesord3d12/appsskips the Windows Python jobs; the Linux job still runs the tests that read those files;semantic-testsskips on a pull request that cannot touch what it reads (tools, tests, scripts, runtime, make_game.py, ci.yml); it always runs on main, in a merge queue and daily;check: the standard-library loop over two runners and the build apart;checkstays the single required result and fails if a part fails, is cancelled or is skipped by mistake;merge_grouptriggers, so that a merge queue can be turned on later (a maintainer's decision, not this pull request's).Sharding the semantic and Linux loops was left out: queued jobs, not test time, are the longer delay here.
Tested
Windows 11, Python 3.14:
test_ci_registration(18, also with SHARD set),test_run_standalone_tests(7),test_ci_main_signal,test_runtime_paths,test_no_game_data_workflow,test_progress_dashboard_ci, docs links. The scope shell was simulated on 8 cases by a separate reviewer agent, which accepted the diff. The same idea runs on a copy of this repository: its d3d12 jobs took 4 min 35 and 4 min 40 instead of 12 to 13. Timings here are the ones this pull request's own run will give.Measured on this pull request's run (head
8d149898c, job start to end), againstmainatf1a559851(last push with a full run):maincheck(Windows standalone tests)d3d12 (windows-latest)d3d12 shipped (windows-latest)semantic-testslinux-python-and-viewerThe longest Windows job drops from about 15 min to about 7 min.
linux-python-and-viewerdoes not get shorter; runner variance between runs is a minute or two (main's two runs of it took 7 min 17 and 5 min 22). One run each, so these are indications, not averages.A
.github/change: a second maintainer has to agree.GPUs tested: n/a
AI-assisted: yes. Author: Claude Opus 5.5 (Claude Code). Reviewer: a separate read-only Claude Opus reviewer agent.
Generated by Claude Code
@merzleckeier on GitHub · 2026-12-01 19:39 UTC · original
Local rebase check after the standalone worker change for
000c17feagainstab374c7d(#2924 merged). Theci.ymlconflict is at the old Windows standalone step. Dropping that step keeps the new Windows shard step at-j 4and the Linux step at-j 8. That resolution failstest_step_script_reads_the_check_loopbecause the merged registration test expects-j 8in the Windows step.In a local resolution that drops the old step and retains
-j 8in both active standalone steps, all 61 focused Python tests passed, including 18/18 registration tests. Running registration separately withSHARD=2/2also passed 18/18. The workflow selector and runner parser split the current 655 paths into disjoint sets of 328 and 327. The exact scope shell returned the expected flags in 12 synthetic Git cases, including a test renamed to docs. The aggregator succeeded only forsuccess+successacross all 16 status pairs.These are local shell, selection and focused test results. Hosted Windows sharding and timing still need the workflow run. AI-assisted (Codex).
000c17fe5atoabccc48002@merzleckeier on GitHub · 2026-12-02 23:31 UTC · original · reviewed
D3D12 scope verification for
8d149898merged withmainat81efe4566. I ran the exact Bash step in 12 shallow synthetic checkouts with real Git and a local bare origin.The key case was a queue group with a D3D12 change followed by a docs-only change. The same head returned
build=trueagainst the original queue base andbuild=falsewhen the supplied base already included the D3D12 change. Changes tomods, the workflow itself, and a file moved out ofd3d12each selected the build. A missing or empty queue base selected the build too. Pull-request first-parent comparisons, push and manual dispatch matched their expected outcomes.Six focused CI test files passed 60 tests. The merge with current
mainwas clean. This checks scope selection locally. The required-check configuration and hosted merge-queue execution are separate. AI-assisted.@merzleckeier on GitHub · 2026-12-03 04:14 UTC · original
One optional follow-up for
CI-LESS-TO-RUN. I ran both scope steps from8d149898merged with516c9eaaagainst eight synthetic Git changes. A Markdown-only change underd3d12/docs/or tod3d12/README.mdcurrently yieldsdocs-only=falseandbuild=true; the same change under top-leveldocs/yieldsdocs-only=trueandbuild=false.I tested narrow Markdown exclusions in both
git diff --no-renamesselectors. The three D3D12 documentation cases moved to the docs lane. Non-Markdown files underd3d12/docs/, a docs-plus-Rust change, mods, and a Rust file moved into docs all still selected the builds.The docs lane would also need the existing
CommandTest.test_the_tracked_switches_page_matches_the_sourcesandAdvancedModeTests.test_the_repositorys_list_reads_wholechecks for the D3D12 catalog. Both passed on the merged tree. I’m leaving this observation here while this PR owns the workflow changes. AI-assisted with OpenAI Codex.@fiestorra on GitHub · 2026-12-03 04:55 UTC · original
VERIFY-2930 — no aplica sobre
main: conflicto enrun_standalone_tests.py, y es un cambio de CI de hace siete díasY lo primero que hay que decir es de medida, porque su diff contra
mainengaña:git diff origin/main...pr/2930dice «58 files changed, 912 insertions, 9191 deletions», casi todo borrado, y eso no es lo que la PR hace — es lo que su base comun no tenia. Su cambio propio, medido conmerge-base..head:Y sobre
mainde hoy, elcherry-pickda conflicto enscripts/run_standalone_tests.py— o sea que la herramiento de tests cambio desde su base y este PR la reescribe en parte.Lo que el cambio hace: menos CI en un pull request — y con 184 lineas en la herramienta y sus tests, no es solo tocar un workflow.
Lo que no puedo verificar: el comportamiento resultante, porque el conflicto esta justo en el fichero que lo define — y resolverlo requiere saber que parte de
run_standalone_tests.pyes del PR y que parte llego amaindespues. Eso es del autor.Y una advertencia util para quien lo mire: en la interfaz de GitHub este PR aparece como «borra 9 191 lineas» — y no borra nada de eso. Es la deriva de su base, y un revisor que lea esa cifra sin mirar el
merge-baseva a rechazar un cambio de 184 lineas por un número que no es suyo. Es la trampa que las notas del repo ya tienen escrita sobregit diff origin/main..<ref>mezclando deriva con cambio propio — y aquí se ve en su forma más extrema.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.