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
Commit 6bfdafd
Browse filesBrowse the repository at this point in the historyBrowse files
[CELL-294, CELL-296] cell chrome/cell login become cell auth chrome, [[volumes]] mount accepts a single path, and thin images stop losing packages when another stack rebuilds against the shared nix-store volume
- feat(cmd/chrome, cmd/auth): move `cell chrome` under `cell auth chrome` and drop `cell login` — host-side credential bootstrap lives under one umbrella; the old top-level commands are gone
- feat(cfg, runner): `[[volumes]] mount = "/foo"` expands to `/foo:/foo` — a colonless mount now means "same path on host and inside container", removing the boilerplate of repeating identical paths
- fix(runner/thin_build): bake the container-local profile symlink to the just-switched home-manager `/nix/store` realpath and pin it as a per-stack GC root — a thin image no longer silently loses chromium/patchright the moment another cell builds a leaner stack against the shared nix-store volume
- fix(runner/thin_build): drop `/nix/var/nix/profiles/per-user/root/profile/bin` from the baked image PATH — PATH lookup no longer resolves tools through the mutable shared-volume slot before the immutable one
- test(cfg): cover `VolumeMount.Resolved()` shorthand expansion — no impact
- test(runner): assert `-v /foo` becomes `-v /foo:/foo`, and that the thin builder resolves realpath, registers a per-stack GC root, and keeps the shared-volume slot off the baked PATH — no impact
- test(cmd/chrome): retarget help/behavior tests to `cell auth chrome`, add regressions that `cell chrome` and `cell login` are no longer registered at the root — no impact
t.Error("builder must register the resolved home-manager profile as a GC root under /nix/var/nix/gcroots/devcell/ so the shared-volume GC does not reap it")
452
+
}
453
+
454
+
// Per-stack GC root name — different stacks must not clobber each other's
455
+
// roots. Use the hmTarget + archSuffix combo, matching the existing flake
0 commit comments