Closed Alex-ley-scrub closed 6 months ago
Upon a closer look, this is unfortunately a limitation from GitHub. There is a difference if a check is created, or if a normal annotation is built.
For the annotate_only
a annotation property can be provided, and these don't allow for any additional information.
While check do allow an additional raw_details to bo be provided
The only "alternative" I could think of would be to add the stacktrace as part of the message for the annotation, however not everyone may like that as it is quite verbose and there is no collapsing for it
@Alex-ley-scrub related the summary output: https://github.com/mikepenz/action-junit-report/pull/1050 It would be great if you could try it out if it matches what you needed.
Closing as we won't be able to have the same output for annotation_only.
as briefly mentioned in: https://github.com/mikepenz/action-junit-report/issues/699#issuecomment-1983734072
basically when you have
annotate_only=false
(the default) you see something like this (similar to the repo README images):and when you click "Raw Output" button you see the mypy error:
but with
annotate_only=true
you don't have the "Raw Output" button and therefore can't see the erorr