feat(null): add backend.manifest.zon — manifest-splice codegen (#386 step 2) - #430
Conversation
…hase 6c) wgpu is resolved out-of-tree now (`.backend = .wgpu` → the labelle-wgpu provider, flipped in #428), so the in-tree backends/wgpu/ slot is dead weight. Delete it + the assembler example + the coverage that built them in-tree: - Remove backends/wgpu/ (src/templates/build_fragments/manifest/build + example). - Remove examples/wgpu (the assembler-generated wgpu project) — its assembler-builds-a-wgpu-project coverage (incl. the Foundation/QuartzCore/Metal link-fragment regression guard) moved to labelle-wgpu's CI (PR #1). - CI: drop the `wgpu backend WAV parser tests` + `wgpu backend demo build (macOS)` steps and the `Generate + build the wgpu example` examples-integration step. - Tests: drop the desktop wgpu-artifacts unit test (no in-tree package to resolve) and the wgpu case from the in-tree-template preview regression list. Two backends now fully out of the assembler bundle (bgfx + wgpu). The agnostic external-fetch path stays covered by the `external-null` (nullfixture) step.
…step 2) null extraction step 2 (window conformance was done in #411). Presence of backends/null/backend.manifest.zon opts the null DESKTOP build into the manifest-splice path instead of the enum `switch (cfg.backend)` sections. Loop-style (the headless main drives a fixed-frame tick loop), pure-Zig, zero deps. The LINK fragment is EMPTY — null has no native artifact (the enum path's `.null => {}` emitted nothing). backend_dep.txt is the verbatim .backend_null section body. Output BYTE-IDENTICAL to the enum path (diffed a generated baseline → 0 diff), including the is_tests_target path (which forces .backend=.null on host). `zig build test` green.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (32)
💤 Files with no reviewable changes (27)
📝 WalkthroughWalkthroughRemoves the entire in-tree wgpu backend (source files, build scripts, example application, templates, and CI steps). Adds a new Changeswgpu backend extraction and null backend wiring
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts
Comment |
There was a problem hiding this comment.
Code Review
This pull request extracts the wgpu backend out-of-tree, removing its in-tree templates and corresponding unit tests. Additionally, it introduces a manifest file for the null backend (backend.manifest.zon) and updates its build fragment to depend on labelle_null instead of labelle_wgpu. I have no feedback to provide as there are no review comments.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
null extraction step 2 (window conformance was already done in #411). Adds
backends/null/backend.manifest.zon+build_fragments/{backend_dep,link}.txt. Presence of the manifest opts the null desktop build into the manifest-splice codegen path..null => {}emitted nothing)..backend_nullsection body.Byte-identical to the enum path (diffed a generated baseline → 0 diff), including the
is_tests_targetpath that forces.backend=.nullon host.zig build testgreen.Next: extract null → labelle-null, flip
builtinProvider(.null)(+ rework the ~14.backend=.nullsites incl. is_tests_target), slim.Summary by CodeRabbit
New Features
Bug Fixes
Chores