feat: memory optimization and logging improvements#18
Merged
Conversation
msxdan
added a commit
that referenced
this pull request
Nov 10, 2025
The workflow was falling back to v0.0.0 because tags weren't fully synced before running git describe. This caused PR #18 to create v0.1.0 instead of v0.3.0. Now explicitly fetching tags with --force before version calculation.
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 pull request introduces significant improvements to RepoVault's memory management and concurrency controls, as well as updates to documentation and configuration to better support these features. The most important changes are the introduction of a configurable limit on concurrent repository syncs to prevent memory spikes, removal of in-memory git repository caching to drastically reduce memory usage, and several related documentation and configuration updates.
Concurrency and Memory Management Improvements:
max_concurrent_repossetting (default: 3) to limit the number of repositories syncing at once, implemented via a semaphore. This prevents memory spikes during initial syncs, especially with large repositories. (src/main.go,config.example.yaml,README.md) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]src/main.go) [1] [2] [3]State Management and Logging:
src/main.go,CHANGELOG.md) [1] [2]src/main.go,README.md) [1] [2] [3] [4] [5]Documentation and Configuration Updates:
README.mdandconfig.example.yamlto document the new concurrency controls, provide memory usage guidelines, and clarify resource recommendations. (README.md,config.example.yaml) [1] [2] [3] [4] [5] [6]docker-compose.ymlto reflect higher memory needs during concurrent syncs and to reduce false positives during heavy operations. (docker-compose.yml) [1] [2]Changelog:
CHANGELOG.mdfile following Keep a Changelog and Semantic Versioning, documenting all notable changes in this release.These changes collectively make RepoVault much more robust and reliable for users syncing multiple or large repositories, especially in resource-constrained environments.