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 Results are not shown in workflow run job list #529

Closed
dzenansoftic opened this issue Nov 8, 2023 · 15 comments
Closed

Test Results are not shown in workflow run job list #529

dzenansoftic opened this issue Nov 8, 2023 · 15 comments

Comments

@dzenansoftic
Copy link

Hello,

as we update to v.2.11.0, test results are not shown in workflow run summary job list on the left.

It worked fine with v2.10.0.

Examples:

v2.11.0
image

v2.10.0
image

Is this an expected behavior?

Thanks,
Dzenan

@EnricoMi
Copy link
Owner

EnricoMi commented Nov 8, 2023

Did you introduce other workflows while upgrading to v2.11.0? The test results might end up at some other workflow that ran on the same commit. See #12.

@dzenansoftic
Copy link
Author

No i didnt introduce other workflows.

@dzenansoftic
Copy link
Author

dzenansoftic commented Nov 9, 2023

Hi, do you have any other idea what could cause this problem? Here you can see a all jobs and there subjobs

image

The Test Results are shown under the annotations block, but not on the left-hand side.

image

@EnricoMi
Copy link
Owner

EnricoMi commented Nov 9, 2023

Can you provide the log of one of the runs of this action?

@dzenansoftic
Copy link
Author

image

@EnricoMi
Copy link
Owner

When you click on the "Created check ..." link, in which workflow do the test results appear?

@dzenansoftic
Copy link
Author

In a different run of the same workflow. The run number shown above is 20 and the results are in run number 19

@dzenansoftic
Copy link
Author

Can you work with this information or do you need more informations? Its an important topic for us because we might have to downgrade to an older version.

@EnricoMi
Copy link
Owner

Alright, the situation is that you have a single workflow but multiple events that can trigger a run, probably schedule and push or sync. This creates multiple workflow runs for one commit, and the checks are displayed by Github on a random workflow run. This is caused by #12, which Github is aware of and not going to fix.

The best way to find the checks is via the respective pull request, via the list of checks of a commit, or via the link in the log.

@dzenansoftic
Copy link
Author

Ok, but why does it work with an older version?

@EnricoMi
Copy link
Owner

EnricoMi commented Nov 13, 2023

You do have multiple events triggering your single workflow, right? If not, how do you explain multiple runs for one commit if there is only one event (unless that one event is schedule)?

Did you have multiple events for your workflow before?

Did each workflow run for one commit have the checks before?

Do both events fire simultaneously (push and sync) or at different times (sync and schedule)?

@dzenansoftic
Copy link
Author

No, i only changed the version to 2.11.0.

@EnricoMi
Copy link
Owner

EnricoMi commented Nov 13, 2023

Sorry, I cannot help if you don't answer those four questions specifically.

@dzenansoftic
Copy link
Author

Ah, I saw now that I added new events for testing purpose i forgot about. I removed the events and now it works fine.
Thanks for your time and help :)

@EnricoMi
Copy link
Owner

Just as I suspected. Glad I could help.

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