Skip to content

fix(api): preserves pending check status when UNSTABLE#56

Merged
wgordon17 merged 3 commits intogordon-code:mainfrom
wgordon17:fix/unstable-pending-override
Apr 7, 2026
Merged

fix(api): preserves pending check status when UNSTABLE#56
wgordon17 merged 3 commits intogordon-code:mainfrom
wgordon17:fix/unstable-pending-override

Conversation

@wgordon17
Copy link
Copy Markdown
Member

Summary

  • Guards the mergeStateStatus === UNSTABLE override so it no longer clobbers a legitimate pending check status to failure — PRs with pending CI now correctly show yellow pulsing dot instead of red
  • Increases vitest hookTimeout from 10s to 30s to prevent DashboardPage test flakiness under pre-push resource pressure

GitHub's mergeStateStatus UNSTABLE means "mergeable with non-passing
commit status", which includes both failing AND pending checks. The
UNSTABLE override was unconditionally setting checkStatus to "failure",
clobbering the correct "pending" state from statusCheckRollup.

Guards the override so it only applies when rollup is not pending.
@wgordon17 wgordon17 merged commit 1a850f8 into gordon-code:main Apr 7, 2026
1 of 2 checks passed
@wgordon17 wgordon17 deleted the fix/unstable-pending-override branch April 8, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant