patchrelay 0.35.10 → 0.35.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "service": "patchrelay",
3
- "version": "0.35.10",
4
- "commit": "3146dd0e4b68",
5
- "builtAt": "2026-04-04T00:02:17.420Z"
3
+ "version": "0.35.11",
4
+ "commit": "77fedbcefb07",
5
+ "builtAt": "2026-04-04T04:28:17.653Z"
6
6
  }
@@ -228,6 +228,15 @@ export class IdleIssueReconciler {
228
228
  this.advanceIdleIssue(issue, "done", { clearFailureProvenance: true });
229
229
  return;
230
230
  }
231
+ if (pr.state === "CLOSED") {
232
+ this.logger.info({ issueKey: issue.issueKey, prNumber: issue.prNumber }, "Reconciliation: PR was closed, re-delegating for implementation");
233
+ this.db.upsertIssue({ projectId: issue.projectId, linearIssueId: issue.linearIssueId, prState: "closed" });
234
+ this.advanceIdleIssue(issue, "delegated", {
235
+ pendingRunType: "implementation",
236
+ clearFailureProvenance: true,
237
+ });
238
+ return;
239
+ }
231
240
  if (pr.reviewDecision === "APPROVED") {
232
241
  this.db.upsertIssue({ projectId: issue.projectId, linearIssueId: issue.linearIssueId, prReviewState: "approved" });
233
242
  this.advanceIdleIssue(issue, "awaiting_queue", { clearFailureProvenance: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchrelay",
3
- "version": "0.35.10",
3
+ "version": "0.35.11",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {