Skip to content

CI: the native-engine job fetches basisu so the KTX2 tests can run - #658

Merged
jonit-dev merged 1 commit into
developfrom
ci-646-basisu
Nov 11, 2026
Merged

jonit-dev merged 1 commit into
developfrom
ci-646-basisu

Conversation

@jonit-dev

Copy link
Copy Markdown
Contributor

What is this PR about?

The native-engine CI job, its Wasm-under-node step and the web engine action now fetch basisu (Basis Universal) together with stb cgltf webp-source meshopt.

Why does it matter?

#635 (PRD-861, PRD-867) added three ctest cases, native_engine_gltf_ktx2_*, that need third_party/basisu. CI never fetched it, so the loader refused KTX2 by name and the cases failed in 0.00 s. test-native has been red on every develop push since 39223c17a, and fail-fast then cancelled the rest of the develop -> main run (#646).

Done

  • Red: a core-only native build with CI's old list, 0 of 3 KTX2 cases pass.
  • Green: the same build with basisu, 3 of 3 pass.
  • 887 of 890 CI and workflow specs pass; the 3 that fail do so identically without this change (a worktree with no workspace build).

Not run

  • The full native-engine job, its Wasm step and the web engine build on CI. Those prove it.

#635 (PRD-861, PRD-867) added native_engine_gltf_ktx2_* ctest cases that need third_party/basisu.
The native-engine job, its Wasm-under-node step and the web engine action fetched only
stb, cgltf, webp-source and meshopt, so the loader refused KTX2 by name and the three cases
failed in 0.00 s (test-native red on every develop push since 39223c1).

Local core-only build, CI's dependency list: 0 of 3 pass. With basisu: 3 of 3 pass.
@jonit-dev
jonit-dev enabled auto-merge November 10, 2026 22:37
@jonit-dev
jonit-dev added this pull request to the merge queue Nov 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

The merge queue stopped on test (failure).

  • First failing job: test
  • Merge-group run: 42918150219 (the rest of its jobs were cancelled)

Fix, push, re-enqueue.

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 10, 2026
@jonit-dev
jonit-dev merged commit 968f890 into develop Nov 11, 2026
38 checks passed
jonit-dev added a commit that referenced this pull request Nov 11, 2026
… list

#658 added basisu to the action's dependency loop, but the cache key hashed
only the engine sources, so build-artifacts kept restoring the engine built
without basisu (key native-engine-web-wasm-v2-...-ed22754e..., run
42932891905). test-native then failed "the web engine loads
ktx2-textured.glb" with TN_..._UNSUPPORTED KHR_texture_basisu. The key now
hashes the action file, whose dependency list decides what the engine links.

Proof: ci-cache-keys spec red without the key change, green with it; all 28
scripts/__tests__/ci-* specs 891/891.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant