Skip to content

init: don't inherit a stale recipesRoot on additive setup - #62

Merged
data-angel merged 1 commit into
mainfrom
fix/init-stale-recipes-root
Oct 15, 2026
Merged

data-angel merged 1 commit into
mainfrom
fix/init-stale-recipes-root

Conversation

@data-angel

Copy link
Copy Markdown
Contributor

An additive `lloom setup` spread the previous `init` block and only overwrote `recipesRoot`, `benchmarksRoot` and `backendCatalogPath` when the new run passed them. Installing a packaged recipe on top of a setup from a custom recipes directory therefore left `init.recipeId` naming a recipe that the stale `init.recipesRoot` doesn't contain. On ennspark03, `lloom status` failed with `Unknown recipe lloom-hear. Known recipes: spark03-cuda-media, spark03-embedding-flux`.

The fix records this run's sources in `init`, since the recipe is only ever loaded from this run's options.

  • Regression test added to `test/hear-recipe.test.mjs`. It failed before the fix and passes after.
  • The other init-path tests (ace-step, ltx, atlas-sparkglm, qwen-image, spark-audio, chatterbox, comfyui, first-run) and smoke all pass.
  • The live config on 03 was repaired by hand: stale `init.recipesRoot` removed, backup kept as `config.json.before-init-recipesroot-*`.

🤖 Generated with Claude Code

An additive init spread the previous init block and only overwrote
recipesRoot/benchmarksRoot/backendCatalogPath when the new run passed them.
Installing a packaged recipe (default root) on top of a setup from a custom
recipes directory left init.recipeId pointing at a recipe that the stale
init.recipesRoot does not contain, so `lloom status` failed with
"Unknown recipe lloom-hear" on ennspark03.

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

Copy link
Copy Markdown
Contributor Author

Rebased check: no conflicts with current main; still applies.

@data-angel
data-angel merged commit c0bbea0 into main Oct 15, 2026
2 checks passed
@data-angel
data-angel deleted the fix/init-stale-recipes-root branch October 15, 2026 03:59
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