Skip to content

fix(closure-router): issue closed-as-completed mirrors closing PR's resulting Status - #33

Merged
LukasWodka merged 1 commit into
developfrom
fix/issue-mirrors-pr-status
Apr 30, 2026
Merged

fix(closure-router): issue closed-as-completed mirrors closing PR's resulting Status#33
LukasWodka merged 1 commit into
developfrom
fix/issue-mirrors-pr-status

Conversation

@LukasWodka

Copy link
Copy Markdown
Contributor

Bug caught by Asad — issue linked to PR #114 was sent to Done while PR sat in Functional review. Now syncs by looking up the closing PR's base branch.

Caught by Asad. When a PR closes a linked issue (via 'Closes #N') and the PR
is still in Functional review (merged to develop, awaiting prod), the issue
was being routed independently to Done — splitting the pair.
Fix: on issue closed-as-completed, look up the closing PR via timeline and
mirror its resulting Status (Functional review for develop/staging, Done for
main/master, Done as default for manually-closed issues with no linked PR).
@LukasWodka
LukasWodka merged commit cddf368 into developApr 30, 2026
@LukasWodka
LukasWodka deleted the fix/issue-mirrors-pr-status branch April 30, 2026 14:04
@LukasWodkaLukasWodka added bug Something isn't working work-type:bug Defect or regression labels Jun 8, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugSomething isn't workingwork-type:bugDefect or regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@LukasWodka@saadqbal