Skip to content

Conversation

@josephperrott
Copy link
Member

When requesting the CheckRun and StatusContext objects for a pull request commit, it is possible that Github will return multiple CheckRuns with the same context name but different results as they are additive rather than replacing the value. We now sort this original list by timestamp and then filter out the duplicates to only consider the final status result.

When requesting the CheckRun and StatusContext objects for a pull request commit, it is possible that Github
will return multiple CheckRuns with the same context name but different results as they are additive rather
than replacing the value.  We now sort this original list by timestamp and then filter out the duplicates to
only consider the final status result.
@josephperrott josephperrott added the action: merge The PR is ready for merge by the caretaker label Nov 17, 2025
Copy link
Contributor

@thePunderWoman thePunderWoman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@josephperrott josephperrott merged commit 8cd78c4 into angular:main Nov 17, 2025
8 checks passed
@josephperrott
Copy link
Member Author

This PR was merged into the repository. The changes were merged into the following branches:

@josephperrott josephperrott deleted the filter-duplicate-status-checks branch November 17, 2025 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants