Commit 2d5cee3
#12651 corrected IPubSub's contract docblock to state delivery driver-relatively:
no shipped driver exceeds at-most-once, a missed message is EXPECTED, handlers
must be idempotent AND tolerate loss. Two docblocks elsewhere still described the
pre-#12651 world.
- packages/core/src/security/authz-invalidation-channel.ts: the 'known
contradiction' paragraph asserted in the present tense that the interface
docblock 'still says' At-least-once, and that repairing it was filed
separately. That filing landed, so the paragraph is now false, not merely
stale. Replaced with a plain pointer to the interface docblock; the rest of
the docblock is unchanged.
- packages/services/service-cluster/src/memory/pubsub.ts: 'At-least-once
semantics held vacuously' was wrong on its own terms even before #12651 --
handler errors are swallowed via onError, so a throwing handler loses the
message with no retry and no persistence. Replaced with the honest statement.
Prose only. No behaviour change.
Claude-Session: https://claude.ai/code/session_0194kbQJxUvv2yvsGRtuXpP5
Co-authored-by: Claude <noreply@anthropic.com>
1 parent fa5d137 commit 2d5cee3
3 files changed
Lines changed: 46 additions & 8 deletions
File tree
- .changeset
- packages
- core/src/security
- services/service-cluster/src/memory
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
| |||
0 commit comments