Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Linq;
using System.Threading.Tasks;
using Orleans.Concurrency;
using Orleans.Transactions;
using Orleans.Transactions.Abstractions;
using Orleans.Transactions.TestKit.Correctnesss;

Expand All @@ -28,7 +29,7 @@ public Task MultiGrainDouble(List<ITransactionTestGrain> grains)

public Task OrphanCallTransaction(ITransactionTestGrain grain)

Copilot AI Feb 16, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The grain parameter is no longer used in this method. Consider removing it from the method signature to avoid confusion and maintain a cleaner API. This would require updating the interface ITransactionCoordinatorGrain and any tests that call this method.

Copilot uses AI. Check for mistakes.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I removed the unused grain parameter from OrphanCallTransaction across the interface, implementation, test runner call site, and API baseline, and re-ran the targeted plus stress transaction tests.

{
_ = grain.Add(1000);
_ = TransactionContext.GetRequiredTransactionInfo().Fork();
return Task.CompletedTask;
}

Expand Down
Loading