Repository navigation
test(interop): add concurrent session timer soak tests - #242
Draft
FedorKiselev76 wants to merge 13 commits into
Draft
FedorKiselev76 wants to merge 13 commits into
FedorKiselev76 wants to merge 13 commits into
Conversation
Add a public constructor for non-exhaustive lifecycle records so applications can reconstruct persisted history. Keep restore-time history validation unchanged. Exercise the API from an external integration test across two restores, including absent timestamps and invalid history. Verify the constructor documentation and Embassy build.
Make DialogSnapshot non-exhaustive and require explicit state, CSeq counters and recovery metadata through its public builder. Preserve optional stored values and validate confirmed lifecycle history without discarding pending work. Document the proposed 0.9.0 release gate, legacy storage migration and changed restore behavior. Exercise downstream reconstruction and snapshot admission around the upstream re-INVITE handlers.
Verify that incoming re-INVITE responses wait for storage and that ACK completion produces a quiescent checkpoint. Exercise successful and failed commits before a deferred outgoing ACK handler. Clarify that the interop checkpoint switch configures in-process dialog peers, not the standalone proxy and B2BUA applications.
The caller can report CONFIRMED before the proxy forwards ACK. Wait for a SIPp receive marker before requesting hangup, so this scenario tests retransmission of BYE instead of racing it with the initial ACK.
…rsistence-checkpoints
# Conflicts: # src/dialog/dialog.rs # src/dialog/dialog_layer.rs # src/dialog/invite_dialog.rs # src/dialog/mod.rs # src/transaction/transaction.rs
Retain persistence and receipt timing on 422 retries. Track automatic bodyless UPDATE responses as negotiations and commit the refreshed target after completion. Cover successful and failed retry writes and delayed UPDATE storage with wire regression tests.
FedorKiselev76
force-pushed
the
codex/interop-session-soak
branch
from
November 6, 2026 11:12
f92dfce to
abd91ff
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds optional long-running session timer tests against SIPp with concurrent calls, repeated automatic UPDATE/re-INVITE refreshes, and controlled response loss.
Checks dialog and transaction cleanup, released endpoint/layer references, runtime task counts, and RSS growth after warmup. Uses real protocol intervals and waits for transaction retention timers to expire before checking cleanup.
Includes a configurable local runner, documentation, and a manual GitHub Actions workflow. Soak tests are excluded from ordinary interop suites and PR checks.
Depends on #241 and includes its updated prerequisites. Merge #241 first. This branch is now based on the refreshed PR stack on upstream
mainat895d443.Validation on the updated branch:
cargo test: 740 library tests, 7 downstream reconstruction tests, 7 harness tests, and 72 documentation tests passed; one documentation test is ignored.The checkpoint switch configures in-process dialog-peer fixtures. Standalone proxy/B2BUA applications also run but retain their own dialog configuration. RSS assertions are a bounded regression check, not a substitute for heap profiling.