Repository navigation
Conversation
Warm and measure the same synchronous workload on dedicated workers without flowing runner execution context. Preserve strict zero-byte assertions and add controls for isolation, measured allocations, and exception propagation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 5 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This branch has not been deployed
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.
Thank you for submitting a pull request to the Substrait project. Please keep
your description clear and concise for reviewers.
Change Summary [REQUIRED]
test: isolate exact-allocation measurements from the test runner.
Motivation [REQUIRED]
The Ubuntu/.NET 10 job for #107 intermittently measured 4,968 bytes in
ComparesUserDefinedNodesWithoutAllocations(32, false)instead of zero:https://github.com/substrait-io/substrait-csharp/actions/runs/40767797749/job/123096548876
The unchanged job passed on rerun. The original allocation source remains unconfirmed.
This change hardens the measurement boundary against runner execution-context
and thread-pool activity without changing the product implementation or weakening
the allocation contract.
Reviewer Context [OPTIONAL]
[NotInParallel]for exact-allocation tests.Validation [REQUIRED]
dotnet format Substrait.sln --verify-no-changes --no-restore- passed.dotnet build Substrait.sln --configuration Release --no-restore- passed, zero warnings/errors.dotnet test --solution Substrait.sln --configuration Release --no-build- passed: 5,314 tests, zero failed/skipped.Additional validation on macOS ARM64, SDK 10.0.403, runtimes 8.0.33 and 10.0.14:
dotnet restore Substrait.sln- passed.dotnet test --project tests/Substrait.Tests/Substrait.Tests.csproj --configuration Release --treenode-filter '/*/*/TypeUtilsTests/*'- passed: 3,056 tests across .NET 8 and .NET 10.git diff --check- passed.Repeated focused validation:
Result: all ten runs passed, 30,560 test executions across both runtimes.
The original failure was not reproducible locally before this change either;
these results establish the harness controls and preserve coverage, not proof
that every source of runtime allocation noise has been eliminated.
The CI matrix
also passed on Ubuntu, Windows, and macOS, including the full test suite and
standalone package-consumer checks.
Public API and compatibility [REQUIRED]
None.
Breaking changes [REQUIRED]
None.