GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Avoid temporary arrays in singleton tuple binding by thomhurst · Pull Request #7583 · thomhurst/TUnit Conversation
|
| Row / target | Before B/call | After B/call |
|---|---|---|
| Reference singleton null / reference | 32 | 0 |
| Reference singleton string / reference | 32 | 0 |
| Value singleton null / reference | 32 | 0 |
| Value singleton string / reference | 32 | 0 |
| Mutable struct in reference singleton / reference | 56 | 24 |
| Mutable struct in value singleton / value | 56 | 56 |
| Empty nullable mutable in value singleton / value | 32 | 32 |
Flattening decisions were unchanged for every measured case. No target-classification cache was added. The netstandard2.0 fallback retains its existing behavior and allocation profile.
Validation: DataSourceHelpersTests (9 tests, including null/non-null allocation regressions); PreservedGenericTupleTests (20), GenericMutableTupleInitializerTests (10), and GenericTupleDataSourceTests (1), each in generated and reflection discovery on net10.0. Release Core builds pass for net10.0 and netstandard2.0. Existing build warnings were reported on #7410.
Native AOT: Release publish for osx-arm64 succeeded; the published executable passed PreservedGenericTupleTests (20) and GenericMutableTupleInitializerTests (10). Existing publish diagnostics were reported on #7493.
Rebased onto main after #7603 merged. Its STA snapshot corrections are already upstream, so this PR now changes only the tuple helper and its allocation regression tests. The earlier diagnostic AOT run 41900939879 passed, including Windows engine tests; #7554 remains a separate intermittent-hang investigation.
null are handled when tuple data is flattened, so null-valued elements are not mistaken for a different tuple shape.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Tuple decision and allocation test src/TUnit.Core/Helpers/DataSourceHelpers.cs, tests/TUnit.UnitTests/DataSourceHelpersTests.cs |
ShouldFlattenErasedTuple uses IsSingletonTupleContainingNull. The helper checks ITuple on supported runtimes and uses UnwrapTupleAot otherwise. The test checks null and non-null singleton reference tuples and verifies zero allocations across 100 warmed calls. |
STA generated snapshots
| Layer / File(s) | Summary |
|---|---|
STA snapshot metadata updates tests/TUnit.Core.SourceGenerator.Tests/STAThreadTests.Test.*.verified.txt |
The verified snapshots change repeat counts from 100 to 10 and update generated source line numbers. The .NET 8, .NET 9, and .NET 10 snapshots add a UTF-8 BOM. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Refactor
Possibly related issues
Possibly related PRs
ShouldFlattenErasedTuple; this PR changes how that helper detects a null element.Suggested labels: PATCH
37414The tuple allocation optimization and STA snapshot updates are ready to merge based on the supplied evidence.
| Check name | Status | Explanation |
|---|---|---|
| Description Check | Check skipped - CodeRabbit’s high-level summary is enabled. | |
| Title check | The title "Avoid temporary arrays in singleton tuple binding" matches the main change in the changeset. The raw summary shows that ShouldFlattenErasedTuple now uses IsSingletonTupleContainingNull, whi… | |
| Linked Issues check | Directly linked issue [#7552] asks that singleton reference-tuple null detection avoid a temporary element array. At the current head, ShouldFlattenErasedTuple calls the new IsSingletonTupleContaining… |
|
| Out of Scope Changes check | The whole-PR diff now uses merge base e6c7dee and head 37414b1. It changes three areas. (1) src/TUnit.Core/Helpers/DataSourceHelpers.cs adds IsSingletonTupleContainingNull and uses it in the System.… |
Explanation
The title "Avoid temporary arrays in singleton tuple binding" matches the main change in the changeset. The raw summary shows that ShouldFlattenErasedTuple now uses IsSingletonTupleContainingNull, which inspects ITuple directly and avoids extracting elements into a temporary array to detect a null element. The added test asserts zero-byte allocation for the singleton reference-tuple decision. The title is concise, specific, and free of file lists or vague terms. A teammate scanning history would understand the primary change.
Explanation
Directly linked issue [#7552] asks that singleton reference-tuple null detection avoid a temporary element array. At the current head, ShouldFlattenErasedTuple calls the new IsSingletonTupleContainingNull helper in src/TUnit.Core/Helpers/DataSourceHelpers.cs for the System.Tuple`1 guard. On net5+ and netcoreapp3.0+, the helper casts to ITuple, returns tuple.Length == 1 && tuple[0] is null, and does not copy the row. Other targets and the netstandard2.0 build keep the UnwrapTupleAot(value) is [null] fallback, so the decision result matches the previous logic. RequiresFlattenedTupleBinding and mutable-element reconstruction are unchanged in the whole-PR diff. The regression test SingletonReferenceTupleDecision_DoesNotAllocateElementArray covers null and non-null elements and checks zero allocation over warmed calls. The PR reports before-and-after measurements, tuple suite runs in generated and reflection discovery, and a Native AOT publish. This reviewer did not rerun those suites or the measurements. The change since the previous review is a rebase onto main and STAThreadTests snapshot refresh. It does not alter the helper. No parent-context or non-coding requirements apply.
Explanation
The whole-PR diff now uses merge base e6c7dee and head 37414b1. It changes three areas. (1) src/TUnit.Core/Helpers/DataSourceHelpers.cs adds IsSingletonTupleContainingNull and uses it in the System.Tuple1 guard. This directly implements [#7552]. (2) tests/TUnit.UnitTests/DataSourceHelpersTests.cs adds one allocation regression test for the same decision. This supports [#7552]. (3) Four STAThreadTests verified snapshots (net10.0, net8.0, net9.0, net4.7) change RepeatAttribute values from 100 to 10 and update lineNumber values by five lines. The net4.7 snapshot diff confirms this pattern. These snapshot changes are not an objective of [#7552]. They align the snapshots with the STAThreadTests source change from #7594, which is already in main after the rebase. The PR description discloses this as CI maintenance and does not claim it fixes #7554`. The snapshot changes do not alter runtime behavior. The change summary also mentions a UTF-8 byte-order mark in some snapshot files. This detail is not in the PR description, but it affects only verified test fixture bytes. No unrelated runtime behavior change is visible.
Explanation
Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 3 functions across 2 files. (4 skipped: 4 unsupported.)
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
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.
A tuple rests, its null kept whole
No spare array is made to test
One hundred calls leave bytes unmoved
The snapshots count ten rounds instead
A rabbit checks the lines, then hops away
0f0b3da3-2773-4296-8afe-cf629474b301tests/TUnit.Core.SourceGenerator.Tests/STAThreadTests.Test.DotNet10_0.verified.txttests/TUnit.Core.SourceGenerator.Tests/STAThreadTests.Test.DotNet8_0.verified.txttests/TUnit.Core.SourceGenerator.Tests/STAThreadTests.Test.DotNet9_0.verified.txttests/TUnit.Core.SourceGenerator.Tests/STAThreadTests.Test.Net4_7.verified.txtIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 4 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@codex review |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Review: LGTM. The change replaces the
Nice, focused allocation fix with measurements in the description. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
[Low impact] The PR appears safe to merge; no actionable issues were found. SummaryRemoves the temporary element array from singleton tuple null checks.
No actionable issues were found. This review checked source code and build settings; it did not run tests. Reviews (5) · Last reviewed commit: "Avoid singleton tuple null-check arrays ..." · Reviewed by Greptile |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Reviewed all review surfaces for head 75ae5cb: Claude and Codex are positive, Greptile has no actionable findings, and there are no inline threads. Claude's optional preprocessor suggestion needs no change: the new guard matches the existing ITuple guards in DataSourceHelpers.cs (lines 173, 195, 529, and 550 at this head). Marking ready to start CI and the ready-for-review Claude run. Auto-merge can be armed after that Claude run succeeds and its review is read, provided the head remains unchanged and no new blocking findings appear. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Review: LGTM. I read the diff and the PR conversation. I did not build or run the tests.
The change is small and focused, and the PR description includes before and after allocation numbers. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
The earlier wait has cleared: #7603 merged as a85bb69, and AOT run 41900939879 completed successfully, including Windows engine tests. Refreshed #7583 onto current origin/main and pushed ed7f580. The snapshot commit dropped automatically because its corrections are upstream; the remaining diff is only the tuple helper and allocation regression tests. Validation after rebase: Release net10.0 DataSourceHelpersTests passed 9/9; git diff --check passed. Existing build diagnostics remain tracked by #7410/#7412. Engine tests were not run locally, per repository instructions; fresh hosted CI must validate this head. Prior reviews were positive with no inline threads; the optional matching preprocessor guard has already been dispositioned. Fresh automatic reviews are required before auto-merge can be armed. Resolution routes checked: #7552 still needs this optimization, so neither issue closure nor superseding/closing this PR is appropriate. #7603 is already merged and needs no further work. #7554 remains a separate intermittent-hang investigation, but there is no reason to keep this PR parked behind a completed diagnostic run. This unit pushed a fresh base rather than repeating unchanged CI or deferring again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
75ae5cb to
f1b538d
Compare
|
Review: LGTM. The change replaces
Nothing blocking. The PR description's AOT validation and before/after numbers are reassuring. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Pushed 37414b1 to repair the deterministic STAThreadTests snapshot failures in .NET run 41878526531. Main #7594 changed Repeat(100) to Repeat(10) and added five source lines without updating the generated metadata snapshots. Reviewed and refreshed all four TFM snapshots. The net472 and net10 outputs exactly match the Windows and Ubuntu received artifacts (ignoring UTF-8 BOM). Validation: focused Release STAThreadTests generator snapshot test passed for net10.0. net8.0 and net9.0 compiled test binaries also passed with DOTNET_ROLL_FORWARD=Major on the installed .NET 10 runtime; this checks execution under .NET 10, not native .NET 8/9 runtime behavior. git diff --check passed. No engine suite ran locally. Existing restore diagnostics are tracked by #7412. The earlier blocker is stale: #7584 merged and run 41860407100 completed. The separate Windows reflection hang nevertheless recurred after #7594 in current-head AOT run 41878526596 and main run 41878194086. Took #7554's lock and inspected the new hosted analysis rather than repeating a failed run: native stacks now identify Windows loader/console initialization and shutdown waits; detailed findings and next investigation are recorded on #7554 (#7554 (comment)). No undiagnosed test rerun, timeout increase, skipped test, human gate, or on-hold label was introduced. #7583 still needs that hang fixed before merging. Reviewed every review surface: current prior head had positive Claude/Codex verdicts and no inline threads. Optional preprocessor feedback is already dispositioned. This pushed snapshot repair needs fresh automatic reviews and CI before auto-merge; it is a pushed fix rather than another deferral. No evidence supports closing or superseding the tuple-allocation change or its #7552 issue. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
ReviewThe change is small and correct.
Approve from my side. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
37414b1 to
ed7f580
Compare
Updated [csharpier](https://github.com/belav/csharpier) from 1.3.0 to 1.4.0. <details> <summary>Release notes</summary> _Sourced from [csharpier's releases](https://github.com/belav/csharpier/releases)._ ## 1.4.0 ## Breaking Changes ### Drop support for net8.0 and net9.0 [#1888](belav/csharpier#1888) CSharpier and CSharpier.MsBuild now target `net10.0` and `net11.0`. CSharpier.Core targets `net10.0`, `net11.0` and `netstandard2.0`. ## What's Changed ### Feature: Support for .NET 11 and C# 15 [#1888](belav/csharpier#1888) CSharpier now supports the new syntax in C# 15. ```c# public union Pet(Cat, Dog, Bird); public closed record GateState; HashSet<string> set = [with(StringComparer.OrdinalIgnoreCase), "Hello", "HELLO", "hello"]; outer: for (int row = 0; row < grid.Height; row++) { for (int column = 0; column < grid.Width; column++) { if (grid[row, column].IsBlocked) { continue outer; } if (grid[row, column].IsGoal) { break outer; } } } ``` ### Feature: Avoid chopping single trailing lambda [#1865](belav/csharpier#1865) When the last argument is a lambda with a block body, and the arguments up to and including the `=>` fit on one line, CSharpier now keeps them on the same line as the method name. ```c# // input & expected output logging.AddFile(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "server{0}.log"), o => { o.MaxRollingFiles = 1; }); // 1.3.0 logging.AddFile( Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "server{0}.log"), o => { o.MaxRollingFiles = 1; } ); ``` ... (truncated) ## 1.3.11-beta1 ## 1.3.6 # 1.3.6 ## What's Changed #### Fix bug where 2nd instance of VSCode was not able to format code [#784](belav/csharpier#784) Thanks to @BenasB for reporting the issue Commits viewable in [compare view](belav/csharpier@1.3.0...1.4.0). </details> Updated [TUnit](https://github.com/thomhurst/TUnit) from 1.80.0 to 1.83.8. <details> <summary>Release notes</summary> _Sourced from [TUnit's releases](https://github.com/thomhurst/TUnit/releases)._ ## 1.83.8 <!-- Release notes generated using configuration in .github/release.yml at v1.83.8 --> ## What's Changed ### Other Changes * build: turn runtime async off by @thomhurst in thomhurst/TUnit#7720 * perf: compile engine startup methods on a background thread by @thomhurst in thomhurst/TUnit#7721 ### Dependencies * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7710 * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7712 * chore(deps): update dependency microsoft.templateengine.authoring.cli to v11 by @thomhurst in thomhurst/TUnit#7716 * chore(deps): update dependency nuget.protocol to v8 by @thomhurst in thomhurst/TUnit#7719 **Full Changelog**: thomhurst/TUnit@v1.83.0...v1.83.8 ## 1.83.0 <!-- Release notes generated using configuration in .github/release.yml at v1.83.0 --> ## What's Changed ### Other Changes * docs: add xUnit v3 (AOT) column to README benchmark table by @thomhurst in thomhurst/TUnit#7700 * feat!: drop net8.0 and net9.0, add net11.0 and enable runtime async by @thomhurst in thomhurst/TUnit#7705 * ci: opt out of dotnet CLI telemetry in speed comparison by @thomhurst in thomhurst/TUnit#7707 * docs: redesign the homepage and refresh site styling by @thomhurst in thomhurst/TUnit#7708 ### Dependencies * Update all non-major dependencies to 1.81.16 by @thomhurst in thomhurst/TUnit#7701 * chore(deps): update dependency dotnet-sdk to v11 by @thomhurst in thomhurst/TUnit#7711 **Full Changelog**: thomhurst/TUnit@v1.81.16...v1.83.0 ## 1.81.16 <!-- Release notes generated using configuration in .github/release.yml at v1.81.16 --> ## What's Changed ### Other Changes * fix: allow null non-generic IEnumerable in Assert.That (#7698) by @thomhurst in thomhurst/TUnit#7699 ### Dependencies * Update all non-major dependencies by @thomhurst in thomhurst/TUnit#7693 * Update all non-major dependencies to 8.9.1 by @thomhurst in thomhurst/TUnit#7694 * Update all non-major dependencies to 4.0.3 by @thomhurst in thomhurst/TUnit#7697 **Full Changelog**: thomhurst/TUnit@v1.81.10...v1.81.16 ## 1.81.10 <!-- Release notes generated using configuration in .github/release.yml at v1.81.10 --> ## What's Changed ### Other Changes * Preserve private type values in generated executable test attributes by @thomhurst in thomhurst/TUnit#7667 * feat(sourcegen): inherit XML docs from [AssertionExtension] classes by @JohnVerheij in thomhurst/TUnit#7692 ### Dependencies * Update all non-major dependencies to 1.81.5 by @thomhurst in thomhurst/TUnit#7690 **Full Changelog**: thomhurst/TUnit@v1.81.5...v1.81.10 ## 1.81.5 <!-- Release notes generated using configuration in .github/release.yml at v1.81.5 --> ## What's Changed ### Other Changes * feat(sourcegen): inherit XML docs from [GenerateAssertion] source methods by @JohnVerheij in thomhurst/TUnit#7687 * fix(mocks): stop verification leaving setups on void-shaped members by @thomhurst in thomhurst/TUnit#7688 ### Dependencies * Update all non-major dependencies by @thomhurst in thomhurst/TUnit#7681 * Update dependency OpenTelemetry.Instrumentation.AspNetCore to 1.20.2 by @thomhurst in thomhurst/TUnit#7685 **Full Changelog**: thomhurst/TUnit@v1.81.0...v1.81.5 ## 1.81.0 <!-- Release notes generated using configuration in .github/release.yml at v1.81.0 --> ## What's Changed ### Other Changes * Extract Windows engine hang dump stacks in CI by @thomhurst in thomhurst/TUnit#7584 * Cut STAThreadTests repeats so the Windows reflection pass run fits its timeout by @thomhurst in thomhurst/TUnit#7594 * Preserve expected-value semantics when migrating xUnit Assert.Single by @thomhurst in thomhurst/TUnit#7586 * Capture Windows loader ownership and thread CPU times by @thomhurst in thomhurst/TUnit#7603 * Isolate the full passing engine session from sibling test processes by @thomhurst in thomhurst/TUnit#7606 * Remove unused concrete metadata generation chain by @thomhurst in thomhurst/TUnit#7569 * Avoid temporary arrays in singleton tuple binding by @thomhurst in thomhurst/TUnit#7583 * Fix ParallelTests overlap assertion for late repetitions by @thomhurst in thomhurst/TUnit#7600 * Fix nullable generic class method-row analyzer validation by @thomhurst in thomhurst/TUnit#7613 * Fix generated property injection into boxed structs by @thomhurst in thomhurst/TUnit#7612 * Make Playwright template navigation deterministic by @thomhurst in thomhurst/TUnit#7604 * Release objects and complete teardown for dependency-skipped tests by @thomhurst in thomhurst/TUnit#7605 * Support typed tuple rows before optional parameters by @thomhurst in thomhurst/TUnit#7608 * Cover null rows in generic class type inference by @thomhurst in thomhurst/TUnit#7621 * Skip certificate trust preparation for HTTP-only Aspire test resources by @thomhurst in thomhurst/TUnit#7618 * Accept convertible typed rows before optional test parameters by @thomhurst in thomhurst/TUnit#7619 * Preserve nullable class discovery parity and constructor precedence by @thomhurst in thomhurst/TUnit#7614 * Preserve whole tuple rows before omitted trailing arrays by @thomhurst in thomhurst/TUnit#7625 * Fix reflection inference for concrete params arrays by @thomhurst in thomhurst/TUnit#7627 * Remove obsolete nullable method-row analyzer suppression by @thomhurst in thomhurst/TUnit#7626 * Infer generic method arguments from instance data sources by @thomhurst in thomhurst/TUnit#7630 * test: cover discarded method-row lifecycle isolation (#7373) by @thomhurst in thomhurst/TUnit#7632 * Allow DI scopes to opt out of resolved object ownership by @thomhurst in thomhurst/TUnit#7633 * Give TestBuilder rows explicit cleanup owners by @thomhurst in thomhurst/TUnit#7637 * Preserve whole-tuple inference across wrapped and async sources by @thomhurst in thomhurst/TUnit#7641 * Fix reported compiler warnings in regression fixtures by @thomhurst in thomhurst/TUnit#7645 * fix(core): track external ownership per row scope by @thomhurst in thomhurst/TUnit#7635 * Fix remaining regression fixture compiler warnings by @thomhurst in thomhurst/TUnit#7646 * Fix generic class argument row edge cases by @thomhurst in thomhurst/TUnit#7647 * Preserve sole-tuple inference and runtime conversion parity by @thomhurst in thomhurst/TUnit#7643 * Match method data source attributes by fully qualified identity by @thomhurst in thomhurst/TUnit#7649 * Treat null method data sources as empty in both execution modes by @thomhurst in thomhurst/TUnit#7652 * Fix xUnit proper-set migration operands and strictness by @thomhurst in thomhurst/TUnit#7653 * Fix mock setup identifier collisions by @thomhurst in thomhurst/TUnit#7658 * fix(generator): qualify built-in data-source row classification by @thomhurst in thomhurst/TUnit#7651 * Capture macOS native runtime crashes for diagnosis by @thomhurst in thomhurst/TUnit#7659 * Restore nullable diagnostics in mock generated-code regression guards by @thomhurst in thomhurst/TUnit#7661 * Avoid mock predicate conversion local name collisions by @thomhurst in thomhurst/TUnit#7655 * Install browsers with the resolved .NET Playwright package by @thomhurst in thomhurst/TUnit#7673 * Remove nullable and assertion warnings from unit tests by @thomhurst in thomhurst/TUnit#7670 * Preserve keyword escapes in generated attribute factory type names by @thomhurst in thomhurst/TUnit#7669 * Fix default mock argument matching by @thomhurst in thomhurst/TUnit#7676 * Preserve category and property filters on generic discovery failures by @thomhurst in thomhurst/TUnit#7663 * Preserve keyword escapes in generated type expressions by @thomhurst in thomhurst/TUnit#7675 * Encapsulate row lifetime and constructor state replay by @thomhurst in thomhurst/TUnit#7678 * Diagnose unsupported span params on test methods by @thomhurst in thomhurst/TUnit#7679 ... (truncated) Commits viewable in [compare view](thomhurst/TUnit@v1.80.0...v1.83.8). </details> Updated [TUnit.AspNetCore](https://github.com/thomhurst/TUnit) from 1.80.0 to 1.83.8. <details> <summary>Release notes</summary> _Sourced from [TUnit.AspNetCore's releases](https://github.com/thomhurst/TUnit/releases)._ ## 1.83.8 <!-- Release notes generated using configuration in .github/release.yml at v1.83.8 --> ## What's Changed ### Other Changes * build: turn runtime async off by @thomhurst in thomhurst/TUnit#7720 * perf: compile engine startup methods on a background thread by @thomhurst in thomhurst/TUnit#7721 ### Dependencies * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7710 * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7712 * chore(deps): update dependency microsoft.templateengine.authoring.cli to v11 by @thomhurst in thomhurst/TUnit#7716 * chore(deps): update dependency nuget.protocol to v8 by @thomhurst in thomhurst/TUnit#7719 **Full Changelog**: thomhurst/TUnit@v1.83.0...v1.83.8 ## 1.83.0 <!-- Release notes generated using configuration in .github/release.yml at v1.83.0 --> ## What's Changed ### Other Changes * docs: add xUnit v3 (AOT) column to README benchmark table by @thomhurst in thomhurst/TUnit#7700 * feat!: drop net8.0 and net9.0, add net11.0 and enable runtime async by @thomhurst in thomhurst/TUnit#7705 * ci: opt out of dotnet CLI telemetry in speed comparison by @thomhurst in thomhurst/TUnit#7707 * docs: redesign the homepage and refresh site styling by @thomhurst in thomhurst/TUnit#7708 ### Dependencies * Update all non-major dependencies to 1.81.16 by @thomhurst in thomhurst/TUnit#7701 * chore(deps): update dependency dotnet-sdk to v11 by @thomhurst in thomhurst/TUnit#7711 **Full Changelog**: thomhurst/TUnit@v1.81.16...v1.83.0 ## 1.81.16 <!-- Release notes generated using configuration in .github/release.yml at v1.81.16 --> ## What's Changed ### Other Changes * fix: allow null non-generic IEnumerable in Assert.That (#7698) by @thomhurst in thomhurst/TUnit#7699 ### Dependencies * Update all non-major dependencies by @thomhurst in thomhurst/TUnit#7693 * Update all non-major dependencies to 8.9.1 by @thomhurst in thomhurst/TUnit#7694 * Update all non-major dependencies to 4.0.3 by @thomhurst in thomhurst/TUnit#7697 **Full Changelog**: thomhurst/TUnit@v1.81.10...v1.81.16 ## 1.81.10 <!-- Release notes generated using configuration in .github/release.yml at v1.81.10 --> ## What's Changed ### Other Changes * Preserve private type values in generated executable test attributes by @thomhurst in thomhurst/TUnit#7667 * feat(sourcegen): inherit XML docs from [AssertionExtension] classes by @JohnVerheij in thomhurst/TUnit#7692 ### Dependencies * Update all non-major dependencies to 1.81.5 by @thomhurst in thomhurst/TUnit#7690 **Full Changelog**: thomhurst/TUnit@v1.81.5...v1.81.10 ## 1.81.5 <!-- Release notes generated using configuration in .github/release.yml at v1.81.5 --> ## What's Changed ### Other Changes * feat(sourcegen): inherit XML docs from [GenerateAssertion] source methods by @JohnVerheij in thomhurst/TUnit#7687 * fix(mocks): stop verification leaving setups on void-shaped members by @thomhurst in thomhurst/TUnit#7688 ### Dependencies * Update all non-major dependencies by @thomhurst in thomhurst/TUnit#7681 * Update dependency OpenTelemetry.Instrumentation.AspNetCore to 1.20.2 by @thomhurst in thomhurst/TUnit#7685 **Full Changelog**: thomhurst/TUnit@v1.81.0...v1.81.5 ## 1.81.0 <!-- Release notes generated using configuration in .github/release.yml at v1.81.0 --> ## What's Changed ### Other Changes * Extract Windows engine hang dump stacks in CI by @thomhurst in thomhurst/TUnit#7584 * Cut STAThreadTests repeats so the Windows reflection pass run fits its timeout by @thomhurst in thomhurst/TUnit#7594 * Preserve expected-value semantics when migrating xUnit Assert.Single by @thomhurst in thomhurst/TUnit#7586 * Capture Windows loader ownership and thread CPU times by @thomhurst in thomhurst/TUnit#7603 * Isolate the full passing engine session from sibling test processes by @thomhurst in thomhurst/TUnit#7606 * Remove unused concrete metadata generation chain by @thomhurst in thomhurst/TUnit#7569 * Avoid temporary arrays in singleton tuple binding by @thomhurst in thomhurst/TUnit#7583 * Fix ParallelTests overlap assertion for late repetitions by @thomhurst in thomhurst/TUnit#7600 * Fix nullable generic class method-row analyzer validation by @thomhurst in thomhurst/TUnit#7613 * Fix generated property injection into boxed structs by @thomhurst in thomhurst/TUnit#7612 * Make Playwright template navigation deterministic by @thomhurst in thomhurst/TUnit#7604 * Release objects and complete teardown for dependency-skipped tests by @thomhurst in thomhurst/TUnit#7605 * Support typed tuple rows before optional parameters by @thomhurst in thomhurst/TUnit#7608 * Cover null rows in generic class type inference by @thomhurst in thomhurst/TUnit#7621 * Skip certificate trust preparation for HTTP-only Aspire test resources by @thomhurst in thomhurst/TUnit#7618 * Accept convertible typed rows before optional test parameters by @thomhurst in thomhurst/TUnit#7619 * Preserve nullable class discovery parity and constructor precedence by @thomhurst in thomhurst/TUnit#7614 * Preserve whole tuple rows before omitted trailing arrays by @thomhurst in thomhurst/TUnit#7625 * Fix reflection inference for concrete params arrays by @thomhurst in thomhurst/TUnit#7627 * Remove obsolete nullable method-row analyzer suppression by @thomhurst in thomhurst/TUnit#7626 * Infer generic method arguments from instance data sources by @thomhurst in thomhurst/TUnit#7630 * test: cover discarded method-row lifecycle isolation (#7373) by @thomhurst in thomhurst/TUnit#7632 * Allow DI scopes to opt out of resolved object ownership by @thomhurst in thomhurst/TUnit#7633 * Give TestBuilder rows explicit cleanup owners by @thomhurst in thomhurst/TUnit#7637 * Preserve whole-tuple inference across wrapped and async sources by @thomhurst in thomhurst/TUnit#7641 * Fix reported compiler warnings in regression fixtures by @thomhurst in thomhurst/TUnit#7645 * fix(core): track external ownership per row scope by @thomhurst in thomhurst/TUnit#7635 * Fix remaining regression fixture compiler warnings by @thomhurst in thomhurst/TUnit#7646 * Fix generic class argument row edge cases by @thomhurst in thomhurst/TUnit#7647 * Preserve sole-tuple inference and runtime conversion parity by @thomhurst in thomhurst/TUnit#7643 * Match method data source attributes by fully qualified identity by @thomhurst in thomhurst/TUnit#7649 * Treat null method data sources as empty in both execution modes by @thomhurst in thomhurst/TUnit#7652 * Fix xUnit proper-set migration operands and strictness by @thomhurst in thomhurst/TUnit#7653 * Fix mock setup identifier collisions by @thomhurst in thomhurst/TUnit#7658 * fix(generator): qualify built-in data-source row classification by @thomhurst in thomhurst/TUnit#7651 * Capture macOS native runtime crashes for diagnosis by @thomhurst in thomhurst/TUnit#7659 * Restore nullable diagnostics in mock generated-code regression guards by @thomhurst in thomhurst/TUnit#7661 * Avoid mock predicate conversion local name collisions by @thomhurst in thomhurst/TUnit#7655 * Install browsers with the resolved .NET Playwright package by @thomhurst in thomhurst/TUnit#7673 * Remove nullable and assertion warnings from unit tests by @thomhurst in thomhurst/TUnit#7670 * Preserve keyword escapes in generated attribute factory type names by @thomhurst in thomhurst/TUnit#7669 * Fix default mock argument matching by @thomhurst in thomhurst/TUnit#7676 * Preserve category and property filters on generic discovery failures by @thomhurst in thomhurst/TUnit#7663 * Preserve keyword escapes in generated type expressions by @thomhurst in thomhurst/TUnit#7675 * Encapsulate row lifetime and constructor state replay by @thomhurst in thomhurst/TUnit#7678 * Diagnose unsupported span params on test methods by @thomhurst in thomhurst/TUnit#7679 ... (truncated) Commits viewable in [compare view](thomhurst/TUnit@v1.80.0...v1.83.8). </details> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gergő Drazsdik <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gergő Drazsdik <[email protected]>
b17c4b73
Deployed
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Avoid redundant tuple extraction allocations during data generation
There was an error while loading. Please reload this page.