-
Notifications
You must be signed in to change notification settings - Fork 316
Playground CLI: Use Blueprints v2 #2281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
100 commits
Select commit
Hold shift + click to select a range
667db0e
Use Blueprints v2 runner in CLI
adamziel 3d3b077
Don't use the primary PHP instance for running CLI tasks
adamziel d1fbc1e
Update the blueprints runner
adamziel b9d13b1
Run a single Blueprints V2 test
adamziel 2661e94
Lint
adamziel eaab081
shorten the comments
adamziel 939dcf6
Pass CLI args to blueprints.php
adamziel 2f95b96
CLI runner adjustments to report errors effectively and run subproces…
adamziel 31d26a8
Fix content imports in the Blueprint v2 runner
adamziel c9a3852
Lint
adamziel b3dee6b
Support Blueprint v2-specific options in Playground CLI. Expand Async…
adamziel 3d278cd
Lint tests
adamziel 4addf5e
Remove top level await
adamziel 20e7ccd
Rewire auto-mounts for v2 runner
adamziel e724215
Restore quiet: true in unit tests
adamziel 9dcefd6
Apply WordPress override via filters, not CLI options
adamziel 83b3a13
Rebuild blueprints.phar
adamziel 33db4a7
Simplify the data flow leading to running blueprints.phar
adamziel ee3cab1
Move PHP_BINARY setup to phpwasm-emscriptem-library.js
adamziel 2d366a2
Extract sandboxed spawn handler to a separate module
adamziel fc838c9
Use sandboxed spawn handler in v2.spec.ts
adamziel 5ac3994
Cleanup
adamziel b2452d8
Lint
adamziel 9d11c70
Infer PHP version from the Blueprint
adamziel 542e7cd
Remove stale tests
adamziel c8e20de
Remove stale CLI options
adamziel 423ba57
Lint
adamziel 9bfdc6d
Move quieting the logs higher up
adamziel 089d22d
Add a TODO
adamziel b311c14
Remove a done TODO
adamziel 40976be
Restore PHP builds
adamziel 28e4a36
Restore PHP builds
adamziel 44d3816
Fix CLI tests
adamziel 59a5b9b
Move process.exit(0) to cli.ts
adamziel 5ea0b35
Unbind php.onMessage listener after cli() is finished
adamziel 80d906c
Preserve import('node:fs') in the blueprints package
adamziel ac86f08
Lint
adamziel 1b22c38
test blogname in test-built-npm-packages
adamziel 1369ae7
Merge branch 'trunk' into use-blueprints-v2-runner-in-cli
adamziel 628f336
Got Blueprints v2 to execute in the multi-worker setup (with a primar…
adamziel efc6aca
add the missing mountResources() call for primary workers
adamziel 43c560e
Merge branch 'trunk' into use-blueprints-v2-runner-in-cli
adamziel 7861ebc
PHP Node: Only consider NODEFS to be a shared filesystem
adamziel e4e9aed
Merge branch 'only-consider-nodefs-to-be-shared' into use-blueprints-…
adamziel 68d968f
Rebuild blueprints
adamziel 5a3a5ff
lint
adamziel 8ec508c
lint
adamziel b24c0e0
Adjust the site title for unbuilt packages CI tests
adamziel 989cf3e
Fix Playground CLI build
adamziel 4d2e0a7
Adjust the used Blueprint reference
adamziel 1555aa3
Import blueprints.phar using a dynamic import, not static import
adamziel 20d6d45
Use .default on the dunamic import
adamziel c9b1cc1
Adjust the site title in tests
adamziel 3e9e607
Cleanup error reporting
adamziel 243feb8
Reduce Blueprint v2 hooks to a single onMessage callback
adamziel ca1e608
Lint
adamziel a769911
Remove blueprints.phar from the list of assets required for offline mode
adamziel 163e962
Fix JSPI crash – prevent calling cli() and runStream() on the same PH…
adamziel 4a81847
assertions=0
adamziel 0b317e0
adjut test-running-unbuild-cli.sh
adamziel a95d8fc
adjut test-running-unbuild-cli.sh
adamziel dcb52d7
adjust error reporting and test-running-unbuild-cli.sh
adamziel 709f0bd
Move blueprints v2 to the CLI package
adamziel b58b622
Move blueprints v2 to the CLI package
adamziel 5ec9c71
lint
adamziel 8914548
Keep the server alive
adamziel 5041985
Improve built packages test script
adamziel b1aed59
Improve built packages test script
adamziel 978e115
Adjust test-built-npm-packages job
adamziel b21b6d7
Adjust test-built-npm-packages job
adamziel 4ee9871
Adjust test-built-npm-packages job
adamziel f656cbe
Adjust test-built-npm-packages job
adamziel f372fd9
Adjust test-built-npm-packages job
adamziel a733a22
Adjust test-built-npm-packages job
adamziel 23c75c3
Improve error reporting
adamziel 72cb63f
Improve error reporting
adamziel ae96fc1
Add missing file
adamziel 987bf47
Do not require lint for running tests
adamziel 5124c09
Build blueprint.js with actual file, not data URL
adamziel 333e424
restore package.json
adamziel a7d47a8
adjust blueprints.phar build path
adamziel 061efcf
adjust blueprints.phar build path
adamziel 8e709a2
adjust blueprints.phar build path
adamziel aa936f2
adjust blueprints.phar build path
adamziel 7c988c5
adjust wp.spec timeout
adamziel 4dc5ae3
inline serialize-error package
adamziel 3ba7475
inline serialize-error package
adamziel a44534d
lint, restore ci jobs
adamziel c6dc02f
merge trunk
adamziel e8bf04b
revert package.jsons
adamziel 23a1a13
Update ci.yml
adamziel 920edf3
revert package.jsons
adamziel f8711d8
revert package.jsons
adamziel 7184973
Use kebab case for CLI args
adamziel 635e635
Document sandboxedSpawnHandlerFactory()
adamziel 9d05b20
Typecheck
adamziel efa6118
Fix arg name in expandAutoMounts
adamziel a971c61
Update blueprints.phar
adamziel a83b460
Fix silent crash on mount – await mount, report problems on stdout, k…
adamziel fe4e840
Patch older PHP versions
adamziel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.