Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net: Processes - Resolving issues with integrations test in Dapr runtime. #9646

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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 @@ -442,7 +442,7 @@ private async Task<bool> IsEndMessageSentAsync()
/// <exception cref="InvalidOperationException"></exception>
private async Task<DaprProcessInfo> ToDaprProcessInfoAsync()
{
var processState = new KernelProcessState(this.Name, this._stepState!.Version, this.Id.GetId());
var processState = new KernelProcessState(this.Name, this._process!.State.Version, this.Id.GetId());
var stepTasks = this._steps.Select(step => step.ToDaprStepInfoAsync()).ToList();
var steps = await Task.WhenAll(stepTasks).ConfigureAwait(false);
return new DaprProcessInfo { InnerStepDotnetType = this._process!.InnerStepDotnetType, Edges = this._process!.Edges, State = processState, Steps = [.. steps] };
Expand Down
10 changes: 5 additions & 5 deletions dotnet/src/InternalUtilities/process/Runtime/ProcessEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,27 @@ public record ProcessEvent
/// <summary>
/// The namespace of the event.
/// </summary>
internal string Namespace { get; init; } = string.Empty;
public string Namespace { get; init; } = string.Empty;

/// <summary>
/// The source Id of the event.
/// </summary>
internal string SourceId { get; init; } = string.Empty;
public string SourceId { get; init; } = string.Empty;

/// <summary>
/// An optional data payload associated with the event.
/// </summary>
internal object? Data { get; init; }
public object? Data { get; init; }

/// <summary>
/// The visibility of the event.
/// </summary>
internal KernelProcessEventVisibility Visibility { get; init; }
public KernelProcessEventVisibility Visibility { get; init; }

/// <summary>
/// This event represents a runtime error / exception raised internally by the framework.
/// </summary>
internal bool IsError { get; init; }
public bool IsError { get; init; }

/// <summary>
/// The Qualified Id of the event.
Expand Down
Loading