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

Test report randomly appears under different workflow #25

Closed
Piedone opened this issue Oct 20, 2022 · 4 comments
Closed

Test report randomly appears under different workflow #25

Piedone opened this issue Oct 20, 2022 · 4 comments

Comments

@Piedone
Copy link

Piedone commented Oct 20, 2022

With v8 of the action, we've noticed that sometimes the test reports will appear not under the workflow they were created from, but another workflow that runs in parallel on the same trigger.

The two workflows:

  • build-and-test: This runs test-reporting for .NET builds. Two jobs run two builds (matrix builds, under Ubuntu and Windows) in parallel. The workflow utilizes an external reusable workflow, and where in the end test-reporting is called is here.
  • validate-pull-request: This doesn't use test-reporting.

What we see:

This seems to be a bug to me. Note that the two workflows are unrelated apart from having an overlap of triggers.

Before we had the validate-pull-request workflow, we noticed test reports randomly missing, which is perhaps the same issue.

@IanMoroney
Copy link
Contributor

So, this actually relates to a long-standing github issue, where the requesting run id isn't linked to the check suite id.
It's discussed here in detail:
dorny/test-reporter#67

@Piedone
Copy link
Author

Piedone commented Nov 8, 2022

I see, thanks for explaining. How about then, as a stopgap workaround, do what's mentioned here? It would even be enough to include the "Check run HTML" link in the run summary.

image

#21 is about something similar.

@IanMoroney
Copy link
Contributor

yep!
merged :)

@Piedone
Copy link
Author

Piedone commented Nov 9, 2022

Thank you!

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

No branches or pull requests

2 participants