This repository was archived by the owner on Nov 2, 2026. It is now read-only.
Repository navigation
Harden WP Codebox PHPUnit diagnostic artifacts - #2260
Merged
Merged
Conversation
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Relates to #2255 and merged #2257.
Summary
runtime-<alphanumeric-or-hyphen>pointer basename, resolve it canonically, and require it to remain directly under that invocation's artifact scopetest-results.json, and failure sidecars only from the validated current runtime artifactNO_TEST_FILESand test-result sidecars cannot mask a current startup failureDependencies
Depends on merged Automattic/wp-codebox #1799, #1804, and #1805.
Fresh-checkout tests
cd wordpress && node tests/wp-codebox-phpunit-recipe-builder-smoke.jscd wordpress && bash scripts/test/wp-codebox-mount-translation-smoke.shcd wordpress && bash -n scripts/test/test-runner-wp-codebox.sh scripts/test/wp-codebox-mount-translation-smoke.sh scripts/test/playground-db-activation-smoke.shb8c4cfe, then runHOMEBOY_WP_CODEBOX_INSTALL_DIR=/var/empty/wp-codebox HOMEBOY_WP_CODEBOX_BIN=<wp-codebox>/packages/cli/dist/index.js HOMEBOY_WP_CODEBOX_CORE_MODULE=<wp-codebox>/packages/runtime-core/dist/recipe-builders.js HOMEBOY_CORE_DIR=<homeboy> bash wordpress/scripts/test/playground-db-activation-smoke.sh. The empty install directory ensures the selected CLI and recipe-builder module come from that exact build.git diff --checkCompatibility
Readonly component sources remain immutable. Malformed or out-of-scope runtime pointers fail closed with an actionable diagnostic. PHPUnit result sidecars now come only from the validated current runtime artifact; unrelated caller artifacts remain intact.
AI assistance