Repository navigation
refactor(client): compact ten SessionRefresh test-only hooks into lazy storage (#801) - #808
Merged
Merged
Conversation
Owner
Author
Exact-head cross-platform NativeAOT evidenceActions #38115419654 checked out this PR's exact committed source
No test substitution or modified checkout: workflow lives on the separate audit branch, and checks the PR's source at the pinned SHA. This is real desktop NativeAOT evidence; does not claim mobile hardware coverage. |
SunSi12138
added a commit
that referenced
this pull request
Oct 11, 2026
SunSi12138
added a commit
that referenced
this pull request
Oct 11, 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.
Scope
Reduce 10 test-only delegate instance fields on every SharpLinkClient to one lazily allocated Delegate?[]? pointer. Preserve their original internals-visible names via typed properties, Volatile/CAS synchronization, and every test callback/race trigger. No production client with no hooks allocates the array. Estimated static x64 object reference reduction 9 × 8 = 72 bytes per client; no new claimed measured heap/throughput improvement.
The audited deterministic transform was applied to dev after merged #799, modifying three client SessionRefresh production files only. The real branch commit was made after complete Release build, UnitTests, Generator and Integration suites succeeded. Staging verification.
Earlier real Linux NativeAOT + Integration verification: #38107812236. PR-level checks must be verified for exact source head. No public API change. Related #801.