Skip to content

[Blueprints] Resolve simple Blueprint v2 WordPress versions - #3891

Merged
adamziel merged 1 commit into
trunkfrom
resolve-v2-runtime-wordpress-version
Jul 3, 2026
Merged

[Blueprints] Resolve simple Blueprint v2 WordPress versions#3891
adamziel merged 1 commit into
trunkfrom
resolve-v2-runtime-wordpress-version

Conversation

@adamziel

@adamziel adamziel commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

What?

Resolves simple Blueprint v2 wordpressVersion strings into RuntimeConfiguration.wpVersion.

This covers concrete versions and labels such as beta, trunk, and nightly. Constraint-object handling remains unchanged and stays on the default latest behavior for now.

Why?

This connects another simple Blueprint v2 runtime field to the existing Playground boot data flow while keeping version constraint resolution separate.

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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Connects Blueprint v2 wordpressVersion (when provided as a simple string) to the resolved RuntimeConfiguration.wpVersion, while keeping constraint-object resolution on the default latest behavior.

Changes:

  • Resolve Blueprint v2 wordpressVersion string values into RuntimeConfiguration.wpVersion.
  • Add tests covering simple WordPress version strings and constraint-object defaulting.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
packages/playground/blueprints/src/lib/resolve-runtime-configuration.ts Adds Blueprint v2 WordPress version resolution logic and wires it into resolveRuntimeConfiguration.
packages/playground/blueprints/src/tests/v2/resolve-runtime-configuration.spec.ts Adds test coverage for resolving simple WordPress version strings and defaulting for constraint objects.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/playground/blueprints/src/lib/resolve-runtime-configuration.ts Outdated
@adamziel
adamziel force-pushed the resolve-v2-runtime-php-version branch from 3e40dea to 6c30491 Compare July 3, 2026 12:18
@adamziel
adamziel force-pushed the resolve-v2-runtime-wordpress-version branch 2 times, most recently from f8e2d12 to ee84569 Compare July 3, 2026 13:13
@adamziel
adamziel force-pushed the resolve-v2-runtime-php-version branch from 6c30491 to 1c9047d Compare July 3, 2026 13:19
Base automatically changed from resolve-v2-runtime-php-version to trunk July 3, 2026 13:19
@adamziel
adamziel requested review from a team and ashfame July 3, 2026 13:19
@adamziel
adamziel force-pushed the resolve-v2-runtime-wordpress-version branch from ee84569 to 8b8a9be Compare July 3, 2026 13:20
@adamziel
adamziel merged commit f110a9b into trunk Jul 3, 2026
49 of 50 checks passed
@adamziel
adamziel deleted the resolve-v2-runtime-wordpress-version branch July 3, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment