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
fix(workspace): scaffold upgrade strands base recipes — justfile.project is preserved but now owns sync/precommit/test, breaking the shipped ci.yml #877
Found during 0.4.0 consumer field-validation (EXOMA/hyrr feature/519-devcontainer-rc4-validation, EXOMA/talys feature/552-devcontainer-rc4-validation).
The 0.4.0 scaffold retired .devcontainer/justfile.base and relocated the base recipes (lint, format, precommit, test, test-cov, sync, update) into justfile.project. But justfile.project is preserved on upgrade by design — so any repo upgrading from the 0.3.x scaffold keeps its old justfile.project and never receives the relocated recipes, while the shipped ci.yml template calls just sync / just precommit / just test. Result: in-container CI fails with error: justfile does not contain recipe 'sync' (hyrr PR vig-os side: see EXOMA/hyrr#520 run 28743681271). Fresh scaffolds are unaffected (smoke-test passes) — only the upgrade path breaks.
Two aggravations observed:
The stale .devcontainer/justfile.base file is left behind on upgraded repos (nothing imports it — dead weight and confusion).
In talys the root justfile ended up with no scaffold import block at all (no import? '.devcontainer/justfile.devc' etc.), so even the fresh-template justfile.project recipes were unreachable. Worth checking whether the installer merges/preserves a customized root justfile correctly.
Possible Solution
Options (pick per SSoT design): (a) move CI-required recipes into a managed justfile (justfile.devc or a new managed file) instead of the preserved justfile.project; (b) make the upgrade path append missing base recipes to an existing justfile.project (or fail loudly listing them); (c) at minimum, a MIGRATION.md step + upgrade-time warning.
Related observation (may deserve its own issue): the template sync recipe changed semantics from plain uv sync to uv sync --all-extras --all-groups, which breaks repos that quarantine platform-limited deps in optional extras (hyrr's geometry extra ships cp312/313-only wheels).
Fix up in #891. Design decision: option (b) — upgrade-time repair. init-workspace --force probes each CI-contract recipe (lint format precommit test test-cov sync update) with just --show and appends only the missing ones to the preserved justfile.project, sourced verbatim from the template (SSoT) under a marked review-me banner — customized recipes always win and re-runs are no-ops.
Option (a) (managed justfile) was rejected: justfile.devc doesn't exist in direnv-mode workspaces, and any managed root-level file would duplicate-recipe-clash with fresh 0.4.0 scaffolds and already-migrated consumers, reversing the deliberate 0.4.0 team-owns-these-recipes design. Option (c) alone leaves upgraded CI red until a human intervenes; its MIGRATION.md step and warning are included anyway.
Also in #891: the stale .devcontainer/justfile.base is removed on upgrade (only where the scaffold manages .devcontainer/, never in direnv mode per #738), and the installer now warns when the root justfile lacks the scaffold import? block (the talys case).
The uv sync --all-extras --all-groups semantics observation is untouched and likely deserves its own issue.
Activity
c-vigo commentedon Jul 7, 2026
Fix up in #891. Design decision: option (b) — upgrade-time repair.
init-workspace --forceprobes each CI-contract recipe (lint format precommit test test-cov sync update) withjust --showand appends only the missing ones to the preservedjustfile.project, sourced verbatim from the template (SSoT) under a marked review-me banner — customized recipes always win and re-runs are no-ops.Option (a) (managed justfile) was rejected:
justfile.devcdoesn't exist indirenv-mode workspaces, and any managed root-level file would duplicate-recipe-clash with fresh 0.4.0 scaffolds and already-migrated consumers, reversing the deliberate 0.4.0 team-owns-these-recipes design. Option (c) alone leaves upgraded CI red until a human intervenes; its MIGRATION.md step and warning are included anyway.Also in #891: the stale
.devcontainer/justfile.baseis removed on upgrade (only where the scaffold manages.devcontainer/, never indirenvmode per #738), and the installer now warns when the rootjustfilelacks the scaffoldimport?block (the talys case).The
uv sync --all-extras --all-groupssemantics observation is untouched and likely deserves its own issue.test(workspace): repair must skip when the justfile graph does not parse
fix(workspace): skip base-recipe repair when the justfile graph does …
fix(workspace): repair preserved justfile.project with missing base r…
fix(workspace): preserve the consumer .pre-commit-config.yaml on upgr…
fix(image): one-cycle pre-commit->prek compat shim + upgrade-time ref…
feat(workspace): .vig-os declarative manifest with persisted mode/ide…
fix(workspace): namespace justfile.gh git helpers to prevent consumer…
c-vigo commentedon Jul 8, 2026
Implemented in 0.4.1 (released 2026-07-08) — see the
## [0.4.1]CHANGELOG entry. Closing as completed.test(workspace): update recipe assertions for parameterized sync header
chore: release 0.4.1 (#202)
fix(workspace): parameterize sync recipe so extras are opt-in (#924)
chore: release 0.4.1 (#898)
fix(workspace): treat pytest no-tests-collected exit as a green no-op (…
chore: release 1.5.1 (#1311)