Skip to content

[Blueprints] Resolve preferred Blueprint v2 WordPress versions - #3894

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

[Blueprints] Resolve preferred Blueprint v2 WordPress versions#3894
adamziel merged 1 commit into
trunkfrom
resolve-v2-runtime-wordpress-preferred

Conversation

@adamziel

@adamziel adamziel commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

What

Uses wordpressVersion.preferred from Blueprint v2 constraint objects when resolving runtime configuration. Constraints without a preferred version keep the current latest fallback.

Why

This is a small step toward honoring Blueprint v2 version constraints without adding full constraint solving yet. It lets consumers that already provide an explicit preferred WordPress version get the matching runtime instead of silently booting latest.

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.

@adamziel
adamziel force-pushed the resolve-v2-runtime-constants branch from 2a1136d to 097c970 Compare July 3, 2026 13:14
@adamziel
adamziel force-pushed the resolve-v2-runtime-wordpress-preferred branch from 3ab6bb1 to 97b7435 Compare July 3, 2026 13:15
@adamziel
adamziel force-pushed the resolve-v2-runtime-constants branch from 097c970 to 083e186 Compare July 3, 2026 13:21
Base automatically changed from resolve-v2-runtime-constants to trunk July 3, 2026 13:21
@adamziel
adamziel requested review from a team and mho22 July 3, 2026 13:21
@adamziel
adamziel force-pushed the resolve-v2-runtime-wordpress-preferred branch from 97b7435 to c5ae5aa Compare July 3, 2026 13:21
@adamziel
adamziel merged commit cc42dda into trunk Jul 3, 2026
49 of 50 checks passed
@adamziel
adamziel deleted the resolve-v2-runtime-wordpress-preferred branch July 3, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment