Skip to content

[CLI] Load the importer entry point from its own file - #561

Draft
adamziel wants to merge 1 commit into
trunkfrom
codex/extract-importer-cli-entrypoint
Draft

[CLI] Load the importer entry point from its own file#561
adamziel wants to merge 1 commit into
trunkfrom
codex/extract-importer-cli-entrypoint

Conversation

@adamziel

Copy link
Copy Markdown
Collaborator

The importer now loads its command-line entry point from lib/importer-cli.php, keeping CLI parsing and execution out of import.php while retaining the existing command contract.\n\nThis is deliberately a mechanical extraction. It keeps the declarative option and command tables together, preserves the EXIT_AFTER_PULL embedding behavior, and does not introduce a new CLI abstraction.

@github-actions

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.35 s 9.18 s ⚪ +177 ms (+1.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.52 s 3.57 s ⚪ -52 ms (-1.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.87 s 12.75 s ⚪ +125 ms (+1.0%)

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

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

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