Skip to content

Commit c2583a1

Browse files
committed
Merge branch 'main' into feature-process-testing
2 parents 165e53f + 4283cf2 commit c2583a1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

dotnet/src/Experimental/Process.Runtime.Dapr/Actors/ProcessActor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ private async Task<bool> IsEndMessageSentAsync()
442442
/// <exception cref="InvalidOperationException"></exception>
443443
private async Task<DaprProcessInfo> ToDaprProcessInfoAsync()
444444
{
445-
var processState = new KernelProcessState(this.Name, this._stepState!.Version, this.Id.GetId());
445+
var processState = new KernelProcessState(this.Name, this._process!.State.Version, this.Id.GetId());
446446
var stepTasks = this._steps.Select(step => step.ToDaprStepInfoAsync()).ToList();
447447
var steps = await Task.WhenAll(stepTasks).ConfigureAwait(false);
448448
return new DaprProcessInfo { InnerStepDotnetType = this._process!.InnerStepDotnetType, Edges = this._process!.Edges, State = processState, Steps = [.. steps] };

dotnet/src/InternalUtilities/process/Runtime/ProcessEvent.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,27 @@ public record ProcessEvent
99
/// <summary>
1010
/// The namespace of the event.
1111
/// </summary>
12-
internal string Namespace { get; init; } = string.Empty;
12+
public string Namespace { get; init; } = string.Empty;
1313

1414
/// <summary>
1515
/// The source Id of the event.
1616
/// </summary>
17-
internal string SourceId { get; init; } = string.Empty;
17+
public string SourceId { get; init; } = string.Empty;
1818

1919
/// <summary>
2020
/// An optional data payload associated with the event.
2121
/// </summary>
22-
internal object? Data { get; init; }
22+
public object? Data { get; init; }
2323

2424
/// <summary>
2525
/// The visibility of the event.
2626
/// </summary>
27-
internal KernelProcessEventVisibility Visibility { get; init; }
27+
public KernelProcessEventVisibility Visibility { get; init; }
2828

2929
/// <summary>
3030
/// This event represents a runtime error / exception raised internally by the framework.
3131
/// </summary>
32-
internal bool IsError { get; init; }
32+
public bool IsError { get; init; }
3333

3434
/// <summary>
3535
/// The Qualified Id of the event.

0 commit comments

Comments
 (0)