Skip to content

build: pin moving-branch dependencies and list quality files from git - #5230

Merged
jakildev merged 2 commits into
masterfrom
claude/pin-fetchcontent-quality-files
Nov 23, 2026
Merged

jakildev merged 2 commits into
masterfrom
claude/pin-fetchcontent-quality-files

Conversation

@jakildev

@jakildev jakildev commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

Two build-system fixes for existing build directories.

  • Dependency pins. stb, meshoptimizer, glm, sol2, googletest and LuaJIT tracked a branch with GIT_SHALLOW. Every re-configure ran FetchContent's update step, and once upstream moved under a shallow checkout it failed with Failed to rebase … CONFLICT (add/add) / Build step for stbimage failed: 2. Each is now pinned to the commit a fresh clone resolved to on 2026-11-21, so a re-configure neither contacts the remote nor rebases.
  • Quality-file lists. The collector walked each search root with a CONFIGURE_DEPENDS glob, so a C/C++ file appearing anywhere under a root (an ignored virtual environment or build tree included) re-configured the whole build. The file set now comes from git ls-files, and the lists are rewritten each time a quality target runs.

Screenshots

No visual change intended: build-only, and the pinned stb and meshoptimizer commits are the ones a fresh clone already resolved. fleet-run IRShapeDebug --auto-screenshot 10 on the fresh build: RESULT=CLEAN, 28 shots written. render-verify was not gradeable on this host (ENV-FAIL: display domain mismatch, display asleep).

Test plan

  • Re-configure of a build directory holding a shallow stb checkout at 9600522, unmodified tree: rc=1, Failed to rebase, 10+ CONFLICT (add/add) lines. Same directory, this branch: rc=0, stb at 6b5799b, LuaJIT at 96f7b29.
  • Re-configure with every pinned dependency's remote set to https://unreachable.invalid/…: rc=0, no remote access attempted. Control -DIR_LUAJIT_GIT_REF=v2.1 (a branch) in the same directory: rc=1, Could not resolve host.
  • fleet-build --target IRShapeDebug from a fresh build directory on macOS: rc=0, all six pinned dependencies cloned at their pinned commit; img_diff and jitter_probe (the other two stb consumers) rc=0.
  • fleet-build --target header-checks in that directory: rc=0, 876 headers and 175 shaders scanned; format-changed: rc=0. cmake -P cmake/run_header_checks_standalone.cmake and run_clang_format_changed_standalone.cmake: rc=0, 1360 files on the style list.
  • Collector output on a full engine checkout, before vs after: 1360 style-tool files, 1376 header-check files, 175 shaders, all three lists byte-identical; collection time 9.2 s to 0.24 s on a checkout with large ignored trees under creations/.
  • User project with 5,000 headers under an ignored .venv/, then one more header added there: list is 2 entries both before and after; before, CMakeFiles/VerifyGlobs.cmake is present and the next build re-configures; after, it is absent and the build does not.
  • bash scripts/fleet/tests/test_quality_files_gitignore.sh: 18 passed, 0 failed (11 new assertions).
  • bash scripts/fleet/tests/test_luajit_git_ref_resolution.sh: 16 passed, 0 failed. Each migration case configures a build directory with the old IR_LUAJIT_GIT_TAG declaration, then reconfigures it with the new module. Cached v2.1 resolves to the pin and is dropped from the cache. A cached custom ref keeps building, with a deprecation warning, across two reconfigures. IR_LUAJIT_GIT_REF wins over it, and clearing IR_LUAJIT_GIT_REF falls back to it. Positive control: the previous resolution logic fails 5 of the 16 assertions.
  • fleet-build --target IRShapeDebug on an existing build directory that cached IR_LUAJIT_GIT_TAG=v2.1: rc=0, the entry is gone from CMakeCache.txt, and LuaJIT is checked out at 96f7b29.
  • Positive controls on the new assertions: dropping the on-disk filter fails 1, dropping the glob fallback fails 1, the pre-change collector fails 4.
  • test_format_changed_diff_root.sh 12 passed, test_format_changed_standalone.sh 15 passed, test_format_changed_line_scoping.sh 18 passed, test_header_checks_standalone.sh 167 passed, test_fleet_tests_workflow_paths.sh 102 passed, test_workflow_paths_sync.sh 24 passed.
Reviewer notes

