Skip to content

CheckRunAnnotation.title always seems to be None #3227

@atodorov

Description

@atodorov

For this run https://github.com/gluwa/creditcoin3/actions/runs/13428940044/job/37517043952:

Image

I can list all of the annotations, however the title attribute always appears to be None.

I am assuming that the text Wait for creditcoin3-node to sync past block number 0x6111b1 from the screenshot above is what .title should be. Correct me if I'm wrong.

Code snippet to reproduce the issue:

>>> repo = gh.get_repo("gluwa/creditcoin3")
>>> cr = repo.get_check_run(37517043952)
>>>
>>> output = cr.output
>>> output.text, output.summary, output.title
(None, None, None)
>>>
>>> output.annotations_count, output.text, output.summary, output.title
(2, None, None, None)
>>>
>>> 
>>> for a in cr.get_annotations():
...     print(a.annotation_level, "T=", a.title, "M=", a.message, "D=", a.raw_details)
... 
warning T=  M= The following actions uses Node.js version which is deprecated and will be forced to run on node20: i3h/download-release-asset@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ D= 
failure T=  M= The action 'Wait for creditcoin3-node to sync past block number 0x6111b1' has timed out after 25 minutes. D= 

I am willing to follow up with GitHub Support and provide a PR for this. Just need to know if my assumption is correct or if I should be looking into a different direction. Will keep digging meanwhile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions