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

Use job execution context instead of step for adding summary attachments #1667

Merged
merged 2 commits into from
Feb 8, 2022
Merged

Use job execution context instead of step for adding summary attachments #1667

merged 2 commits into from
Feb 8, 2022

Conversation

robherley
Copy link
Contributor

@robherley robherley commented Feb 7, 2022

In #1642, the execution context used for QueueAttachFile was originally the Job context but was incorrectly refactored to use the Step context. This is incorrect, since the API will use the job context as per: https://github.com/github/actions-dotnet/pull/10957

Also, attaching to the step context is not supported according to:

// TODO: Remove the parentContext Parameter and replace this with executioncontext. Currently a bug exists where these files do not upload correctly using that context.

@robherley robherley requested a review from a team as a code owner February 7, 2022 19:38
@robherley robherley marked this pull request as draft February 7, 2022 21:45
@robherley robherley marked this pull request as ready for review February 7, 2022 23:05
Copy link
Contributor

@pfleidi pfleidi left a comment

Choose a reason for hiding this comment

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

This looks great. Thanks for making that change!

@pfleidi pfleidi merged commit bac9107 into actions:main Feb 8, 2022
AdamOlech pushed a commit to antmicro/runner that referenced this pull request Aug 8, 2022
…nts (actions#1667)

* use job exec context to queue/attach summaries

* step summary tests: use job ctx and verify against server queue
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.

3 participants