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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "service": "patchrelay",
3
- "version": "0.12.8",
4
- "commit": "711863ef2d94",
5
- "builtAt": "2026-03-24T22:49:07.152Z"
3
+ "version": "0.12.9",
4
+ "commit": "486cbe4b89c3",
5
+ "builtAt": "2026-03-24T23:03:52.528Z"
6
6
  }
@@ -250,8 +250,17 @@ export class GitHubWebhookHandler {
250
250
  content: { type, body },
251
251
  });
252
252
  }
253
- catch {
254
- // Non-blocking don't crash the webhook handler for a Linear activity error
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
  }
@@ -539,7 +539,16 @@ export class RunOrchestrator {
539
539
  });
540
540
  }
541
541
  catch (error) {
542
- this.logger.debug({ issueKey: issue.issueKey, type, error: error instanceof Error ? error.message : String(error) }, "Failed to emit Linear activity (non-blocking)");
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
- this.logger.debug({ issueKey: issue.issueKey, error: error instanceof Error ? error.message : String(error) }, "Failed to update Linear plan (non-blocking)");
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchrelay",
3
- "version": "0.12.8",
3
+ "version": "0.12.9",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {