Skip to content

fix(dev): bind-mount vendor/ on host, align mago schema to 1.47.3 - #61

Merged
tyrsson merged 1 commit into
1.1.xfrom
fix/vendor-volume-bind-mount
Aug 24, 2026
Merged

fix(dev): bind-mount vendor/ on host, align mago schema to 1.47.3#61
tyrsson merged 1 commit into
1.1.xfrom
fix/vendor-volume-bind-mount

Conversation

@tyrsson

@tyrsson tyrsson commented Aug 24, 2026

Copy link
Copy Markdown
Member

What

The \�endor\ named volume in \compose.yml\ kept dependencies inside the Docker Desktop VM instead of the developer's working tree, and forced all Composer I/O through the slow VM layer (observable as pegged CPU during installs).

Changes

  • \compose.yml: \�endor/:/app/vendor\ named volume removed — \�endor/\ is now the host's own copy via the existing :./app\ bind mount. The container is only the test runner. Composer cache stays in a named volume.
  • \mago.toml: schema comment aligned from 1.47.2 to the central webware-tools 1.47.3 pin (Dockerfile already at 1.47.3).

Verification

  • \docker compose config --quiet\ — valid
  • \docker compose up -d\ — tooling, mysql (healthy), phpMyAdmin on 8080
  • \composer install\ — packages land in host \�endor/; container and host see identical trees
  • \mago 1.47.3 lint\ — clean (baseline filters 28 issues)
  • \composer test\ — OK (86 tests, 130 assertions)

Companion change to the webware-tools alignment preset (source of truth); sibling PRs for the other packages with the same setup will follow.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

The vendor named volume hid dependencies from the developer's working
tree and pushed all Composer I/O through the Docker Desktop VM layer.
vendor/ now lives in the host checkout (the container is only the test
runner), and the mago.toml schema comment now matches the central
webware-tools 1.47.3 pin.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@codecov

codecov Bot commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@tyrsson
tyrsson merged commit 97f29ff into 1.1.x Aug 24, 2026
11 checks passed
@tyrsson
tyrsson deleted the fix/vendor-volume-bind-mount branch August 24, 2026 23:13
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