Skip to content

Add Zstandard to native PHP runtimes - #4756

Open
chubes4 wants to merge 1 commit into
trunkfrom
add-zstd-php-runtime
Open

Add Zstandard to native PHP runtimes#4756
chubes4 wants to merge 1 commit into
trunkfrom
add-zstd-php-runtime

Conversation

@chubes4

@chubes4 chubes4 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • build the Zstandard PHP extension into macOS and Linux native runtimes
  • package and enable the PECL Zstandard extension on Windows
  • verify Windows runtime assembly loads Zstandard

This is the runtime prerequisite for portable .fig imports. It keeps decompression inside Studio’s packaged PHP runtime rather than relying on a host-installed zstd executable.

Testing

  • npm test -- apps/cli/lib/native-php/tests/config.test.ts
  • npm exec eslint -- apps/cli/lib/native-php/config.ts apps/cli/lib/native-php/tests/config.test.ts
  • npm exec tsc -- --noEmit --pretty false -p apps/cli/tsconfig.json
  • git diff --check
  • cross-platform PHP workflow build to follow on this branch

AI assistance

OpenAI GPT-5.6 Sol via OpenCode inspected the native runtime packaging paths, implemented the cross-platform extension wiring, and ran the focused verification commands. The implementation and resulting diff were reviewed by Chris Huber.

@chubes4
chubes4 marked this pull request as ready for review September 9, 2026 19:27
@chubes4
chubes4 requested a review from a team as a code owner September 9, 2026 19:27
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.

1 participant