Skip to content

fix: doctor shows Docker Desktop's VM memory; an emptied linked copy is prepared again (#309, #311) - #318

Merged
7schmiede merged 1 commit into
mainfrom
fix/309-311-followups
Oct 27, 2026
Merged

7schmiede merged 1 commit into
mainfrom
fix/309-311-followups

Conversation

@7schmiede

Copy link
Copy Markdown
Member

Follow-ups of #313, which left these two out.

#309: devstack doctor shows the VM's limit

With Docker Desktop, doctor adds an info line: the VM's memory, what the running containers use of it, what is free there, and the host's free memory. Checked here:

info  Memory: containers run in Docker Desktop's VM, 31.3 GB, 6.7 GB of it used by the containers that run, 24.7 GB free; a lane's containers must fit there, its services on the host (31.5 GB free) (raise the limit in Docker Desktop, or in `.wslconfig` for WSL 2)

#311: an emptied linked copy is prepared again

When a prepare is done, the entries of each link directory are counted beside its mark (prepared/<service>.entries). A directory that has since lost more than a tenth of them (an npm ci through the worktree's junction) is not a copy of its key:

A mark from before has no counts and is not checked. ADR-0063 amended, stack-file.md and both skill rows updated.

Tests

a_copy_emptied_through_its_link_is_noticed, the_memory_line_names_docker_desktops_vm; cargo test for devstack, devstack-daemon, devstack-compose; clippy clean.

🤖 Generated with Claude Code

…is prepared again (#309, #311)

- #309: `devstack doctor` shows the memory of Docker Desktop's VM, what
  the running containers use of it, and the host's free memory.
- #311: with a prepare's mark, the entries of each linked directory are
  counted (`prepared/<service>.entries`). One that lost more than a tenth
  of them (a reinstall through the worktree's link) is prepared again: a
  local lane's copy before its service starts, with a notice and
  `prepare_copy_emptied` in the log; a lane on a node's at the next look,
  into its other copy. ADR-0063 amended.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@7schmiede
7schmiede merged commit 696354b into main Oct 27, 2026
13 checks passed
@7schmiede
7schmiede deleted the fix/309-311-followups branch October 27, 2026 16:15
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