From 22312b52e2e1bcb100808ccc48159edaab4bac71 Mon Sep 17 00:00:00 2001 From: AlexRV12 <71396855+AlexRV12@users.noreply.github.com> Date: Wed, 23 Sep 2026 18:13:18 +0200 Subject: [PATCH] feat(frontend): point the built-in handlers at their published hub scripts Co-Authored-By: Claude Opus 5 --- frontend/src/lib/hub.ts | 5 ----- frontend/src/lib/hubPaths.json | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/frontend/src/lib/hub.ts b/frontend/src/lib/hub.ts index e921981bbe..41e0c41f66 100644 --- a/frontend/src/lib/hub.ts +++ b/frontend/src/lib/hub.ts @@ -86,11 +86,6 @@ type HubPaths = { teamsErrorHandler: string teamsRecoveryHandler: string teamsSuccessHandler: string - // TODO(WIN-2332): the ids of these two are placeholders until the scripts are pushed to - // the hub, which assigns them. Nothing resolves them meanwhile, and the image build runs - // `windmill cache hubPaths.json` over every entry (Dockerfile), so it fails on an id the - // hub does not have. Replace both before merging; only the number matters, the slug is - // ours and is what the settings tab matches on. slackVariableExpirationHandler: string teamsVariableExpirationHandler: string emailErrorHandler: string diff --git a/frontend/src/lib/hubPaths.json b/frontend/src/lib/hubPaths.json index a3ed2a837f..1dabf42c00 100644 --- a/frontend/src/lib/hubPaths.json +++ b/frontend/src/lib/hubPaths.json @@ -8,8 +8,8 @@ "teamsErrorHandler": "hub/19742/workspace-or-schedule-error-handler-teams", "teamsRecoveryHandler": "hub/11593/schedule-recovery-handler-teams", "teamsSuccessHandler": "hub/11596/schedule-success-handler-teams", - "slackVariableExpirationHandler": "hub/99999901/variable-expiration-handler-slack", - "teamsVariableExpirationHandler": "hub/99999902/variable-expiration-handler-teams", + "slackVariableExpirationHandler": "hub/28987/variable-expiration-handler-slack", + "teamsVariableExpirationHandler": "hub/28988/variable-expiration-handler-teams", "slackReport": "hub/28792/slack", "discordReport": "hub/9085/discord", "smtpReport": "hub/28242/smtp",