Skip to content

Limit cache invalidation header growth#10078

Merged
ReubenBond merged 2 commits into
dotnet:mainfrom
ReubenBond:cache-invalidation-header-limit
May 4, 2026
Merged

Limit cache invalidation header growth#10078
ReubenBond merged 2 commits into
dotnet:mainfrom
ReubenBond:cache-invalidation-header-limit

Conversation

@ReubenBond

@ReubenBond ReubenBond commented May 4, 2026

Copy link
Copy Markdown
Member

Summary

  • cap Message cache invalidation header additions at 16 entries
  • deduplicate cache invalidation updates by GrainId
  • add tests covering limit and dedupe behavior
  • document that new branches should be created from upstream/main unless otherwise specified

Testing

  • dotnet test test\Orleans.Core.Tests\Orleans.Core.Tests.csproj --framework net10.0 --filter "FullyQualifiedName~UnitTests.Messaging.MessageTests" -- -parallel none -noshadow

ReubenBond and others added 2 commits May 4, 2026 14:11
Deduplicate Message cache invalidation updates by GrainId and cap the header at 16 entries.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ReubenBond ReubenBond force-pushed the cache-invalidation-header-limit branch from 32b39e2 to 5d8e633 Compare May 4, 2026 21:12
@ReubenBond ReubenBond enabled auto-merge May 4, 2026 21:20
@ReubenBond ReubenBond added this pull request to the merge queue May 4, 2026
Merged via the queue into dotnet:main with commit 83709e0 May 4, 2026
61 of 62 checks passed
@ReubenBond ReubenBond deleted the cache-invalidation-header-limit branch May 4, 2026 22:18
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant