You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perf: bake the build-time placeholder manifest into the Nix image #718
Follow-up from #625 / PR #670. init-workspace.sh substitutes template placeholders using a build-time manifest (.placeholder-manifest.txt at SCRIPT_DIR) when present, else falls back to a runtime find+grep search ("Warning: Manifest not found, searching at runtime (slower)"). The fast baked manifest the comment promises is never generated for the Nix image, so workspace init always takes the slow path.
Proposed work
Generate .placeholder-manifest.txt during the Nix image build (flake.nixbuildLayeredImage) so init-workspace.sh uses the fast path.
Functional-only optimization; the runtime fallback already produces correct output.
Resolved by #802 (merged to dev). The Nix image build now bakes .placeholder-manifest.txt into the bootstrap layer (deterministic grep -rl + sort), so init-workspace.sh takes the fast substitution path instead of the slow runtime find+grep. Guarded by a new test_placeholder_manifest_baked image test.
Activity
test(image): assert baked placeholder manifest present
perf(image): bake placeholder manifest into the Nix image
chore: ruff-format the #718 image test and sync the changelog mirror
perf(image): bake the build-time placeholder manifest into the Nix im…
c-vigo commentedon Jul 3, 2026
Resolved by #802 (merged to
dev). The Nix image build now bakes.placeholder-manifest.txtinto the bootstrap layer (deterministicgrep -rl+ sort), soinit-workspace.shtakes the fast substitution path instead of the slow runtime find+grep. Guarded by a newtest_placeholder_manifest_bakedimage test.chore: release 0.4.0 (#195)
chore: release 0.4.0 (#813)
fix(init): scope placeholder substitution to the paths devkit ships (#…