Skip to content

[PHP] Add upstream PHPT harness#740

Open
brandonpayton wants to merge 5 commits into
mainfrom
gascity/kd-6nz/kd-phb-php-phpt-harness-only-base
Open

[PHP] Add upstream PHPT harness#740
brandonpayton wants to merge 5 commits into
mainfrom
gascity/kd-6nz/kd-phb-php-phpt-harness-only-base

Conversation

@brandonpayton

Copy link
Copy Markdown
Member

Supersedes fork-headed PR #736. This replacement keeps the same head commit (3109baf285c151471b7be1264c9cdc10478d0871) but moves the PR head onto an Automattic/kandelo branch.

Why this is needed

The upstream PHP PHPT suite is the compatibility signal for the PHP package. Without an in-repo harness, failures found during PHP bring-up stay anecdotal: we cannot repeatedly run the same upstream tests, preserve pass/fail/skip artifacts, or review kernel/runtime fixes against a stable test surface.

Why this shape makes sense

This PR keeps the harness separate from the runtime fixes discovered by running it. That makes the first review unit about adopting the PHPT runner, source layout, bounded browser execution, diagnostics, and known harness-specific guards, while the PHP-driven kernel and host fixes land as focused follow-up PRs.

Why this is the correct fix

The harness should model upstream PHPT behavior instead of replacing it with custom smoke tests. Keeping it in the repo gives us repeatable PHP compatibility coverage for both Node and browser hosts and lets later fixes be justified by concrete upstream PHPT failures.

Verification

This is a branch-location correction only; no code was changed from the superseded PR. The replacement head SHA matches #736 exactly.

Port the PHP-specific harness, browser VFS/page wiring, PHP 8.3.15 package recipe, libiconv dependency package, and support fixtures from source PR #2 as a scoped checkpoint. General platform fixes and current validation evidence follow in later commits.
@github-actions

Copy link
Copy Markdown

Phase B-1 matrix build status — pr-740-staging

ABI v15. 8 built, 0 failed, 8 total.

Package Arch Status Sha
libiconv wasm32 built 0940adeb
libiconv wasm64 built a3254e70
libxml2 wasm32 built f31b85aa
libxml2 wasm64 built 2307f0d7
php wasm32 built 9da1b62c
rootfs wasm32 built b79c2fb2
shell wasm32 built 6e925d8a
node-vfs wasm32 built ead76749

Auto-generated; replaced on each push. Raw data in the publish-status workflow artifact.

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