Skip to content

Compile PHP 8.6 turbo binaries against 8.6.0RC2 - #6599

Merged
ondrejmirtes merged 1 commit into
2.2.xfrom
turbo-php86-rc1
Sep 25, 2026
Merged

ondrejmirtes merged 1 commit into
2.2.xfrom
turbo-php86-rc1

Conversation

@ondrejmirtes

Copy link
Copy Markdown
Member

PHP 8.6.0RC2 bumped the module API (20250926 → 20260924, php-src 3987f2e7f0e). The turbo 8.6 binaries were still compiled against the old one:

ondrej/php only carries 8.6.0beta3, so:

  • the turbo-build image gains gnu-php8.6, built from the checksum-pinned official RC2 tarball on ubuntu:22.04 (glibc floor 2.34 kept); the gnu 8.6 compile legs use it like 8.3–8.5 and all the setup-php special-casing goes away
  • PHP86_WINDOWS_VERSION → 8.6.0RC2
  • the ubuntu-latest 8.6 turbo-run legs (binary loaded into setup-php's nightly) are excluded; turbo-docker-run covers them in the official prerelease image

Verified locally (arm64): the image builds, the extension compiles with the strict warning flags, needs at most GLIBC_2.34, passes smoke/arena/exit-immediately/signature-parity/trusted-types, and loads into php:8.6-rc-cli-bookworm (token-id probe OK, classes shadowed).

The gnu-php8.6 image was published from this branch via workflow_dispatch before opening this PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_01G7KTTCjJCkx6FUNorJwUbW

8.6.0RC2 bumped the module API (20250926 -> 20260924). The Linux gnu
8.6 legs compiled against setup-php's nightly, still a Sep 22 snapshot
with the old API, so the binary refused to load into the php:8.6-rc
image and into every RC2+ PHP. Windows compiled against the pinned
8.6.0beta3 devel pack, with the same result for users.

The gnu 8.6 legs now run in a ghcr.io/phpstan/turbo-build:gnu-php8.6
image like 8.3-8.5; ondrej/php only has 8.6.0beta3, so the image builds
the checksum-pinned RC2 tarball on ubuntu:22.04 (glibc floor 2.34
kept). Windows moves to 8.6.0RC2. The ubuntu 8.6 turbo-run legs, which
load the binary into setup-php's nightly, are dropped; turbo-docker-run
covers them in the official prerelease image.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G7KTTCjJCkx6FUNorJwUbW
turbo-compile:
name: "Compile Turbo Extension"
runs-on: ${{ matrix.php-version == '8.6' && matrix.target.family == 'gnu' && (matrix.target.name == 'linux-gnu-arm64' && 'ubuntu-22.04-arm' || 'ubuntu-22.04') || matrix.target.runs-on }}
runs-on: ${{ matrix.target.runs-on }}
@ondrejmirtes
ondrejmirtes merged commit 156f1ff into 2.2.x Sep 25, 2026
585 of 589 checks passed
@ondrejmirtes
ondrejmirtes deleted the turbo-php86-rc1 branch September 25, 2026 20:42
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