Notes for reviewer

  • A commit hash cannot be combined with GIT_SHALLOW: the shallow clone holds only branch and tag tips, so the checkout would break on the first upstream commit after the pin. The pinned six are therefore full clones. Measured cost for the largest (glm): 83 MB vs 32 MB, 3.4 s vs 3.3 s.
  • Existing build directories migrate on their next re-configure: the update step fetches once, checks out the pinned commit, and is a no-op from then on.
  • RtAudio and RtMidi keep GIT_TAG master. Both are patched in place under UPDATE_DISCONNECTED, so their update step never runs and they do not have this failure. Pinning them is not safe in this PR: with UPDATE_DISCONNECTED, a GIT_TAG the existing checkout does not hold is a fatal configure error (Requested git ref … is not present locally), reproduced here. The exception is recorded at the declaration.
  • LuaJIT's override variable is now IR_LUAJIT_GIT_REF (empty = the pinned commit), matching IR_ENKITS_GIT_REF. The deprecated IR_LUAJIT_GIT_TAG is still honoured below it (resolve_git_ref.cmake), with one exception: v2.1. That value was the old cached default, so every existing build directory holds it without anyone having chosen it. It resolves to the pin and is removed from the cache. The cost: a user who deliberately set IR_LUAJIT_GIT_TAG=v2.1 now gets the pin, and has to use IR_LUAJIT_GIT_REF=v2.1 to stay on the branch.
  • The stb declaration existed three times and had to agree; it is now cmake/ir_fetch_stb.cmake, included from all three.
  • The ignore filter itself predates this PR (a git check-ignore pass after the glob), so the final lists do not change. What changes is that ignored trees are no longer walked or registered as configure dependencies.
  • Listing differences from the glob: an untracked nested repository that is not ignored, and files inside a submodule, are no longer collected. The engine tree has neither.
  • docs/agents/BUILD.md is already over its instruction-size budget, so the pin policy is stated in the root CMakeLists.txt beside the other FetchContent settings.
  • fleet-pr-overlap --base master: VERDICT: overlap, both trial merges clean. Rows: #4921 test/CMakeLists.txt clean, #5161 test/CMakeLists.txt clean.

🤖 Generated with Claude Code

stb, meshoptimizer, glm, sol2, googletest and LuaJIT tracked a branch
with GIT_SHALLOW, so every re-configure of an existing build directory
ran FetchContent's update step. Once upstream moved under a shallow
checkout the fetch left the old and new tips without a merge base and
the rebase failed with add/add conflicts, failing the configure. Each
is now pinned to a full commit hash, which the update step treats as a
no-op without contacting the remote. A hash cannot be combined with
GIT_SHALLOW, so these are full clones. stb's three declarations become
one include. RtAudio and RtMidi stay on their branch: they are patched
in place under UPDATE_DISCONNECTED and never run the update step.

irreden_collect_quality_files walked its search roots with a
CONFIGURE_DEPENDS glob, so a C/C++ file appearing anywhere under a
root, ignored directories included, re-configured the whole build. The
file set now comes from git ls-files (tracked plus untracked and not
ignored), with the glob as the fallback outside a git work tree, and a
quality-file-lists target rewrites the lists each time a quality
target runs so they stay current without a configure dependency.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@jakildev jakildev added fleet:author-claude Implementation last authored by Claude; route review to Codex fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend labels Nov 21, 2026
@github-actions

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-epyc-7763-64-unknown

perf comparison: 88f4fda → d3dd16d-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-epyc-7763-64-unknown/88f4fdad81700c6642641ec83222e29e6a61f45d
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/d3dd16d41-ci

