You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, reviewdog should do it's best to report 10 error annotations and 10 warning annotations (and it should also support 10 notice annotations, btw) and if > 10 annotations, the 10th annotation of each kind should be a message that there are more than 10 annotations, which GitHub does not support.
The same may also apply to review comments, but I am not aware of such limit. However, to prevent a DoS from reviewdog, it is likely best if reviewdog replaces the last comment it would be able to add with a "Giving up due to GitHub limit".
In case of too many errors, it may also be nice to merge several erros of the same kind into one error and add "more of the same are omitted due to GitHub annotation limits of 10 annotations per type and step".
Another nice feature would be to mark less important errors not as errors but as warings and notices, so in total 30 annotations could be issued per step.
The biggest problem is that the action-mypy does not fail CI in this case, so the error goes unnoticed:
TODO / Remaining bug:
When more than 53 errors are reported by mypy and are not filtered, reviewdog gives up and aborts with the message:
The error is buried in the middle of the long output:
I know the current GitHub limits, they are also printed in the log:
However,
reviewdog
should do it's best to report 10 error annotations and 10 warning annotations (and it should also support 10 notice annotations, btw) and if > 10 annotations, the 10th annotation of each kind should be a message that there are more than 10 annotations, which GitHub does not support.The same may also apply to review comments, but I am not aware of such limit. However, to prevent a DoS from reviewdog, it is likely best if reviewdog replaces the last comment it would be able to add with a "Giving up due to GitHub limit".
In case of too many errors, it may also be nice to merge several erros of the same kind into one error and add "more of the same are omitted due to GitHub annotation limits of 10 annotations per type and step".
Another nice feature would be to mark less important errors not as errors but as warings and notices, so in total 30 annotations could be issued per step.
The biggest problem is that the action-mypy does not fail CI in this case, so the error goes unnoticed:
https://github.com/xenserver-next/xen-api/actions/runs/7706543512/job/21002295649
The text was updated successfully, but these errors were encountered: