Skip to content

fix: harden Lagoon proxy routes and cover unreleased fixes - #110

Open
AaronFeledy wants to merge 4 commits into
mainfrom
prep/release-20261113
Open

AaronFeledy wants to merge 4 commits into
mainfrom
prep/release-20261113

Conversation

@AaronFeledy

@AaronFeledy AaronFeledy commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Purpose

Prepare the unreleased Lagoon fixes with regression coverage and accurate release notes.

Changes

  • Build local service-context source images in dependency order before start/rebuild; CI showed Compose trying to pull the not-yet-built local drupalbase-cli image from Docker Hub. Keep the Drupal integration scenario and CLI_IMAGE args.

  • Fix numeric proxy ports, use each basic service’s own container port, and retain the root-domain route for an explicitly selected basic primary.

  • Cover build-context resolution, additional-context stripping, and proxy generation with isolated tests.

  • Document the unreleased payload. Relative build contexts, additional-context stripping, dependency refreshes and npm promotion fixes are already on main, not newly imported here. Related fix: strip additional_contexts and resolve relative build contexts #107 remains separate.

  • Replace retired macOS 14 PR runners and pin the Leia fallback to the existing locked version after CI exposed incompatible latest-tool drift.

Validation

  • Node 20: lint and unit tests pass (21 passing; one unchanged pending auth placeholder).
  • Current docs build and npm package byte inspection pass.
  • Fresh Cursor Bugbot (cursor-grok-4.6-xhigh-fast) passed on 3f5e8296c9c2be5b62ad0ec7d08ffe0e6554dd84 against base 380f69c4c21afc913049a264db6b5679165f68d5: no bugs.

Limits

Full local Lando/Docker integration and historical multiversion docs were not run. The prior CI head passed all four other Lagoon scenarios but failed both Drupal jobs on local image build ordering; all six final-head Lagoon integration jobs pass. The edge proxy job passed its one failed-job-only rerun after an initial post-rebuild 404; the other five passing jobs were reused. No shared setup, apps or networks were changed. Version/date remain for release automation; no release or package publication is included.


Note

Medium Risk
Proxy port logic affects local routing for Lagoon basic and explicit primary services; behavior change is covered by new unit tests but not full Lando integration in this PR.

Overview
Proxy routing now targets each service’s container port instead of a shared basic port or host mappings: a new getContainerPort helper handles numeric and host:container Compose syntax, explicit primary servers use per-service ports, and each lagoon-basic service gets its own route.

Regression tests were added for Lagoon builder compose output (build context resolution, no build on image-only services), compose parsing (additional_contexts stripping), and proxy route generation.

Release notes expand the unreleased changelog; CI pins lando/run-leia-action to 1.0.0-beta.4 and moves unit tests from macos-14 to macos-15.

Reviewed by Cursor Bugbot for commit 3f5e829. Bugbot is set up for automated code reviews on this repo. Configure here.

@netlify

netlify Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for lando-lagoon ready!

Name Link
🔨 Latest commit 3f5e829
🔍 Latest deploy log https://app.netlify.com/projects/lando-lagoon/deploys/6afa7d6dc6e5dd612e53ed46
😎 Deploy Preview https://deploy-preview-110--lando-lagoon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 79 (🔴 down 14 from production)
Accessibility: 98 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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