Update dependencies & migrate to new jetstream module#113
Conversation
9662f8f to
7162efd
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #113 +/- ##
==========================================
- Coverage 56.43% 56.06% -0.38%
==========================================
Files 33 33
Lines 2151 2185 +34
==========================================
+ Hits 1214 1225 +11
- Misses 808 825 +17
- Partials 129 135 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Root cause: The two failing tests pre-created a JetStream consumer with OptStartSeq: 2 / DeliverByStartSequencePolicy, then published "one" at sequence 1 — expecting it to be delivered. In nats-server v2.10, seq 1 was incorrectly delivered despite OptStartSeq: 2. In v2.12, the server correctly skips it. The WaitForRequests(1) silently timed out after 5s, then only 2 messages (instead of 3) made it to Kafka. Fix: Removed the OptStartSeq: 2 / DeliverByStartSequencePolicy / StartAtSequence: 2 config from both tests since they were testing durable subscriber persistence across restarts, not sequence-start positioning (that's already tested by TestJetStreamQueueStartAtPosition). Switched to DeliverAllPolicy so "one" at seq 1 is properly delivered. Signed-off-by: Tomasz Pietrek <tomasz@synadia.com>
Signed-off-by: Tomasz Pietrek <tomasz@synadia.com>
Signed-off-by: Tomasz Pietrek <tomasz@synadia.com>
|
@claude review this PR. |
|
Claude finished @Jarema's task in 2m 3s —— View job PR Review: Update dependencies & migrate to new jetstream module
This PR migrates from the legacy Bug:
|
philpennock
left a comment
There was a problem hiding this comment.
I don't see any dependency updates in here, which is what the PR title says should be here?
The code changes look fine.
Signed-off-by: Tomasz Pietrek <tomasz@synadia.com>
Signed-off-by: Tomasz Pietrek <tomasz@synadia.com>
|
@philpennock I found few issues and addressed them. |
philpennock
left a comment
There was a problem hiding this comment.
Imagine a minor grumbling noise about using %s instead of %q for arbitrary subjects logging, combined with "I guess it's consistent with the rest of the code-base, bleh". :)
Signed-off-by: Tomasz Pietrek tomasz@synadia.com