Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #79 +/- ##
==========================================
+ Coverage 98.38% 98.71% +0.33%
==========================================
Files 9 9
Lines 5079 6314 +1235
==========================================
+ Hits 4997 6233 +1236
+ Misses 82 81 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
profiling
force-pushed
the
profiling/issue-78-periodic-refresh
branch
2 times, most recently
from
November 15, 2026 16:11
4d0ff10 to
12f3469
Compare
profiling
marked this pull request as ready for review
November 15, 2026 16:21
profiling
force-pushed
the
profiling/issue-78-periodic-refresh
branch
2 times, most recently
from
November 15, 2026 16:58
ddebb35 to
5d66076
Compare
9 tasks done
profiling
force-pushed
the
profiling/issue-78-periodic-refresh
branch
2 times, most recently
from
November 16, 2026 09:34
0e9b543 to
a463b51
Compare
Assisted-by: OpenAI:Codex
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.
Adds bounded periodic fetches for recently used existing mirrors, most recent first. Disabled by default (
--refresh-interval-seconds=0); enabled intervals must be at least 3600 seconds. Addresses #78.Refresh uses server credentials or anonymous access, shares request locking and TTL, and applies auth blocking and bounded backoff without delaying request retries. It never clones missing mirrors. Successful cache preparation records client use; background growth is measured without LRU promotion. Rounds do not overlap, stop admission at their deadline, and use upstream cancellation/reaping on shutdown.
Validation: independent feature, integration, coverage, portability and documentation reviews; formatting, clippy with warnings denied, 207 all-features locked tests, and full local LLVM coverage pass. No uncovered changed lines remain in
src/git.rs. Tests cover scheduling, credentials, cancellation, disabled gating, successful-use boundaries, growth/eviction races, deadline overflow and panic cleanup.Dependency: none; #77 is merged and this branch is rebased onto the latest
main(0.2.13) as a single feature commit.