Skip to content

[PHP] Join WP Cloud document-root paths through filesystem utility - #508

Merged
adamziel merged 1 commit into
trunkfrom
adamziel/join-wpcloud-document-root-paths
Aug 7, 2026
Merged

[PHP] Join WP Cloud document-root paths through filesystem utility#508
adamziel merged 1 commit into
trunkfrom
adamziel/join-wpcloud-document-root-paths

Conversation

@adamziel

@adamziel adamziel commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

WP Cloud detection now constructs its __wp__ markers with wp_join_unix_paths() rather than stripping and re-adding slashes. This keeps the root-directory form consistent with other filesystem joins.

Tests: cd tests && ../vendor/bin/phpunit Import/WpcloudHostAnalyzerTest.php; vendor/bin/phpstan analyze --memory-limit=1G packages/reprint-client/src/lib/host/analyzers/class-wpcloud-host-analyzer.php.

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Pull pipeline performance — large-directory

Site: large-directory · 2,000+ plus targeted file-transfer scenarios files · 10,000 posts · 25,000 postmeta · PHP 8.5.9

Stage PR trunk Δ Status Details
playground-sqlite-db-pull 9.13 s 9.22 s ⚪ -84 ms (-0.9%) condition=db-pull in PHP.wasm
runtime=php.wasm 8.3
wp_mysql_parser=enabled
mode=lexer
native_lexer=verified
native_token_stream=WP_MySQL_Native_Token_Stream
native_token_count=18
native_parser=selected
trunk: condition=db-pull in PHP.wasm
runtime=php.wasm 8.3
wp_mysql_parser=enabled
mode=lexer
native_lexer=verified
native_token_stream=WP_MySQL_Native_Token_Stream
native_token_count=18
native_parser=selected
playground-sqlite-db-apply 3.54 s 3.56 s ⚪ -14 ms (-0.4%) condition=db-apply to SQLite in PHP.wasm
runtime=php.wasm 8.3
wp_mysql_parser=enabled
mode=parser
native_lexer=verified
native_token_stream=WP_MySQL_Native_Token_Stream
native_token_count=18
native_parser=verified
native_ast=WP_MySQL_Native_Parser_Node
sqlite_driver_parser=verified
trunk: condition=db-apply to SQLite in PHP.wasm
runtime=php.wasm 8.3
wp_mysql_parser=enabled
mode=parser
native_lexer=verified
native_token_stream=WP_MySQL_Native_Token_Stream
native_token_count=18
native_parser=verified
native_ast=WP_MySQL_Native_Parser_Node
sqlite_driver_parser=verified
Total 12.67 s 12.77 s ⚪ -98 ms (-0.8%)

Numbers carry runner noise; treat single-run deltas as directional, not authoritative.

📈 Trunk performance history — commit-by-commit timeline.

@adamziel
adamziel force-pushed the adamziel/preserve-root-in-export-path-lists branch from b58455b to 07f55ec Compare August 7, 2026 00:55
@adamziel
adamziel force-pushed the adamziel/join-wpcloud-document-root-paths branch from 2fbc8d5 to f662860 Compare August 7, 2026 00:55
@adamziel
adamziel force-pushed the adamziel/preserve-root-in-export-path-lists branch from 07f55ec to fc3f8b7 Compare August 7, 2026 09:20
@adamziel
adamziel force-pushed the adamziel/join-wpcloud-document-root-paths branch from f662860 to 171f2e5 Compare August 7, 2026 09:21
@adamziel
adamziel changed the base branch from adamziel/preserve-root-in-export-path-lists to trunk August 7, 2026 09:21
@adamziel
adamziel merged commit 017bc7c into trunk Aug 7, 2026
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