Skip to content

Expose source layout and pull artifact status through import-metadata - #436

Open
adamziel wants to merge 1 commit into
trunkfrom
adamziel/expose-import-layout-metadata
Open

Expose source layout and pull artifact status through import-metadata#436
adamziel wants to merge 1 commit into
trunkfrom
adamziel/expose-import-layout-metadata

Conversation

@adamziel

Copy link
Copy Markdown
Collaborator

import-metadata now reports the source filesystem layout and whether the pull has a local index or deferred files. Host integrations can read those values without parsing Reprint-owned state files.

The command emits its bounded JSON object on one line so JSONL command runners retain the complete result.

Testing

  • cd tests && ../vendor/bin/phpunit --colors=never Import
  • php vendor/bin/phpstan analyze --memory-limit=1G

@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 8.93 s 8.80 s ⚪ +127 ms (+1.4%) 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.38 s 3.38 s ⚪ +1 ms (+0.0%) 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.30 s 12.17 s ⚪ +128 ms (+1.1%)

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