mesa-doc /mesa-pro/docs/base-e2e
docs

Pro → base e2e

scripts/e2e-base.mjs exercises the commercial boundary against a real base checkout:

  1. Pro issues an Ed25519 license → base modu license verify accepts it.
  2. Pro signs a pack (pack.sig) → base modu pack verify accepts it and hashes match.
  3. Base modu contract --json reports schema.pageSpec === 2.

Local

MESA_BASE_DIR=/path/to/mesa node scripts/e2e-base.mjs

Requires Node 24 and the base source tree (modu-server/src/cli.ts). Use a clean temp directory; the script cleans up after itself.

CI

.github/workflows/e2e-base.yml checks out the public base (delmore7/mesa) and runs the e2e on every push to main; no token or cross-repo secret is required.

The e2e also checks license limits (limits.projects/plugins) and .modu/connectors/ discovery via base modu connector list; the connector runtime remains Pro-owned.

The base checkout must build @modu/contracts dist before running (npm -w @modu/contracts run build); the workflow does this explicitly because the connector manifest contract is a runtime import.

It also starts the base modu cockpit --api-only sidecar and verifies the project snapshot endpoint; the base UI is never exposed.

The approval endpoint check creates a local IAM admin, logs in, and reads /api/approvals/definitions; the engine remains base-owned.

It validates datasources.json#connector through modu check and reads authenticated /api/datasources/health; connector execution stays Pro-owned.

源文件 · mesa-pro/docs/base-e2e.md