-
Notifications
You must be signed in to change notification settings - Fork 513
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
PR review companion seems flaky? #4972
Comments
FWIW I'm also not seeing built pages for mdn/content#10646 (the first time it worked, but after review the author made some changes, and those I am not seeing). |
I have not kept an eye on this one. @wbamberg, @SphinxKnight, or @ddbeck, is this still behaving inconsistently? |
From https://github.com/mdn/translated-content/actions/workflows/pr-review-companion.yml?query=is%3Afailure I can see https://github.com/mdn/translated-content/actions/runs/1831126327 / https://github.com/mdn/translated-content/runs/5171601783?check_suite_focus=true and https://github.com/mdn/translated-content/runs/5176772124?check_suite_focus=true "recently". I'll be back later with more time to have a deeper look at those failures. Edit: seems indeed pretty frequent for mdn/content as well : https://github.com/mdn/content/actions/workflows/pr-review-companion.yml?query=is%3Afailure |
Yes, I think the PR review companion workflow is prone to failure. But because of the way the PR companion is wired up, it's not very obvious when it has failed, why it has failed, or what PR it failed for. For reasons unknown to me, it's triggered by the completion of the
I think the first step would be to combine the PR Test and PR review companion workflows, with two dependent jobs. That will probably give us some better information on why the companion is misbehaving. (There's also some other suspect stuff in those workflows, but I've been reluctant to mess with them since I'd have no way of knowing if or why they'd fail.) |
I still have this problem. See https://github.com/mdn/translated-content/actions/runs/2896760814 |
I quickly looked into this and the "PR review companion" workflow seems to fail if the "PR Test" did not upload any artifact, especially ...
Example for 1:
Example for 2:
|
To fix case 1, we could run the "PR review companion" workflow conditionally only if the "PR Test" workflow run concluded with "success":
🤔 However, it should already do that, see: https://github.com/mdn/content/blame/d987faaf1b65fbc11323327d82ce13a004cb96d4/.github/workflows/pr-review-companion.yml#L18-L20 To fix case 2, we could modify the "PR Test" workflow to ...
|
Decreased priority, because it's just annoying, not really a problem that the workflow fails. |
I think it's safe to close this for now as there's been multiple refactoring efforts completed on these workflows; a significant one being the following that's landed in content and translated content:
A few things that add stability:
And there are a number of other small but important fixes:
Related issues: |
Closing as suggested by Brian in #4972 (comment). |
On this build the PR review companion keep failing with the following stack:
We recently changes
github.actions.listWorkflowRunArtifacts
togithub.rest.actions.listWorkflowRunArtifacts
because of the breaking change in the underlying GitHub action. The same change was made by @SphinxKnight on translated-content. It looks like the error is not related to the change, but based on the fact that there was no artefacts. However, there is thisconsole.warn
in the code:There is also this run that did not error. We will need to have a look at what the actual cause is and resolve the issue.
The text was updated successfully, but these errors were encountered: