fix(hub): busy 表情从 Hourglass 改为 OnIt(飞书支持的 emoji_type)

This commit is contained in:
2026-07-08 02:22:05 +08:00
parent 20bf7e271f
commit 30d20421b3
+2 -2
View File
@@ -156,7 +156,7 @@ export function makeTriggerHandler(deps: TriggerDeps) {
// ADR-0002: if locked by another run, reply busy.
const existing = await currentLockRunId(deps.prisma, projectId);
if (existing !== null) {
await reactToMessage(rt, msg.message_id, "Hourglass");
await reactToMessage(rt, msg.message_id, "OnIt");
return;
}
@@ -243,7 +243,7 @@ export function makeTriggerHandler(deps: TriggerDeps) {
data: { status: "FAILED", error: "lock race", finishedAt: new Date() },
});
await writeAudit(deps.prisma, { runId: run.id, projectId, action: "run.lock_race", metadata: {} });
await reactToMessage(rt, msg.message_id, "Hourglass");
await reactToMessage(rt, msg.message_id, "OnIt");
return;
}