collavre_slack 0.2.9 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 51a1306b5395fd3c1f6a145dff03851643cf402a104d8340e43a22108484396d
|
|
4
|
+
data.tar.gz: cb2ac8364ffae6ab6bdac6a61d5ccc46e0c8dcc3c3c116b10643aa6db272682e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71e813b2836e49a7754d8b5e5ab73d53d6f5ff8bfabe861f02dc85a84b2db9ae71609fc99bd8e66216ad5fecc8efc9d7b0e0a3184a796ecde974b9489e706c29
|
|
7
|
+
data.tar.gz: cea76f263a1aca00e157a6eb37609730cd82036f1239ebf4e21e382dd393cdf44aff7d7dad59e77b1b373b4df02e6ff8f710a6d4c4bcd32dd31fab6db948eac5
|
|
@@ -4,7 +4,7 @@ module CollavreSlack
|
|
|
4
4
|
|
|
5
5
|
# Slack is acked (200) the instant this job is enqueued, so a lost job means a
|
|
6
6
|
# lost message. We can't use a job-level `retry_on`: re-running `perform` would
|
|
7
|
-
# re-run CommandProcessor's non-idempotent commands (/calendar,
|
|
7
|
+
# re-run CommandProcessor's non-idempotent commands (/calendar, MCP). So
|
|
8
8
|
# CommandProcessor runs exactly once and each DB write around it is retried in
|
|
9
9
|
# place via #with_transient_retry.
|
|
10
10
|
|
|
@@ -50,7 +50,7 @@ module CollavreSlack
|
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
# Exactly-once guard, claimed here: after the idempotent writes above, immediately
|
|
53
|
-
# before the non-idempotent CommandProcessor (/calendar,
|
|
53
|
+
# before the non-idempotent CommandProcessor (/calendar, MCP). Slack is acked
|
|
54
54
|
# before this job runs, so a message can arrive twice (sequentially or concurrently);
|
|
55
55
|
# a read-only "already applied?" check can't cover concurrency — both jobs read "not
|
|
56
56
|
# applied" and both run the commands. We atomically claim (channel_link, message_ts)
|