Repository navigation
feat(lsp): add version-aware PHPantom runtime - #435
Open
glassmonkey wants to merge 26 commits into
Open
glassmonkey wants to merge 26 commits into
glassmonkey wants to merge 26 commits into
Conversation
Vendor the pinned PHPantom source and expose the runtime through a local Rust wrapper. Add pinned native/WASI validation for the browser runtime.
Package the complete reviewed Phase B source patch with a pinned Docker build route, per-target provenance, and focused native and WASI regression probes. Keep generated candidates outside the checked-in asset path.
Hash every patched and added Rust file against both the frozen Phase B source and a pristine upstream archive after patch application. Record full stubs commit-marker, archive, map, and file-count readback in candidate provenance.
Support all pinned PHP targets with a serialized shared Cargo cache, per-build stub-tree revalidation, immutable per-version artifact hashes, and boundary-focused WASI behavior checks.
glassmonkey
marked this pull request as ready for review
November 1, 2026 15:29
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ba63d9b04c321ebb1cef7e306127479392c03d77into the existing GLA-115 branch. Refresh source head:dd9f9698be976a0e714968eaeb21ebc243f12367(parents: previous runtime head7e0e2f48b18ddf9fb4b5eb5774f5f0c32615d639and PR437).@bjorn3/browser_wasi_shim.Pins
49b9a7513ed19cbbfb79d5d08a3f3693ffb2b668; archive SHA-256f5861b581a5503c7bf033df82390d08fbc9a971fa769afa90a310d0c623eb59d.4996a41403b2c570ba3e6a5a67c86bbe2833129c95bca62f19c5e39581a4b31d; all 15 resulting files remain manifest-pinned.2049ca3cfa1feabf52db074108fe776a5713cf02; archive SHA-2563ef62542d2f77ad30c7dab7dfa726e57e86dd5e3403780294119cf4f5ca6dcb7.rust:1.99.0-bookworm@sha256:114c7a4425406451c2866b6aafe69fe29b1b298832db1277d411ac73c82d04d6.Refresh validation
npm ci,npm run build:types,npm run lint:js,npm run test:ci, andnpm run buildpassed. Unit: 9 files / 541 tests, including the LSP client, PHP workers, and Chromium PNG decoding. Build verified 188 canonical pages, 187 image references and 18 configured-latest aliases.python3 scripts/test-dockerfile-fixed-web-stages.pyandbash -n scripts/lsp/phpantom/{build-wasm,build-in-container}.shpassed.7c874fef41f7082b20f437469945904c3d2d542861cce36dffccef0b8751430apassed its WASI harness.PHP 7.4 same-name user documentation marker (known baseline)inphp74_same_name_user_function_and_local_symbols_survive:nativeRawExit=101,nativePassed=6,nativeFailed=1,knownLimitMatched=true,unexpectedFailures=0. This is not 7/7; classification is unchanged.New-head CI is not claimed or polled here; repeat watching belongs to the secretary. Browser/Monaco UI integration and production asset adoption remain outside this build integration. No GitHub merge or deployment was performed. Complete UI/versioned artifacts remain in #434.
PR437 refresh final review
Based on PR #437 at
ba63d9b04c321ebb1cef7e306127479392c03d77. Reviewed head:dd9f9698be976a0e714968eaeb21ebc243f12367. Current-head Unit Tests, reviewdog, PHPantom native/WASI and Playwright workflows all succeeded. An older same-head duplicate PHPantom run was cancelled; its replacement succeeded. GitHub currently reports MERGEABLE/UNSTABLE with that cancelled check still visible.Release dependency order: #437 → #435 → #434. No merge or deployment has been performed. Raw native regression remains 6/7 with the exact documented same-name PHPDoc limitation; the CI classifier does not make this a raw 7/7 pass.