patchrelay 0.12.8 → 0.12.9
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
|
@@ -250,8 +250,17 @@ export class GitHubWebhookHandler {
|
|
|
250
250
|
content: { type, body },
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
catch {
|
|
254
|
-
|
|
253
|
+
catch (error) {
|
|
254
|
+
const msg = error instanceof Error ? error.message : String(error);
|
|
255
|
+
this.logger.warn({ issueKey: issue.issueKey, newState, error: msg }, "Failed to emit Linear activity from GitHub webhook");
|
|
256
|
+
this.feed?.publish({
|
|
257
|
+
level: "warn",
|
|
258
|
+
kind: "linear",
|
|
259
|
+
issueKey: issue.issueKey,
|
|
260
|
+
projectId: issue.projectId,
|
|
261
|
+
status: "linear_error",
|
|
262
|
+
summary: `Linear activity failed: ${msg}`,
|
|
263
|
+
});
|
|
255
264
|
}
|
|
256
265
|
}
|
|
257
266
|
}
|
package/dist/run-orchestrator.js
CHANGED
|
@@ -539,7 +539,16 @@ export class RunOrchestrator {
|
|
|
539
539
|
});
|
|
540
540
|
}
|
|
541
541
|
catch (error) {
|
|
542
|
-
|
|
542
|
+
const msg = error instanceof Error ? error.message : String(error);
|
|
543
|
+
this.logger.warn({ issueKey: issue.issueKey, type, error: msg }, "Failed to emit Linear activity");
|
|
544
|
+
this.feed?.publish({
|
|
545
|
+
level: "warn",
|
|
546
|
+
kind: "linear",
|
|
547
|
+
issueKey: issue.issueKey,
|
|
548
|
+
projectId: issue.projectId,
|
|
549
|
+
status: "linear_error",
|
|
550
|
+
summary: `Linear activity failed: ${msg}`,
|
|
551
|
+
});
|
|
543
552
|
}
|
|
544
553
|
}
|
|
545
554
|
async updateLinearPlan(issue, plan) {
|
|
@@ -552,7 +561,8 @@ export class RunOrchestrator {
|
|
|
552
561
|
await linear.updateAgentSession({ agentSessionId: issue.agentSessionId, plan });
|
|
553
562
|
}
|
|
554
563
|
catch (error) {
|
|
555
|
-
|
|
564
|
+
const msg = error instanceof Error ? error.message : String(error);
|
|
565
|
+
this.logger.warn({ issueKey: issue.issueKey, error: msg }, "Failed to update Linear plan");
|
|
556
566
|
}
|
|
557
567
|
}
|
|
558
568
|
async readThreadWithRetry(threadId, maxRetries = 3) {
|