Merge branch 'codex/sleep-run-task-recovery' into codex/sleep-issue-state-recovery

* codex/sleep-run-task-recovery:
  fix: normalize run dispatch hints to company identity

# Conflicts:
#	server/src/services/run-dispatch-notifications.ts
This commit is contained in:
Dotta committed 2026-10-30 18:28:44 -05:00
commit 9eee45ed2d
2 files changed
+5 -3

No files matched your search

@@ -5,7 +5,7 @@ export type RunDispatchScope = { companyId: string };
export async function notifyRunDispatch(transaction: object, scope?: RunDispatchScope) {
await notifyIssueRecovery(transaction, scope);
const hint = scope ? JSON.stringify(scope) : "*";
const hint = scope ? JSON.stringify({ companyId: scope.companyId }) : "*";
await notifyDeliveryWork(transaction, DELIVERY_QUEUES.scheduledRetryDispatch, hint);
await notifyDeliveryWork(transaction, DELIVERY_QUEUES.queuedRunDispatch, hint);
}