Commit Graph

211 Commits

Author SHA1 Message Date
5922f9fc5b Merge pull request #2663 from zmasi/fix/d3d12-depth-bounds-test-flake
d3d12-gpu: keep depth stage active on WARP for bounds-only pipelines (D3D12-DEPTH-BOUNDS-TEST-FLAKE)
2026-12-02 00:48:56 +00:00
c4058242c9 ci: the workflows behind main's required checks also run on merge_group (CI-MERGE-QUEUE)
So a merge queue can be turned on for main. `ci.yml` (change-scope, check,
linux-python-and-viewer, semantic-tests) and `no-game-data.yml` (no-game-data)
gain a `merge_group:` trigger. In the queue `change-scope` is skipped (it reads
a pull request's diff), which counts as passed for a required check, and the
jobs after it run in full. Their concurrency groups fall back to run_id there,
so queued runs never cancel each other.

Agreed to by a second human maintainer (Aslan).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 20:57:13 +01:00
968602e474 ci: the standard-library test steps run 8 files at a time instead of 4 (CI-STANDALONE-J8)
On main's last green run the `check` job took ~12.5 min, 10.5 of them in
"Tests (standard library only, no game data)": 655 files, one Python process
each, 4 at a time on a 4-core runner. The Linux step of
`linux-python-and-viewer` took ~5 min the same way. Eight at a time is tried
to shorten both without asking for more runners; this pull request's own CI
gives the timings to compare.

Agreed to by a second human maintainer (Aslan).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 19:38:39 +01:00
dfce074a05 ci: exclude deprecated legacy C++ runtime/ from automatic CI runs 2026-12-01 12:43:58 -05:00
0abaae0d7e ci: drop depth_bounds_pipeline_loads_and_filters_draws skip in d3d12 workflow
AI-assisted: yes
2026-12-01 06:54:21 -08:00
a726736ec2 Merge pull request #1774 from Tauwni/fix/explicit-lod-bias-moltenvk
rdna2spirv: --explicit-lod-bias applies the S# LOD bias where MoltenVK drops the sampler's; ps_ssharp passes on Macs (SHADER-EXPLICIT-LOD-BIAS-MVK)
2026-12-01 12:45:24 +01:00
b121bc0bab ci: build and test the d3d12 Rust runtime on Windows (CI-D3D12-CARGO-TEST) (#2648)
* d3d12: min/max samplers honour filterMinmaxImageComponentMapping (D3D-994)

Without VkPhysicalDeviceSamplerFilterMinmaxProperties::
filterMinmaxImageComponentMapping, a minimum/maximum reduction defines
only the R component of a sample; G, B and A are undefined. The AMD
Windows driver on Polaris (RX 580) reports singleComponentFormats = 1
and imageComponentMapping = 0, and returns exactly that: R is correct,
G/B/A vary.

The layer now records the property in VulkanDeviceInfo and logs once
when it creates a reduction sampler on a device without it. The
descriptor test compares R only on such devices, and all four channels
where the device maps every component.

* d3d12: say when the driver's pipeline cache stops keeping new pipelines (RT-PIPELINE-CACHE-GROWTH-STALL)

A driver can stop adding to a large VkPipelineCache with no error. On NVIDIA 610.88 a 1.23 GB or 1.35 GB cache
came back the same size to the byte after a 2 s compile, so the next run compiles the same pipelines again and
nothing says why. The runtime now takes the cache's size at creation and at each session save, counts the title's
pipeline builds that took at least 200 ms, and logs once when 16 or more compiled while the cache grew less than
64 KiB. pipeline_cache_store_test covers the decision; docs/d3d12_vulkan.md records the measurements.

* docs: rewrap the pipeline cache growth paragraph (RT-PIPELINE-CACHE-GROWTH-STALL)

* d3d12_xs: say so when LEONIDA_D3D12=vulkan is asked of a runtime built without the Vulkan device (RT-VULKAN-REQUESTED-NOT-BUILT)

A gta6rt configured without Vulkan headers is built without
LEONIDA_VULKAN_DEVICE. D3D12XboxCreateDevice then ignored
LEONIDA_D3D12=vulkan without a word and wrapped the host's D3D12 device,
so a run stopped somewhere else and read like a boot result.

It now prints one [rt] d3d12_xs line naming the cause and the configure
options. Which device is created does not change. The reading of the
variable moves to shims/d3d12_backend.h, used by both builds; new CPU-only
test d3d12_backend, registered outside the Vulkan-headers block.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* d3d12: frame-time percentiles and what stalls frames, in the log and on the panel (D3D12-FRAME-TIME-STATS)

The frame-rate line gives a mean over the last second or more, and the F3
panel only the longest frame, so a run with smooth frames and a few
multi-second stalls looks like a slow one, and the stalls do not show.

host/frametime.rs keeps every presented frame's time. With the frame-rate
line, every five seconds, it logs one line: the median, 95th and 99th
percentiles (nearest rank), the longest frame, how many took over 100 ms
and over a second, and beside them host pipelines queued and made a second,
waits for new memory to be resident per frame, and the commit the system has
left. The panel shows the last line's numbers and the pipeline wait per
frame. Pure parts are unit-tested.

* d3d12: frame-time panel lines fit long stalls, the first line counts from the first present (review)

- Panel: frame times of 10 s or more (the launcher's pipeline budget) made
  the percentile line longer than 40 columns, and the panel cut it without
  a sign ("MAX 10000" showed as "MAX 100"). Times from 10 s up are shown in
  whole seconds ("10S"); the test covers 10 s, 100 s and 10 min.
- The first line's pipelines made a second and residency waits counted
  everything since the process started: the meter now starts from the
  totals at the first present.
- "queued" was queued or being made: the log says so, the panel says
  PIPES PENDING.
- The nearest-rank test covers 95% of 100 frames, where a float ceil would
  take the 96th.

* d3d12: a pipeline a frame waits for goes before those asked for earlier (D3D12-PIPELINE-WAIT-QUEUE)

A draw whose host pipeline is not made queues it at the back of the
requested list, and its frame then waits for it up to the frame's budget.
On the first visit to the world about 1,700 pipelines were queued at once,
562 of them took over a second each, and with the launcher's 10 s budget
every frame waited the whole budget for a pipeline a thousand others stood
before, then dropped its draws anyway: 0.35 fps for three and a half
minutes (RTX 3080, 8 workers).

A new queue state, AWAITED, sits between REQUESTED and MAKING. When a frame
starts waiting for a pipeline that is still in the queue, the entry moves
to the front of its list (passes over the screen in theirs), after those
awaited before it, so the next free worker makes it. It moves at most once,
is never claimed twice, and WAITING does not count it again; makes already
running are not interrupted. LEONIDA_PIPELINE_AWAIT_FIRST=0 keeps the order
asked.

Frames on a cold cache still wait up to the frame's budget: the waits now
succeed, so a frame may spend its budget on several pipelines it then draws
instead of one it drops. The budget setting bounds that, as before.

* ci: build and test the d3d12 Rust runtime on Windows (CI-D3D12-CARGO-TEST)

No workflow ran the d3d12/ workspace tests. This adds one on windows-latest for changes under d3d12/: build, then cargo test as the gate (no GPU, no game data). The xtask asset-policy test and clippy -D warnings both fail on main today (two sources over the 640 KiB limit; about 25 clippy findings), so they run as reports until fixed. cargo fmt is left out: it would reformat most of the tree under the open d3d12 pull requests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* d3d12: a frame's pipeline wait counts the queue lock its promotion waits for (review)

wait() started its timer after promote() took the queue's lock, so time
spent waiting for that lock came on top of the frame's budget: in a
synthetic contention test (queue held 240 ms, 80 ms budget) a frame waited
320 ms. The timer now starts before the promotion, so the lock delay is part
of the budget (240 ms in the same test, the lock holder's time itself).
Reported with the test by merzleckeier.

* ci: d3d12 workflow follows TheGeogeo's review

mods/** in the paths (leonida-lua's tests read mods/example_lua), a build with the features people run, the replay
test of leonida-gpu (diagnostics), a cache of Cargo's downloads, a limit on the test step. d3d12/.github/workflows/ci.yml
is removed: GitHub runs workflows only from the repository's root.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: skip the depth bounds test on the runner's software adapter until #2663

It is the only failure of the job, and it hides the crates after leonida-gpu and the replay test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Zilumz1 <221744236+Zilumz1@users.noreply.github.com>
Co-authored-by: Galaxy <jojomalrbx@gmail.com>
Co-authored-by: quartz-heron-58 <245169279+quartz-heron-58@users.noreply.github.com>
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-authored-by: OreoFR <29048345+OreoFR@users.noreply.github.com>
Co-authored-by: Galaxy <23423870+thegalaxydev@users.noreply.github.com>
Co-authored-by: TheGeogeo <57634077+TheGeogeo@users.noreply.github.com>
Co-authored-by: MoonEyes <14891700+MoonEyes@users.noreply.github.com>
2026-12-01 11:43:23 +01:00
d99ba5c095 Merge main: drop the macos job as main does, keep this PR's runtime.yml path filters
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:24:47 +01:00
ae90109e79 ci(runtime): disable macOS CI job for now
The runtime and GPU test suite passes on real Apple Silicon hardware, while the hosted macos-26 paravirtual VM runner hits MoltenVK-specific failures on main. Disable the macos job in .github/workflows/runtime.yml and document it in docs/testing.md while keeping all Windows, Wine, and Linux CI jobs intact.
2026-11-30 11:18:37 -05:00
ab09fd1f86 Merge main: keep --no-ftz32 and --integer-dot-fallback next to --explicit-lod-bias
tools/rdna2spirv.py: main's float-only typed implicit sample (OpImageSampleImplicitLod)
is used only without --explicit-lod-bias; with the flag the Grad path still
scales the derivatives by the S# bias.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 11:46:44 +01:00
b8508a974b Merge branch 'main' of https://github.com/ProjectLeonida/mandy into fix/rendering-correctness
# Conflicts:
#	tests/semantic/test_interp_computed_ij_fallback.py
2026-11-30 04:36:05 -05:00
d2befefad7 ci(runtime): keep windows ctest serial to avoid 4-vCPU starvation in xmem/silent_audio 2026-11-29 20:06:24 -05:00
3209231b3d ci: satisfy jactionlint default profile (pipefail shells and dependabot cooldown) 2026-11-29 19:30:03 -05:00
129c840089 ci: fix runtime/windows timeout, remove redundant CI legs, and harden caches 2026-11-29 19:17:38 -05:00
7bbc1d223b Merge pull request #608 from TuroYT/ci/xma2-concurrency
ci: add a concurrency group to xma2-decoder.yml (CI-XMA2-CONCURRENCY)
2026-11-29 21:41:55 +01:00
4f63764c14 Merge pull request #1404 from milk4sale/ci/check-time-limit
ci: give the Windows check job 30 minutes; it needs 21 and was cancelled at 15 on every run (CI-CHECK-TIME-LIMIT)
2026-11-29 21:41:49 +01:00
ea171c2a17 Merge pull request #1462 from milk4sale/ci/semantic-windows-time-limit
ci: give the Windows semantic-tests leg 20 minutes; it was cancelled at 10 in 14 of 23 runs (CI-SEMANTIC-WIN-TIME-LIMIT)
2026-11-29 21:41:43 +01:00
586860d0d5 launcher: move native Rust/iced launcher under launcher/native/ and isolate native-launcher.json 2026-11-29 11:51:49 -05:00
9fd6f18fe3 ci: a Launcher workflow that runs only when the launcher changes
.github/workflows/launcher.yml builds and tests launcher/ on Windows and Ubuntu: `cargo fmt --check`,
`cargo clippy --locked --all-targets -- -D warnings` and `cargo test --locked`. It needs no GPU, no display and no
game files, as the tests draw the window offscreen on the CPU and run a stand-in script for make_game.py.

It runs on pushes to main and on pull requests that touch launcher/**, assets/logo.png (built into the launcher)
or the workflow itself, as the Runtime workflow lists what can break it. Actions pinned to a commit as elsewhere,
Rust from the runners' own rustup, read-only permissions, a concurrency group and a timeout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 11:43:05 -05:00
314b4e73dd Merge upstream ProjectLeonida/mandy main (b589e0fe0) into round10 base
# Conflicts:
#	docs/design.md
#	runtime/shims/d3d12_vulkan_device.cpp
#	runtime/src/queue_holds.h
#	runtime/src/shader_library.h
#	runtime/src/vulkan_backend.h
#	runtime/src/vulkan_replay.h
#	runtime/test/vk_harness.cpp
#	tests/semantic/test_wave32_lane_select.py
#	tools/lane_masks.py
#	tools/rdna2spirv.py
2026-11-29 06:33:39 -05:00
bf458bbcb3 Merge remote-tracking branch 'origin/main' into lb
# Conflicts:
#	docs/design.md
2026-11-29 04:52:45 +01:00
8bfd5ada37 Merge pull request #2550 from kirigayakazima/fix/ci-repo-url-rename
make_game, progress_dashboard: update default repository URL to ProjectLeonida/mandy (CI-REPO-URL-RENAME)
2026-11-29 04:36:47 +01:00
d1f53516d3 ci: fix PR-specific translator, runtime test, and docs/check failures
- docs/design.md: escape bare pipes in wide scalar load table row
- runtime/README.md: document LEONIDA_BEFORE_EXECUTE_COALESCE and LEONIDA_CLWB_PATCH
- .github/workflows/runtime.yml: add descriptor_sources.py and heap_index_census.py path triggers
- tools/ptr_truncation_census.py: accept extra= kwarg in shader_meta.collect capture hook
- tools/shader_diff.py: disable FTZ32 during cpu_ref differential comparison (cpu_ref preserves denorms)
- tests/test_translate.py: update wave32 bpermute, ballot-based WQM, and deduplicated uvec4 OpImageFetch assertions
- runtime/test/replay_state_cache_test.cpp: add always-true gl_FragCoord.x >= 0.0 scalar select guard in build_fs_spirv to avoid Mesa llvmpipe linear-fastpath push-constant bug
- runtime/test/vk_gpu_profile_test.cpp: skip positive-duration checks on Apple Paravirtual GPUs returning constant zero-span timestamps while keeping all structural/query checks

AI-assisted: Antigravity (Gemini 4 Neon). Verified with full translator-tests pytest suite (2004 passed), PR-specific CI/check unit tests, and replay_state_cache_test + vk_gpu_profile_test on llvmpipe and Radeon iGPU (VVL=1).
2026-11-28 08:33:18 -05:00
3a7dc6126b Merge remote-tracking branch 'origin/main' into fix/explicit-lod-bias-moltenvk
# Conflicts:
#	.github/workflows/runtime.yml
2026-11-28 13:34:11 +01:00
b327d69708 ci: cs_fma_fused is no longer an expected failure of the macOS job
With its f16 operands taken at run time the test passes on the macos-26
runner (Apple Paravirtual device, MoltenVK 1.4.2): the job's last run on
this branch printed "cs_fma_fused passed: drop it from the expected
failures". The Known problems row says where it passes now.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 12:44:48 +08:00
9d9d085a98 CI macOS: ps_ssharp passes with --explicit-lod-bias, drop it from the expected failures
The macOS GPU job printed 'ps_ssharp passed: drop it from the expected failures' on 27524a5e5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 03:52:02 +01:00
27524a5e5b Merge remote-tracking branch 'origin/main' into fix/explicit-lod-bias-moltenvk 2026-11-28 02:57:41 +01:00
f05bf62eaa make_game, progress_dashboard: update default repository URL to ProjectLeonida/mandy (CI-REPO-URL-RENAME) 2026-11-28 09:55:01 +08:00
43a9d562d3 Merge pull request #2193 from EdenBendheim/ubiq/ci-check-parallel-stdlib
Verified the Windows check with Python 3.12: 509 standalone files passed with two workers. The seven changed or runner-related files passed on updated main. The .NET 8 build and diagnostics and the native BCPack checks passed with the prerequisite fixes, including #1771. CPU-only, AI-assisted testing.
2026-11-27 14:56:46 -03:00
d35001eef3 Merge pull request #374 from ItsMrDubey/ci-path-filter-gaps
Verified the docs-only step on Windows with Git Bash. All 69 tests passed, and the added check caught the synthetic README URL regression. CPU-only, AI-assisted testing.
2026-11-27 06:02:31 -03:00
5943a7c6af ci: run standalone Windows tests two at a time (CI-CHECK-PARALLEL-STDLIB) 2026-11-25 23:46:12 -05:00
a88bb83e06 Merge remote-tracking branch 'origin/main' into fix/explicit-lod-bias-moltenvk 2026-11-26 02:29:04 +01:00
d9bb374655 Fix the third red check, and guard the scripts that landed since (#1561 review)
- test_tool_stdout_encoding: three scripts merged since this PR opened
  (check_compute_journal_overlay.py and compute_workers_win.py with #2098,
  corpus_watch.py with #817) get the same stdout guard as the tools here.
- test_runtime_paths: the runtime workflow's two path filters now include
  tools/conformance/**, which runtime/CMakeLists.txt names. The change is
  #1673's (xel1uz), carried here since #1673 duplicates this PR.

With it, test_tool_stdout_encoding, test_runner_calls_all_tests and
test_runtime_paths all pass on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 19:54:10 -05:00
b145659304 Merge remote-tracking branch 'origin/main' into fix/explicit-lod-bias-moltenvk
# Conflicts:
#	tools/vk_subgroup_info.py
2026-11-25 23:54:57 +01:00
cb699500ac Merge pull request #771 from djrolfes/djrolfes-ci-main-signal
ci: add nightly main snapshots without expanding push queues (CI-MAIN-SIGNAL)
2026-11-25 22:48:35 +01:00
b26320c22c Merge pull request #595 from TuroYT/ci/persist-credentials-false
ci: persist-credentials: false on the 9 checkout steps that lacked it (CI-SECURITY-CREDENTIALS)
2026-11-25 22:26:36 +01:00
ddeec93b16 Merge pull request #905 from TuroYT/docs/pr-template-commands-section
pull request template: stop pointing at a Commands section that does not exist (PR-TEMPLATE-COMMANDS-SECTION)
2026-11-25 18:26:05 -03:00
325ce06ebc ci: add nightly main snapshots while preserving push coalescing
Address CI-MAIN-SIGNAL review cost concerns with one staggered daily CI and Runtime snapshot, using their existing schedule-specific run groups. Keep push/PR cancellation and coalescing unchanged; do not expand every merge into full runner work. Synthetic schedule/expression controls included. AI-assisted.
2026-11-25 20:47:16 +01:00
a03715c46a vk_subgroup_info --lod-bias: measure mipLodBias with one compute dispatch, no test programs needed (SHADER-EXPLICIT-LOD-BIAS-MVK)
tools/vk_lod_bias.py clears a two-level R32_SFLOAT image to 0.0 / 1.0 and
samples it at explicit LOD 0 through samplers with mipLodBias 0 and +1, from
Python through ctypes. vk_subgroup_info.py --lod-bias reports the answer as
explicit_lod_bias; lod_bias_probe.py uses it first and draws ps_ssharp only as
a fallback, with the Homebrew llvm-mc hint when llvm-mc is missing (#1774
review). build.py and make_game.py can now measure too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 19:38:34 +01:00
66b27ac6e2 lod_bias_probe: measure whether the sampler applies mipLodBias instead of keying --explicit-lod-bias on MoltenVK's driver ID (SHADER-EXPLICIT-LOD-BIAS-MVK)
The same MoltenVK 1.4.2 drops the bias on an Apple M3 and applies it on an
Apple M5 Pro (#1774 review), so the driver-ID rule turned ps_ssharp red on
the M5 Pro. tools/lod_bias_probe.py translates vs_ids and ps_ssharp without
the flag and draws LOD_BIAS 0, +1 and -1 with vk_sampler_test; the flag is
on only when +1 and -1 read the no-bias levels. run_gpu_tests.py, build.py
and make_game.py take its answer; vk_subgroup_info.py is back as on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 15:18:12 +01:00
8b14fc1d22 runtime.yml: the tools #984's runtime build reads trigger the workflow
The runtime workflow lists the files under tools/ that start it, and tests/test_runtime_paths.py fails when the build reads one that is not listed. #984 makes the runtime build read tools/spirv_loop_guard.py (a translator dependency) and tools/bcpack_history_train.cpp, which the test names (it fails on #984's head too), and the four Python files the bcpack tables are generated from (gen_bcpack_runtime_tables.py, bcpack.py, bcpack_tables.py, bcpack_tables_bptc.py), which CMake names through a variable the test cannot follow. All six are in both path lists now, so a change to any of them runs the Windows and Wine builds.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 20:09:52 -05:00
464ef2a359 ci: give the Windows semantic-tests leg 20 minutes; it was cancelled at 10 in 14 of 23 runs (CI-SEMANTIC-WIN-TIME-LIMIT)
The semantic-tests job runs tests/semantic on windows-latest for pushes to main and for workflow_dispatch, with
timeout-minutes: 10. On GitHub's hosted runner that leg does not fit: in 23 runs of the CI workflow on a fork on
24 November 2026 (16 hourly runs of main and 7 branch runs), 14 were cancelled at the limit ("exceeded the maximum
execution time of 10m0s"), each time with tests/semantic/test_mutations.py the only file still running. A cancelled
job prints no summary. The 9 runs that finished spent 374-577 s in the test step.

test_mutations is the long pole there. It copies tools/ and runs test_ps_semantics.py in a new process 14 times in a
row, and it took 250-381 s in the runs that finished, against 25-42 s on the Linux leg. The runner starts it 124-196 s
in, because it starts the largest files first and this one is small. In the cancelled runs the other files were
slower too (done by 413-484 s instead of 247-365 s); scaled the same way, their test step comes to about 620-780 s,
10.3 to 13 minutes.

The Windows leg gets 20 minutes, about 1.5 times that. The Linux leg, the only one pull requests run, takes 3 to 5
minutes and keeps 10, so pull request runs are unchanged. The limit is a matrix expression: GitHub allows the matrix
context in jobs.<job_id>.timeout-minutes (the runner context is not available there).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 18:40:33 -06:00
b45daffc01 ci: give the Windows check job 30 minutes; it needs 21 and was cancelled at 15 on every run (CI-CHECK-TIME-LIMIT)
The check job runs the standard-library test loop on windows-latest with timeout-minutes: 15. On GitHub's hosted
runner the job does not fit: in 8 of 8 runs of the CI workflow on a fork on 24 November 2026 (five hourly runs of
main from 18:02 to 22:05 UTC and three branch runs) it was cancelled between 15 min 12 s and 15 min 16 s, each
time after starting about 379 of its files. A cancelled job prints no list of failed files, so the job spent
15 Windows minutes per run and reported nothing, and whatever fails after the 379th file was never seen.

With the limit lifted on a scratch branch the same job ran to its end in 21 min 20 s: the loop took 20 min 15 s
for 486 files and then listed four failing files, two of which come after the point where the job used to be
cut off.

30 minutes leaves about 40% over that measurement. The loop grows with every test file, so the number will need
another look later; running the files a few at a time would be the lasting answer and is not attempted here.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 17:30:19 -06:00
364754de5c ci: the needs-rebase labeler no longer runs per pull request push (PR-CONFLICT-LABEL-LOAD)
conflict-label.yml (#155) started a run on every push to every pull
request through pull_request_target. On this repository that queued 265
runs within a day, some waiting five hours, in the same runner queue as
CI, No Game Data and Runtime, whose oldest queued run waited six hours.

Drop the pull_request_target trigger and put every run in one
concurrency group. Each run already checks every open pull request, so
a push to main and the hourly schedule cover what the per-PR runs did;
a rebased pull request loses the label within the hour instead of at
once. At most one run waits at a time. The workflow also no longer has a
trigger that hands a fork's pull request a write token.

tests/test_pr_conflict_label.py fails on the old workflow and checks
that no pull request trigger, per-PR group or --pr comes back; the tool's
docstring and CONTRIBUTING.md say what runs it now.
2026-11-24 20:51:58 +00:00
9f087c96b9 ci: link synchronization for the XMA2 ABI smoke test
Adapted from LeonidaReforge/Leonida#23 (e932888842afccb38695cab4ce6c4ff6ca8b0dd7). AI-assisted (Codex).
2026-11-24 19:40:05 +03:00
d15e4c4338 pull request template: stop pointing at a Commands section that does not exist (PR-TEMPLATE-COMMANDS-SECTION)
The Depends-on prompt sent authors to the coordination issue's Commands section,
but issue #14 has no such section (its sections are How to use it, Open work,
Pull request activity and Rules). The prompt now points at AGENTS.md and the
open pull requests the issue lists. The rest of the template is unchanged.
2026-11-24 16:08:44 +01:00
24569ea83e ci: key the xma2-decoder push group on run_id, as the other workflows will
A push keyed on the ref made two pushes to main share one group, and GitHub
keeps at most one pending run per group, so a queued main run was replaced
by a newer one. The group now uses the PR number or the run id, which is the
shape #771 gives ci.yml, jactionlint.yml, no-game-data.yml and runtime.yml.

CI-XMA2-CONCURRENCY
2026-11-24 15:19:01 +01:00
d0da7dade8 Merge pull request #404 from ubiquitarianism/feat/acphal-xma2-decoder
acphal: ACP message queue and background XMA ring decoding with the Rust XMA2 decoder (RT-ACPHAL-XMA2)
2026-11-24 08:44:46 -05:00
b98f152cce Merge pull request #361 from ItsMrDubey/ci-windows-runtime-time
Merging.

**Why merged:** CI-only: a hung Windows runtime test now fails on its own (per-test ctest --timeout 300, TIMEOUT 180 on the loader test) instead of cancelling the whole job, and the job limit goes from 20 to 35 minutes. Each value is explained in a comment. Reviewed as good by Oliwettoo.

**Why it's good:** Workflow change with no new permissions, actions or downloads. The local tests it touches: 87 passed, 9 skipped. The runner-side effect can only be seen in CI, but there's nothing risky in it: the timeouts only turn hangs into failures.

Tested on Windows 11, RTX 4070 SUPER (NVIDIA 621.24), VS 2022 + Ninja RelWithDebInfo, Vulkan SDK 1.4.363.0, alone on main (21625bca8 or 51f316092) and in a cumulative merge of #497, #278, #310, #334, #346, #340, #355, #361, #363, #620 and #577 (which carries #540) on main 2d73c242f (git merge-tree: 0 conflicts against current main). Repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests): 566 passed / 5 skipped / 0 failed on main and on main + batch. compileall OK. Full ctest: 302/304 on main and on main + batch (the same two pre-existing failures, d3d12_execute_indirect_validation and d3d12_depth_resolve, no new ones).

AI-assisted (Claude Code, Claude Opus 5.5).
2026-11-24 08:37:24 -05:00
62a95883b6 build: track native PSO catalog dependencies
Track the catalog writer and its local imports in the shader-stage fingerprint
and CMake fixture dependencies. Cover the same files in both Runtime event
filters, including the optional native scanner reached by the carver.
Check both import graphs and document the standalone catalog refresh for
existing translations.

On Windows x64, touching the writer rebuilt the three bindless fixtures once.
All three passed spirv-val and both Vulkan bindless tests passed on an RTX
5070 Ti with driver 617.42. The semantic suite ran 6,108 tests with no failed
files. The regenerated 25,321-row catalog matched the local reference byte
for byte.

AI-assisted: OpenAI Codex
2026-11-24 18:13:26 +08:00