Skip to content

[Blueprints] Resolve latest Blueprint v2 PHP label - #3896

Merged
adamziel merged 1 commit into
trunkfrom
resolve-v2-runtime-php-latest
Jul 3, 2026
Merged

[Blueprints] Resolve latest Blueprint v2 PHP label#3896
adamziel merged 1 commit into
trunkfrom
resolve-v2-runtime-php-latest

Conversation

@adamziel

@adamziel adamziel commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

What

Maps Blueprint v2 phpVersion: "latest" to LatestSupportedPHPVersion when resolving runtime configuration.

Why

The Blueprint v2 schema allows the latest PHP label, but Playground runtime configuration needs a concrete PHP wasm build id. This keeps the schema-supported label usable without passing latest through as an unsupported runtime version.

Testing

  • npm run format:uncommitted
  • npm exec nx run playground-blueprints:test:vite -- --testFiles=packages/playground/blueprints/src/tests/v2/resolve-runtime-configuration.spec.ts
  • npm exec nx run playground-blueprints:typecheck
  • npm exec nx run playground-blueprints:lint
  • git diff --check

Part of #2592.

Base automatically changed from resolve-v2-runtime-php-recommended to trunk July 3, 2026 13:47
@adamziel
adamziel requested review from a team and brandonpayton July 3, 2026 13:47
@adamziel
adamziel force-pushed the resolve-v2-runtime-php-latest branch from bc81c80 to 9199539 Compare July 3, 2026 13:48
@adamziel
adamziel merged commit a1c1f20 into trunk Jul 3, 2026
49 of 50 checks passed
@adamziel
adamziel deleted the resolve-v2-runtime-php-latest branch July 3, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment