run: realize missing packages on demand #3

Merged
chad merged 1 commit from run/auto-realize into master 2026-10-06 14:15:35 -04:00
Collaborator

Makes bubblebox run <entrypoint> realize its entire package closure before execution:

  1. use existing local descriptors
  2. try configured binary caches package-by-package
  3. build remaining packages from registered sources
  4. fail with one actionable list for unresolved packages

After a pull, run reloads the effective entrypoint and realizes dependencies revealed by remote default metadata, covering virtual and composed entrypoints. bubblebox run --offline ... provides strict local-only behavior with no pull or build.

Verification:

  • clippy --workspace --all-targets clean
  • 121/121 unit tests green (2 new realization decision tests)
  • release workspace build green
  • isolated real E2E: absent Nushell auto-built from registered source and executed a structured pipeline (alpha,beta)
  • after removing its descriptor, run --offline nushell failed before execution with the expected missing-local-package error

Explicit build and pull remain available for expert workflows.

Makes `bubblebox run <entrypoint>` realize its entire package closure before execution: 1. use existing local descriptors 2. try configured binary caches package-by-package 3. build remaining packages from registered sources 4. fail with one actionable list for unresolved packages After a pull, run reloads the effective entrypoint and realizes dependencies revealed by remote default metadata, covering virtual and composed entrypoints. `bubblebox run --offline ...` provides strict local-only behavior with no pull or build. Verification: - clippy --workspace --all-targets clean - 121/121 unit tests green (2 new realization decision tests) - release workspace build green - isolated real E2E: absent Nushell auto-built from registered source and executed a structured pipeline (`alpha,beta`) - after removing its descriptor, `run --offline nushell` failed before execution with the expected missing-local-package error Explicit `build` and `pull` remain available for expert workflows.
chad approved these changes 2026-10-06 14:15:32 -04:00
chad merged commit 7396c98bf1 into master 2026-10-06 14:15:35 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
chad/bubblebox!3
No description provided.