Repository navigation
Clarify session eviction cleanup guarantees - #6833
Merged
Merged
Conversation
Distinguish eager cache removal from callback completion under shared eviction draining. Correct lock ownership guarantees and stale lazy-eviction test comments after #6807 without changing behavior. Co-authored-by: Mecatl <noreply@mecatl.dev>
JAORMX
requested review from
ChrisJBurns,
amirejaz,
jerm-dro,
jhrozek and
tgrunnagle
as code owners
October 15, 2026 12:34
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6833 +/- ##
==========================================
+ Coverage 79.62% 79.63% +0.01%
==========================================
Files 815 815
Lines 82965 82965
==========================================
+ Hits 66060 66073 +13
+ Misses 16900 16887 -13
Partials 5 5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
aponcedeleonch
approved these changes
Oct 15, 2026
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.
Summary
Addresses the three non-blocking review comments on #6807. This follow-up changes comments only; synchronization, teardown behavior, and test assertions are unchanged.
Type of change
Test plan
task test)task test-e2e)task lint-fix)Reviewed the documented callback ownership and return-time guarantees against
bufferEvicted,drainEvictions, cache mutation paths, andManager.Terminate. Rangit diff --checkand a diff audit confirming that every changed line is a Go comment or blank line. Local unit/E2E tests were not run because executable code and assertions are unchanged.Does this introduce a user-facing change?
No. Documentation only.
Implementation plan
Approved implementation plan
Merge the focused session-retention fix in #6807 without holding it for documentation polish, then address its three non-blocking comments in a separate PR: