@tritard/waterbrother 0.16.85 → 0.16.86
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/package.json +1 -1
- package/src/gateway.js +3 -0
package/package.json
CHANGED
package/src/gateway.js
CHANGED
|
@@ -934,6 +934,8 @@ function formatTelegramRoomMarkup(project, options = {}) {
|
|
|
934
934
|
const selectedExecutor = chooseExecutorAgent(project, executor);
|
|
935
935
|
const selectedReviewer = chooseReviewerAgent(project);
|
|
936
936
|
const blockingReview = getLatestBlockingReviewPolicy(project);
|
|
937
|
+
const latestReviewResult = getLatestReviewResult(project);
|
|
938
|
+
const latestReviewMeta = latestReviewResult?.meta && typeof latestReviewResult.meta === "object" ? latestReviewResult.meta : {};
|
|
937
939
|
const selectedExecutorLiveHost = selectedExecutor ? findLiveHostForAgent(liveHosts, selectedExecutor) : null;
|
|
938
940
|
const selectedReviewerLiveHost = selectedReviewer ? findLiveHostForAgent(liveHosts, selectedReviewer) : null;
|
|
939
941
|
const executorBits = [
|
|
@@ -964,6 +966,7 @@ function formatTelegramRoomMarkup(project, options = {}) {
|
|
|
964
966
|
`reviewer: <code>${escapeTelegramHtml(selectedReviewer ? (selectedReviewer.ownerName || selectedReviewer.label || selectedReviewer.ownerId || selectedReviewer.id || "none") : "none")}</code>`,
|
|
965
967
|
`reviewer live: <code>${escapeTelegramHtml(selectedReviewerLiveHost ? "yes" : "no")}</code>`,
|
|
966
968
|
`blocking review: <code>${escapeTelegramHtml(blockingReview ? "yes" : "no")}</code>`,
|
|
969
|
+
`latest reviewer outcome: <code>${escapeTelegramHtml(String(latestReviewMeta.outcome || "").trim() || "none")}</code>`,
|
|
967
970
|
"<b>Executor</b>",
|
|
968
971
|
...executorBits,
|
|
969
972
|
"<b>Runtime Split</b>",
|