host calibration

  • host: linux-x86_64-epyc-7763-64-unknown (matches baseline)
  • ref_ms: head 104.20 vs baseline 105.03 (load_factor 0.99×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@88f4fdad8 (branch tip); master 34bdd153d, finished 2026-11-19T22:41:39Z, 1.9 d before the head run, ref_ms 105.03
  • weighting: raw (class-matched capture; load_factor 0.99×; no calibration-scaling entry)
  • attribution: no measured master improvement between capture master 34bdd153d and merge base 850084148 (10 commits)

thresholds: regress ≥ 10%, improve ≥ 5%

voxel cull effectiveness

cell ratio (base→head) avg visible total avg feeder
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.598 → 0.598 (+0.0pp) 156637 → 156637 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.975 → 0.975 (+0.0pp) 255592 → 255592 1024 → 1024 0 → 0

frame timing (ms)

cell avg p99
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 541.23 → 547.51 (+1.2%) 1913.83 → 1958.73 (+2.3%)
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 1250.91 → 1256.56 (+0.5%) 2508.81 → 2567.22 (+2.3%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 735.85 → 753.50 (+2.4%) 14970.35 → 15633.49 (+4.4%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1814.79 → 1826.04 (+0.6%) 3050.38 → 3031.81 (-0.6%)

GPU frame timing (ms; separate from stage samples)

cell envelope (base→head) buffer spans (base→head) coverage (base→head)
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable

GPU stage timing (avg ms per sampled invocation)

cell canvasClear voxelCompact voxelStage1 voxelCardinalElect voxelStage2 voxelSunFaces textToTrixel buildLightOcclusionGrid computeVoxelAO bakeSunShadowMap computeSunShadow computeLightVolume lightingToTrixel fogToTrixel trixelToFb cardinalSurfaceFb resolvePerAxisScreenDepth fbToScreen
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 22.18→22.52 65.86→65.84 55.49→56.32 1.28→1.37 50.40→51.53 95.27→96.24 — 0.00→0.00 4.16→4.23 11.82→12.17 0.40→0.41 33.43→34.33 1.64→1.70 1.24→1.28 0.17→0.18 0.25→0.25 — 8.08→8.36
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 22.63→22.58 323.79→325.59 260.00→261.23 4.09→4.04 225.58→227.63 146.94→146.91 — 0.00→0.00 10.42→10.92 10.67→10.96 0.32→0.32 29.44→29.28 1.86→2.04 1.39→1.28 ↓ 0.16→0.19 ⚠ 0.40→0.41 — 7.60→7.69
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 20.56→20.32 81.07→81.67 62.20→63.52 13.03→13.30 48.49→49.19 89.37→89.44 1.11→1.15 0.00→0.00 16.62→17.29 63.77→67.50 0.61→0.57 ↓ 67.29→69.88 7.43→7.68 1.81→1.83 0.16→0.20 ⚠ 0.62→0.77 ⚠ 0.00→0.00 9.02→9.44
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 21.90→21.48 530.39→531.19 425.15→423.67 6.40→6.34 363.80→366.66 153.61→155.21 1.12→1.13 0.00→0.00 8.54→8.88 10.87→10.91 0.31→0.33 28.98→29.09 1.89→2.05 1.46→1.58 0.18→0.17 1.06→1.09 0.00→0.00 7.67→7.92

top CPU systems by avg ms (head)

target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 295.877 → 299.201 (+1.1%)
RENDER CanvasToFramebuffer 38.061 → 38.876 (+2.1%)
RENDER ComputeLightVolume 33.464 → 34.347 (+2.6%)
RENDER BakeSunShadowMap 10.008 → 10.267 (+2.6%)
UPDATE FogRevealEval 6.533 → 6.420 (-1.7%)
UPDATE PropagateTransform 4.642 → 4.729 (+1.9%)
RENDER ComputeVoxelAO 4.341 → 4.427 (+2.0%)
RENDER UpdateVoxelSetChildren 2.881 → 2.974 (+3.2%)

target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 988.226 → 993.147 (+0.5%)
RENDER CanvasToFramebuffer 57.479 → 58.153 (+1.2%)
RENDER ComputeLightVolume 29.481 → 29.290 (-0.6%)
RENDER ComputeVoxelAO 10.735 → 11.290 (+5.2%)
RENDER BakeSunShadowMap 8.782 → 8.855 (+0.8%)
UPDATE FogRevealEval 6.420 → 6.115 (-4.8%)
UPDATE PropagateTransform 4.428 → 4.408 (-0.5%)
RENDER UpdateVoxelSetChildren 2.919 → 2.954 (+1.2%)

target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 336.427 → 343.341 (+2.1%)
RENDER CanvasToFramebuffer 59.909 → 61.856 (+3.2%)
RENDER ComputeSunShadow 54.342 → 57.927 (+6.6%)
RENDER LightingToTrixel 36.057 → 37.601 (+4.3%)
RENDER ComputeLightVolume 32.463 → 33.496 (+3.2%)
RENDER BakeSunShadowMap 22.601 → 23.204 (+2.7%)
RENDER FogToTrixel 7.153 → 7.363 (+2.9%)
RENDER ComputeVoxelAO 6.127 → 6.386 (+4.2%)

target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1506.783 → 1509.732 (+0.2%)
RENDER CanvasToFramebuffer 84.594 → 85.117 (+0.6%)
RENDER ComputeLightVolume 29.056 → 29.162 (+0.4%)
RENDER ComputeVoxelAO 8.777 → 9.121 (+3.9%)
RENDER BakeSunShadowMap 8.915 → 8.852 (-0.7%)
UPDATE PropagateTransform 6.029 → 6.311 (+4.7%)
UPDATE FogRevealEval 5.531 → 5.894 (+6.6%)
UPDATE PeriodicIdle 2.988 → 3.018 (+1.0%)

@jakildev jakildev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review — build: pin moving-branch dependencies and list quality files from git

Verdict: needs-fix

The quality-file collection and dependency pins are well covered, but the LuaJIT cache-option rename silently drops an existing supported override.

Needs-fix

  • engine/script/third_party/luajit/CMakeLists.txt:22 — replacing IR_LUAJIT_GIT_TAG with IR_LUAJIT_GIT_REF means an existing build configured with a non-default legacy override now ignores that choice and silently switches to the new pinned commit on reconfigure. Preserve non-default legacy values (while deliberately treating the old default v2.1 as the migration case), give the new variable precedence, and add a regression case for a cached custom legacy ref.

Praise

  • The file-list refresh is exercised through the real custom-target dependency, including ignored post-configure additions and the no-VerifyGlobs.cmake contract.
  • Centralizing the three stb declarations removes a real first-declaration-wins hazard.

Checked

  • Read the complete PR body, commit metadata, discussion, reviews, and inline-comment thread; there is no linked issue or prior discussion.
  • Checked out and reviewed exact head 4640ae3832ebb3fe66d2a5e73cc2466482484a36, including all changed files and the Opus-only lifetime/concurrency/cache checks.
  • bash scripts/fleet/tests/test_quality_files_gitignore.sh: 18 passed, 0 failed.
  • fleet-build --target header-checks: passed; 876 headers and 175 shaders scanned.
  • GitHub: fleet-tests, perf-gate, format-check, header-checks, and the other completed checks pass; linux-build and aggregate all-checks were still pending at review time.

Test plan the author should run before merge

  • Add and run a cache-migration regression proving a non-default IR_LUAJIT_GIT_TAG remains effective when IR_LUAJIT_GIT_REF is empty, while the old default v2.1 migrates to the pinned commit.
  • Re-run the focused quality-file suite and wait for linux-build / all-checks to complete on the amended head.

🤖 Reviewed by Codex GPT-5 (opus class, review-pr skill)

Opus recheck not required (reviewed at opus class).

@jakildev jakildev added fleet:reviewing-mac-pool-1 fleet:needs-fix Fleet reviewer found issues — author must address and removed fleet:reviewing-mac-pool-1 labels Nov 21, 2026
@jakildev jakildev removed the fleet:needs-fix Fleet reviewer found issues — author must address label Nov 21, 2026
The LuaJIT ref resolution moves to resolve_git_ref.cmake. IR_LUAJIT_GIT_REF
still wins; with it empty, a non-empty IR_LUAJIT_GIT_TAG other than its old
cached default v2.1 is built, with a deprecation warning, so an existing
build directory configured with a custom ref keeps it. A cached v2.1 resolves
to the pin and is dropped from the cache.

test_luajit_git_ref_resolution.sh configures a directory with the old
declaration, then reconfigures it with the module, for the default, custom,
and precedence cases.

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

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-xeon-6975p-c-03-0-vga

perf comparison: 69fca9e → 6ebd115-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-xeon-6975p-c-03-0-vga/69fca9e51a32801b2fcd9753c5ed7b36a5963b23
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/6ebd115df-ci

host calibration

  • host: linux-x86_64-xeon-6975p-c-03-0-vga (matches baseline)
  • ref_ms: head 69.89 vs baseline 74.21 (load_factor 0.94×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@69fca9e51 (branch tip); master 850084148, finished 2026-11-21T20:25:20Z, 0.1 d before the head run, ref_ms 74.21
  • weighting: raw (class-matched capture; load_factor 0.94×; no calibration-scaling entry)
  • attribution: no measured master improvement between capture master 850084148 and merge base 850084148 (0 commits)

thresholds: regress ≥ 10%, improve ≥ 5%

voxel cull effectiveness

cell ratio (base→head) avg visible total avg feeder
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.598 → 0.598 (+0.0pp) 156637 → 156637 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.975 → 0.975 (+0.0pp) 255592 → 255592 1024 → 1024 0 → 0

frame timing (ms)

cell avg p99
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 434.64 → 449.44 (+3.4%) 1178.73 → 1198.23 (+1.7%)
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 952.59 → 958.29 (+0.6%) 1733.99 → 1736.21 (+0.1%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 522.55 → 529.46 (+1.3%) 7917.82 → 7872.81 (-0.6%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1338.22 → 1359.72 (+1.6%) 2057.07 → 2071.61 (+0.7%)

GPU frame timing (ms; separate from stage samples)

cell envelope (base→head) buffer spans (base→head) coverage (base→head)
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable

GPU stage timing (avg ms per sampled invocation)

cell canvasClear voxelCompact voxelStage1 voxelCardinalElect voxelStage2 voxelSunFaces textToTrixel buildLightOcclusionGrid computeVoxelAO bakeSunShadowMap computeSunShadow computeLightVolume lightingToTrixel fogToTrixel trixelToFb cardinalSurfaceFb resolvePerAxisScreenDepth fbToScreen
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 16.60→16.82 47.90→49.18 41.41→42.01 0.75→0.83 ⚠ 38.82→38.78 69.82→70.51 — 0.00→0.00 2.61→2.66 7.26→7.33 0.33→0.35 25.64→25.93 1.13→1.14 0.94→0.94 0.17→0.17 ↓ 0.21→0.20 — 6.63→6.70
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 17.12→17.40 239.26→241.96 181.47→183.89 3.27→3.10 ↓ 163.78→165.75 113.60→113.72 — 0.00→0.00 6.72→6.82 6.76→6.94 0.44→0.35 ↓ 22.78→22.38 1.21→1.53 ⚠ 1.00→1.12 ⚠ 0.15→0.17 ⚠ 0.28→0.28 — 6.47→6.47
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 15.62→15.63 57.12→56.26 44.48→44.85 6.53→6.48 35.43→36.25 65.20→65.02 1.35→1.28 0.00→0.00 4.58→4.60 35.36→35.62 0.50→0.50 41.62→41.86 4.39→4.40 1.39→1.38 0.16→0.16 0.16→0.20 ⚠ 0.00→0.00 7.17→7.22
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 16.28→16.45 391.14→396.41 293.08→296.10 4.68→4.73 261.74→263.40 127.44→128.61 1.27→1.30 0.00→0.00 5.50→5.60 6.51→6.55 0.34→0.36 22.01→22.65 1.13→1.19 1.12→1.16 0.14→0.15 0.49→0.49 0.00→0.00 6.37→6.40

top CPU systems by avg ms (head)

target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 219.587 → 222.419 (+1.3%)
RENDER ComputeLightVolume 25.633 → 25.954 (+1.3%)
RENDER CanvasToFramebuffer 25.042 → 24.944 (-0.4%)
UPDATE FogRevealEval 8.013 → 8.623 (+7.6%)
RENDER BakeSunShadowMap 5.958 → 5.963 (+0.1%)
UPDATE PropagateTransform 3.601 → 3.764 (+4.5%)
UPDATE LuaWaveStateToOffset 2.725 → 3.347 (+22.8%) ⚠
RENDER UpdateVoxelSetChildren 2.566 → 3.109 (+21.2%) ⚠

target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 723.097 → 730.106 (+1.0%)
RENDER CanvasToFramebuffer 35.845 → 36.648 (+2.2%)
RENDER ComputeLightVolume 22.987 → 22.469 (-2.3%)
UPDATE FogRevealEval 7.998 → 7.789 (-2.6%)
RENDER ComputeVoxelAO 7.066 → 7.125 (+0.8%)
RENDER BakeSunShadowMap 5.269 → 5.125 (-2.7%)
UPDATE PropagateTransform 3.460 → 3.545 (+2.5%)
RENDER UpdateVoxelSetChildren 2.843 → 3.021 (+6.3%)

target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 236.960 → 236.823 (-0.1%)
RENDER CanvasToFramebuffer 36.139 → 36.570 (+1.2%)
RENDER ComputeSunShadow 29.622 → 29.848 (+0.8%)
RENDER ComputeLightVolume 24.279 → 24.416 (+0.6%)
RENDER LightingToTrixel 18.460 → 18.601 (+0.8%)
RENDER BakeSunShadowMap 8.197 → 8.233 (+0.4%)
UPDATE FogRevealEval 6.799 → 7.461 (+9.7%)
UPDATE PropagateTransform 4.704 → 4.747 (+0.9%)

target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1098.407 → 1109.585 (+1.0%)
RENDER CanvasToFramebuffer 44.368 → 44.563 (+0.4%)
RENDER ComputeLightVolume 22.118 → 22.725 (+2.7%)
UPDATE FogRevealEval 6.842 → 7.643 (+11.7%) ⚠
RENDER ComputeVoxelAO 5.722 → 5.842 (+2.1%)
RENDER BakeSunShadowMap 5.252 → 5.281 (+0.6%)
UPDATE PropagateTransform 4.877 → 4.863 (-0.3%)
RENDER UpdateVoxelSetChildren 2.772 → 3.010 (+8.6%)

@jakildev jakildev added fleet:changes-made Agent addressed human feedback — ready for human re-review and removed fleet:amending-mac-pool-1 labels Nov 22, 2026
@jakildev

Copy link
Copy Markdown
Owner Author

Addressed feedback:

  • engine/script/third_party/luajit/CMakeLists.txt:22: a custom legacy IR_LUAJIT_GIT_TAG was silently dropped. Ref resolution now lives in engine/script/third_party/luajit/resolve_git_ref.cmake. IR_LUAJIT_GIT_REF wins when it is non-empty. Otherwise a non-empty IR_LUAJIT_GIT_TAG other than v2.1 is built, with a CMake deprecation warning. A cached v2.1, the old default, migrates to the pin and is removed from the cache so it no longer looks like a live override.
  • Test plan (cache-migration regression): added scripts/fleet/tests/test_luajit_git_ref_resolution.sh, which ran 16 passed, 0 failed. It configures a build directory with the old cache declaration and then reconfigures it with the module, covering the default, custom, and precedence cases. The previous logic fails 5 of the 16 as a positive control. The new module is registered in the fleet-tests.yml path filter and in OUT_OF_TREE_SUBJECTS.
  • Test plan (re-run the quality-file suite): 18 passed, 0 failed on the amended head. linux-build and all-checks are rerunning on aea417881.

— worker

@jakildev jakildev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-review — build: pin moving-branch dependencies and list quality files from git

Verdict: approve

The amendment fully resolves the LuaJIT cache-migration finding without introducing unrelated executable changes.

Praise

  • resolve_git_ref.cmake makes the precedence and migration policy explicit, and the regression suite exercises fresh, legacy-default, custom-legacy, and new-over-legacy cases across repeated reconfigures.

Checked

  • Read the complete PR discussion, prior review, author response, commit metadata, and inline-comment thread; there is no linked issue or inline discussion.
  • Reviewed the amendment from 4640ae3832ebb3fe66d2a5e73cc2466482484a36 through exact head aea41788156c8c825662a1758376784b25651aa0; the prior custom-override loss is fixed and the amendment contains no unrelated changes.
  • bash scripts/fleet/tests/test_luajit_git_ref_resolution.sh: 16 passed, 0 failed.
  • bash scripts/fleet/tests/test_fleet_tests_workflow_paths.sh: 102 passed, 0 failed.
  • GitHub: all current checks, including linux-build, fleet-tests, and aggregate all-checks, are green.

🤖 Reviewed by Codex GPT-5 (review-pr skill)

Opus recheck not required.

@jakildev jakildev added fleet:approved Fleet reviewer approved — ready for human merge fleet:reviewing-mac-pool-1 fleet:needs-windows-smoke PR needs windows-debug build + smoke-run validation and removed fleet:reviewing-mac-pool-3 fleet:reviewing-mac-pool-1 labels Nov 22, 2026
@jakildev
jakildev merged commit fa65f00 into master Nov 23, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fleet:approved Fleet reviewer approved — ready for human merge fleet:author-claude Implementation last authored by Claude; route review to Codex fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend fleet:needs-windows-smoke PR needs windows-debug build + smoke-run validation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant