[Push] Capture the previous local index from compatible file-only pulls#386
Open
adamziel wants to merge 2 commits into
Open
[Push] Capture the previous local index from compatible file-only pulls#386adamziel wants to merge 2 commits into
adamziel wants to merge 2 commits into
Conversation
This was referenced Jul 21, 2026
Contributor
Pull pipeline performance —
|
| Stage | PR | trunk | Δ | Status | Details |
|---|---|---|---|---|---|
playground-sqlite-db-pull |
7.22 s | 7.10 s | ⚪ +120 ms (+1.7%) | ✓ | 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 |
2.84 s | 2.90 s | ⚪ -58 ms (-2.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 | 10.06 s | 10.00 s | ⚪ +62 ms (+0.6%) |
Numbers carry runner noise; treat single-run deltas as directional, not authoritative.
📈 Trunk performance history — commit-by-commit timeline.
adamziel
force-pushed
the
adamziel/pull-previous-local-index
branch
from
July 21, 2026 22:12
99922e9 to
3d1bebf
Compare
adamziel
force-pushed
the
adamziel/files-local-diff-command
branch
2 times, most recently
from
July 21, 2026 22:36
3126ef3 to
74d6077
Compare
adamziel
force-pushed
the
adamziel/pull-previous-local-index
branch
from
July 21, 2026 22:36
3d1bebf to
daab326
Compare
adamziel
force-pushed
the
adamziel/files-local-diff-command
branch
from
July 21, 2026 23:01
74d6077 to
9e85c29
Compare
adamziel
force-pushed
the
adamziel/pull-previous-local-index
branch
2 times, most recently
from
July 24, 2026 22:07
04b07fd to
ca8f6a1
Compare
adamziel
changed the base branch from
adamziel/files-local-diff-command
to
trunk
July 24, 2026 22:07
adamziel
force-pushed
the
adamziel/pull-previous-local-index
branch
from
July 25, 2026 02:55
ca8f6a1 to
4e85296
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.
Compatible file-only pulls now refresh the pair's
previous_local_index.jsonl, sofiles-diffand the next push compare against the last completed pull or push. A selected pull updates only the paths it applied; local additions, edits, and deletions elsewhere remain pending.The pull retains its applied-path F/D records at the same durable boundary as the importer index. The first capture seeds covered paths from the final importer index and overlays those retained records; later captures merge only the retained records into the existing baseline. This keeps the local type, size, and ctime observed when each path was applied instead of absorbing edits made while an interrupted capture waits to resume.
Capture is a resumable stage after fetch. Aborting an incomplete pull invalidates the old baseline. A pull mode that cannot publish a matching baseline removes it before mutating the tree.
files-pushsnapshots the shared baseline when planning starts so a later pull cannot change an active plan.Testing
The integration tests run real file-only pulls against a local server and cover initial and partial capture, pending work outside the selected subtree, target deletions, type replacements, interruption and abort recovery, streamed-file timeout boundaries, and paths outside push scope.