Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

batches: fix changeset status computation for changesets with skipped ci checks#62204

Merged
BolajiOlajide merged 3 commits into
mainfrom
bo/fix-changeset-state-computation
Apr 30, 2024
Merged

batches: fix changeset status computation for changesets with skipped ci checks#62204
BolajiOlajide merged 3 commits into
mainfrom
bo/fix-changeset-state-computation

Conversation

@BolajiOlajide

Copy link
Copy Markdown
Contributor

Closes #62133

The computation for parsing the changeset for a Pull Request was incorrect, this caused GitHub pull request with a status of SKIPPED to be treated as a state of UNKNOWN.
We also treated any changeset with at least one status of UNKNOWN to have an overall status of UNKNOWN, I changed that logic to prioritize FAILED and PENDING statuses ahead of UNKNOWN.

Test plan

  • Manual testing
  • Unit testing

CleanShot 2024-04-26 at 14 19 35@2x

@BolajiOlajide BolajiOlajide requested a review from a team April 26, 2024 13:41
@BolajiOlajide BolajiOlajide self-assigned this Apr 26, 2024
@cla-bot cla-bot Bot added the cla-signed label Apr 26, 2024
@BolajiOlajide BolajiOlajide merged commit 02ba39f into main Apr 30, 2024
@BolajiOlajide BolajiOlajide deleted the bo/fix-changeset-state-computation branch April 30, 2024 10:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Batch Changes: Skipped checks incorrectly show "Unknown" Check State

2 participants