patchrelay 0.59.0 → 0.59.1
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.
package/dist/build-info.json
CHANGED
|
@@ -430,6 +430,7 @@ function buildCiEntry(params) {
|
|
|
430
430
|
const owner = deriveCiOwner({
|
|
431
431
|
delegatedToPatchRelay,
|
|
432
432
|
gateCheckStatus,
|
|
433
|
+
activeRunId: issue.activeRunId,
|
|
433
434
|
factoryState: issue.factoryState,
|
|
434
435
|
reviewDecision,
|
|
435
436
|
reviewRequested,
|
|
@@ -461,6 +462,9 @@ function buildCiEntry(params) {
|
|
|
461
462
|
};
|
|
462
463
|
}
|
|
463
464
|
function deriveCiOwner(params) {
|
|
465
|
+
if (params.activeRunId !== undefined) {
|
|
466
|
+
return "patchrelay";
|
|
467
|
+
}
|
|
464
468
|
const headAdvancedPastBlockingReview = Boolean(params.currentHeadSha
|
|
465
469
|
&& params.latestBlockingReviewHeadSha
|
|
466
470
|
&& params.currentHeadSha !== params.latestBlockingReviewHeadSha);
|
|
@@ -84,6 +84,13 @@ export class InterruptedRunRecovery {
|
|
|
84
84
|
queueRepairAttempts: issue.queueRepairAttempts - 1,
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
|
+
else if (isRequestedChangesRunType(run.runType) && issue.reviewFixAttempts > 0) {
|
|
88
|
+
this.db.issueSessions.upsertIssueWithLease(lease, {
|
|
89
|
+
projectId: issue.projectId,
|
|
90
|
+
linearIssueId: issue.linearIssueId,
|
|
91
|
+
reviewFixAttempts: issue.reviewFixAttempts - 1,
|
|
92
|
+
});
|
|
93
|
+
}
|
|
87
94
|
if (run.runType === "ci_repair" || run.runType === "queue_repair") {
|
|
88
95
|
this.db.issueSessions.upsertIssueWithLease(lease, {
|
|
89
96
|
projectId: issue.projectId,
|