perf: add batch metadata operations and config snapshot caching#728
Open
jonnii wants to merge 2 commits into
Open
perf: add batch metadata operations and config snapshot caching#728jonnii wants to merge 2 commits into
jonnii wants to merge 2 commits into
Conversation
8d589b1 to
a5ba6d3
Compare
877052e to
429dc40
Compare
429dc40 to
de7825b
Compare
de7825b to
a54cc3a
Compare
1dfb959 to
0939e88
Compare
ad30cda to
c719567
Compare
ed20418 to
db1c9c8
Compare
Add BatchReadMetadataForBranches and BatchReadLocalMetadataForBranches to read metadata for multiple branches in parallel with a single ref scan, avoiding N+1 git subprocess calls. Add ConfigStore abstraction for typed git config access and GetAllStackitConfig to batch-load all stackit.* config keys in one git invocation. Add stackitSnapshot caching in GitConfig.BootstrapValues to avoid repeated git config reads during startup. Refactor engine and actions to use batch operations where applicable.
db1c9c8 to
cb3c961
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.
Add BatchReadMetadataForBranches and BatchReadLocalMetadataForBranches to read
metadata for multiple branches in parallel with a single ref scan, avoiding N+1
git subprocess calls.
Add ConfigStore abstraction for typed git config access and GetAllStackitConfig
to batch-load all stackit.* config keys in one git invocation.
Add stackitSnapshot caching in GitConfig.BootstrapValues to avoid repeated git
config reads during startup.
Refactor engine and actions to use batch operations where applicable.