[Storage] Lazy-load git API modules - #3840
Merged
Merged
Conversation
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
from
June 27, 2026 22:38
79f252f to
9f80af4
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
from
June 27, 2026 22:38
31aef8b to
8c232d8
Compare
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
from
June 27, 2026 23:00
9f80af4 to
aeb84ed
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
from
June 27, 2026 23:00
8c232d8 to
82bff3f
Compare
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
from
June 27, 2026 23:30
aeb84ed to
0600248
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
from
June 27, 2026 23:30
82bff3f to
ca6b947
Compare
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
from
June 27, 2026 23:56
0600248 to
0651d8c
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
from
June 27, 2026 23:57
ca6b947 to
a178720
Compare
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
from
June 28, 2026 00:21
0651d8c to
129e81c
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
from
June 28, 2026 00:21
a178720 to
bc60909
Compare
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
from
June 28, 2026 00:52
129e81c to
c9f9c82
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
from
June 28, 2026 00:53
bc60909 to
cecd855
Compare
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
from
June 28, 2026 01:20
c9f9c82 to
aab7496
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
from
June 28, 2026 01:20
cecd855 to
51628b3
Compare
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
from
June 28, 2026 01:56
aab7496 to
6fc3cf0
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
from
June 28, 2026 01:56
51628b3 to
c1b4da3
Compare
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
from
June 28, 2026 21:39
6fc3cf0 to
939889b
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
from
June 28, 2026 21:39
c1b4da3 to
658c058
Compare
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
from
June 28, 2026 22:03
939889b to
e737fe5
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
2 times, most recently
from
June 28, 2026 23:19
1ac9c7e to
4c4568e
Compare
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
2 times, most recently
from
June 29, 2026 08:51
b413091 to
12b9519
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
2 times, most recently
from
June 29, 2026 15:00
eaf4bc3 to
d300d1c
Compare
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
2 times, most recently
from
June 30, 2026 09:58
4465b4f to
8e542fc
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
from
June 30, 2026 09:58
d300d1c to
644d191
Compare
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
from
June 30, 2026 10:07
8e542fc to
e35c1f3
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
2 times, most recently
from
June 30, 2026 11:01
19690a3 to
b62a26e
Compare
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
2 times, most recently
from
June 30, 2026 11:35
49dae72 to
818eb87
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
from
June 30, 2026 11:35
b62a26e to
19fe975
Compare
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
from
June 30, 2026 12:16
818eb87 to
48cab9c
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
from
June 30, 2026 12:16
19fe975 to
bfeb6ff
Compare
adamziel
force-pushed
the
stack/pr3725-06-dotgit-materialization
branch
from
June 30, 2026 12:59
48cab9c to
c4c4a7b
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
from
June 30, 2026 12:59
bfeb6ff to
a46ffa5
Compare
adamziel
force-pushed
the
stack/pr3725-07-lazy-storage-git-apis
branch
from
June 30, 2026 14:09
a46ffa5 to
cd62283
Compare
adamziel
changed the base branch from
stack/pr3725-06-dotgit-materialization
to
trunk
June 30, 2026 14:09
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.
What it does
Lazy-loads the git-heavy implementation modules behind the public
@wp-playground/storagegit APIs.The exported functions keep the same async API surface, but
git-sparse-checkoutandgit-create-dotgit-directoryare loaded only when one of the git APIs is called.Rationale
This avoids making every browser consumer of
@wp-playground/storagepay the git implementation cost up front.Measured with:
npm exec nx run playground-storage:build:bundle:productionindex.jsorigin/trunkTesting instructions