[Push] Persist target path mappings with pull state - #414
Open
adamziel wants to merge 1 commit into
Open
Conversation
Contributor
Pull pipeline performance —
|
| Stage | PR | trunk | Δ | Status | Details |
|---|---|---|---|---|---|
playground-sqlite-db-pull |
9.32 s | 9.29 s | ⚪ +36 ms (+0.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.65 s | 3.64 s | ⚪ +16 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.97 s | 12.92 s | ⚪ +52 ms (+0.4%) |
Numbers carry runner noise; treat single-run deltas as directional, not authoritative.
📈 Trunk performance history — commit-by-commit timeline.
adamziel
force-pushed
the
adamziel/remote-index-state-directory
branch
from
July 30, 2026 02:25
21ff077 to
73dbdcd
Compare
adamziel
force-pushed
the
adamziel/persist-path-mapping
branch
from
July 30, 2026 02:30
8b56a49 to
df803cb
Compare
adamziel
force-pushed
the
adamziel/remote-index-state-directory
branch
from
July 30, 2026 02:51
73dbdcd to
f3084d9
Compare
adamziel
force-pushed
the
adamziel/persist-path-mapping
branch
from
July 30, 2026 02:56
df803cb to
4d99a76
Compare
adamziel
force-pushed
the
adamziel/remote-index-state-directory
branch
from
July 30, 2026 10:27
f3084d9 to
25e0c48
Compare
adamziel
force-pushed
the
adamziel/persist-path-mapping
branch
from
July 30, 2026 10:33
4d99a76 to
b07fb19
Compare
adamziel
force-pushed
the
adamziel/remote-index-state-directory
branch
from
July 30, 2026 10:36
25e0c48 to
77106b6
Compare
adamziel
force-pushed
the
adamziel/persist-path-mapping
branch
from
July 30, 2026 10:37
b07fb19 to
90fa74c
Compare
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This stores the resolved pull path mapping with each target relationship, so later commands can address the same local tree without repeating preflight.
path-mapping.jsonrecords the target document root, canonical local tree, and resolved remote/local prefix rules. The first mapping is immutable: reusing the same target and state directory with another local tree fails with an instruction to use another--state-dir.Relationship discovery reads the mapping file. The relationship directory remains keyed only by the target URL after URL user-info,
SECRET_KEY, and thesite-export-apiendpoint alias are removed. Before file work begins, the old root-level pull state moves into the relationship directory after preflight identifies the target and local tree. Whenapply-runtimereceives a flattened root which no longer matches the original local tree, it selects the sole persisted pull state or refuses an ambiguous state directory.Stacked on #413.