Skip to content

fix(issues): Prefer closed status for closed draft PRs#117249

Merged
scttcper merged 1 commit into
masterfrom
scttcper/pr-status-closed
Jun 9, 2026
Merged

fix(issues): Prefer closed status for closed draft PRs#117249
scttcper merged 1 commit into
masterfrom
scttcper/pr-status-closed

Conversation

@scttcper

@scttcper scttcper commented Jun 9, 2026

Copy link
Copy Markdown
Member

GitHub can return closed pull requests with draft=true, which made the linked PR endpoint report them as draft instead of closed.

Prefer terminal states before draft so issue details shows the real lifecycle state.

GitHub can return closed pull requests with draft=true, which made the linked PR endpoint report them as draft instead of closed.

Prefer terminal states before draft so issue details shows the real lifecycle state.

Co-Authored-By: Codex GPT-5 <noreply@openai.com>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 9, 2026
@scttcper scttcper marked this pull request as ready for review June 9, 2026 21:43
@scttcper scttcper requested review from a team as code owners June 9, 2026 21:43
@scttcper scttcper merged commit 4c22f37 into master Jun 9, 2026
65 checks passed
@scttcper scttcper deleted the scttcper/pr-status-closed branch June 9, 2026 21:59
scttcper added a commit that referenced this pull request Jun 10, 2026
Adds linked pull requests block under Issue Tracking from the new
backend api #117249

<img width="335" height="267" alt="image"
src="https://github.com/user-attachments/assets/21e454dc-300c-4a0c-acfc-c86dbcd38181"
/>

part of [ID-1614](https://linear.app/getsentry/issue/ID-1614)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants