Skip to content

[6.x] Prepare Commerce toolchains and workbench for orbs - #4393

Merged
lukeholder merged 1 commit into
6.xfrom
chore/commerce-orb-setup
Oct 30, 2026
Merged

lukeholder merged 1 commit into
6.xfrom
chore/commerce-orb-setup

Conversation

@riasvdv

@riasvdv riasvdv commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Prepare reusable orb snapshots and a supervised workbench portal, following the CMS 6.x service pattern.

+ .agents/setup       Install PHP 8.5, Node 24, pinned pnpm, and locked dependencies; build assets and seed SQLite
+ .agents/resume      Reuse restored dependencies and database without reinstalling
+ .amp/services.yaml  Serve the workbench with Amp-assigned PORT and PUBLIC_URL

Ignore generated portal manifests and document how to start and restart the workbench. Portal origins stay in the service environment rather than workbench/.env.

Evidence

  • Before: This repository had no orb lifecycle scripts or declared portal service; PHP and Composer were absent in the fresh orb.
    After: .agents/setup succeeded in 30.2 seconds on the first run and 3.6 seconds on the warm run. The warm run reported no Composer changes and pnpm already up to date. .agents/resume finished in under 0.01 seconds.
  • A clean non-interactive login shell resolves PHP 8.5.12, Composer, Node 24.22.1, and pnpm 11.25.0. composer check-platform-reqs passed.
  • amp orb services ensure and a subsequent workbench restart both returned HTTP 302 readiness. Restart preserved the seeded user/store counts and the SHA-256 of workbench/.env.
  • Browser checks reached the auto-signed-in dashboard and rendered Commerce Orders. Forwarded HTTPS requests returned Orders with HTTP 200 and public-origin asset URLs. Public-portal browser authentication itself was not exercised.
  • vendor/bin/pest --compact --testsuite=Unit: 78 passed, 155 assertions.
  • bash -n .agents/setup .agents/resume, Prettier checks for README/services, and git diff --check passed.

@riasvdv
riasvdv requested a review from a team as a code owner October 28, 2026 15:26
@riasvdv
riasvdv requested a review from brandonkelly October 28, 2026 15:27
@riasvdv riasvdv changed the title Prepare Commerce toolchains and workbench for orbs [6.x] Prepare Commerce toolchains and workbench for orbs Oct 28, 2026
@lukeholder
lukeholder merged commit fa9aedd into 6.x Oct 30, 2026
10 of 12 checks passed
@lukeholder
lukeholder deleted the chore/commerce-orb-setup branch October 30, 2026 04:40
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.

2 participants