fix(check): isolate updates by check suite

Same-named checks from different suites must not edit one message.
Include the suite or app identity and retain the former key for
controlled adoption of existing tracked messages.
This commit is contained in:
翅膀 committed 2026-10-23 23:22:04 +08:00
1 parent a95feefaf8
commit 76380ff1c0
3 files changed
+37 -2

No files matched your search

+5
View File
@@ -321,6 +321,11 @@ export interface NeutralMessage {
* previously sent message instead of sending a new one.
*/
updateKey?: string;
/**
* The chain key this message had before `updateKey` changed shape, used
* only to find a message tracked under the old key (then re-keyed).
*/
legacyUpdateKey?: string;
/**
* Discord role ids to mention in the message content (set by dispatch from
* the route's `discordRoleIds`). Only used by the Discord driver.