release: v0.4.2 — don't export BUBBLEBOX_PROFILE when the profile is absent #12

Merged
chad merged 2 commits from release/v0.4.2 into master 2026-10-15 18:09:48 -04:00
Collaborator

Fixes the second stacked cause of the pkgs publish failure (run 116), then bumps to 0.4.2 so it can ship immediately — one PR, one merge, one tag.

The bug (mine, from the v0.3.0 --profile work): export_env published BUBBLEBOX_PROFILE even when it resolved to a profile that doesn't exist. Nested engine invocations inherit it and treat it as an explicit location — so on a host with no profile.toml (the nightly/publish store), every composing package died in smoke with profile not found (rust-dev's command -v cargo, nvim, and two more in run 116). The thinkpad never saw it because its profile exists.

Fix: export the profile only when it exists; profile-less hosts resolve the same (missing) default in children instead of erroring. cargo test --workspace: 137 pass, including a regression test for both cases. Live-verified end to end on bee: bubblebox run nvim (composes rg/fd via the nested child) with no profile present now works; before the fix it printed exactly the CI error.

After merge: tag v0.4.2 (I'll do it), pkgs CI pin follows, publish re-dispatched (I'll do both). Then the cache finally gains the 66 unpublished packages and cn#79 unblocks.

Fixes the second stacked cause of the pkgs publish failure (run 116), then bumps to 0.4.2 so it can ship immediately — one PR, one merge, one tag. **The bug (mine, from the v0.3.0 `--profile` work):** `export_env` published `BUBBLEBOX_PROFILE` even when it resolved to a profile that doesn't exist. Nested engine invocations inherit it and treat it as an *explicit* location — so on a host with no profile.toml (the nightly/publish store), every **composing** package died in smoke with `profile not found` (rust-dev's `command -v cargo`, nvim, and two more in run 116). The thinkpad never saw it because its profile exists. **Fix:** export the profile only when it exists; profile-less hosts resolve the same (missing) default in children instead of erroring. `cargo test --workspace`: 137 pass, including a regression test for both cases. Live-verified end to end on bee: `bubblebox run nvim` (composes rg/fd via the nested child) with no profile present now works; before the fix it printed exactly the CI error. **After merge:** tag `v0.4.2` (I'll do it), pkgs CI pin follows, publish re-dispatched (I'll do both). Then the cache finally gains the 66 unpublished packages and cn#79 unblocks.
chad merged commit 183735e937 into master 2026-10-15 18:09:48 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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!12
No description provided.