test: strengthen deployment verification

This commit is contained in:
Yahya Alhinai
2026-06-28 02:54:16 +00:00
parent 702026fbd4
commit 7497318cde
10 changed files with 288 additions and 32 deletions
+7 -1
View File
@@ -46,10 +46,16 @@ export function useInterventions(room: Room | null) {
accepted,
recordedAt: new Date().toISOString(),
});
await room?.localParticipant.publishData(
new TextEncoder().encode(
JSON.stringify({ type: 'ACK', interventionId: active.id, status }),
),
{ reliable: true, topic: DATA_TOPIC },
);
setActive(null);
return status;
},
[active],
[active, room],
);
return { active, hermes, voiceCue, actionUrl, respond };