Skip to content

Fix issues for composite actions (Run Service flow)#3446

Merged
ericsciple merged 1 commit intomainfrom
users/ericsciple/24-08-embed
Sep 3, 2024
Merged

Fix issues for composite actions (Run Service flow)#3446
ericsciple merged 1 commit intomainfrom
users/ericsciple/24-08-embed

Conversation

@ericsciple
Copy link
Copy Markdown
Collaborator

No description provided.

@ericsciple ericsciple force-pushed the users/ericsciple/24-08-embed branch 2 times, most recently from 12e67bd to ce2086c Compare August 30, 2024 22:30
@ericsciple ericsciple force-pushed the users/ericsciple/24-08-embed branch from ce2086c to deade9c Compare August 30, 2024 22:34
@ericsciple ericsciple marked this pull request as ready for review August 30, 2024 22:35
@ericsciple ericsciple requested a review from a team as a code owner August 30, 2024 22:35
child.Initialize(HostContext);
if ((Global.Variables.GetBoolean("RunService.FixEmbeddedIssues") ?? false) && embeddedIssueCollector != null)
{
child._embeddedIssueCollector = embeddedIssueCollector;
Copy link
Copy Markdown
Collaborator Author

@ericsciple ericsciple Aug 30, 2024

Choose a reason for hiding this comment

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

Currently _embeddedIssueCollector is incorrectly set in the constructor here

It's used in the method Complete to populate the roll-up step annotations here which is then published as step results only for "Task" execution contexts (i.e. not for the "Job" execution context.

private CancellationTokenSource _cancellationTokenSource;
private TaskCompletionSource<int> _forceCompleted = new();
private bool _throttlingReported = false;
private List<Issue> _embeddedIssueCollector;
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Removed readonly because initialized by the method CreateChild now

@ericsciple ericsciple merged commit 36c66c8 into main Sep 3, 2024
@ericsciple ericsciple deleted the users/ericsciple/24-08-embed branch September 3, 2024 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants