opencode-forgekeeper 2.4.0 → 2.4.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/index.js +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1552,7 +1552,7 @@ function createFeedbackWatcher(options) {
|
|
|
1552
1552
|
remember(key2, { announced: ids }, now());
|
|
1553
1553
|
} catch (error) {
|
|
1554
1554
|
retryAt.set(key2, now() + RETRY_DELAY2);
|
|
1555
|
-
options.onSendError?.(error);
|
|
1555
|
+
options.onSendError?.(error, sessionID);
|
|
1556
1556
|
} finally {
|
|
1557
1557
|
for (const id of ids)
|
|
1558
1558
|
reserved.delete(`${key2} ${id}`);
|
|
@@ -2303,10 +2303,11 @@ async function setupStatus(ctx, settings, deps, host) {
|
|
|
2303
2303
|
notice({ sessionID, ...feedbackToast(request, comments), variant: "info" });
|
|
2304
2304
|
},
|
|
2305
2305
|
onFetchError: (error) => reportOnce("feedback-fetch", "Could not check PR/MR review feedback", error),
|
|
2306
|
-
onSendError: (error) => {
|
|
2306
|
+
onSendError: (error, sessionID) => {
|
|
2307
2307
|
const reason = error instanceof Error ? error.message : String(error);
|
|
2308
2308
|
notice({
|
|
2309
|
-
|
|
2309
|
+
sessionID,
|
|
2310
|
+
message: `Could not tell the session about review feedback: ${reason}. Retrying in 10 minutes.`,
|
|
2310
2311
|
variant: "error"
|
|
2311
2312
|
});
|
|
2312
2313
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-forgekeeper",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"description": "OpenCode plugin that tracks each session's GitHub and GitLab issues and PRs/MRs: title prefixes, a PR/MR status footer, and review notifications",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Pedro Pombeiro",
|