async CCR-Update enabler (#22 Increment 1) - #49
Closed
next-nf wants to merge 4 commits into
Closed
Conversation
This was referenced Jul 21, 2026
next-nf
force-pushed
the
async-establishment-step3
branch
from
July 25, 2026 08:43
9569f12 to
b38ac0c
Compare
Owner
Author
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.
#22 Increment 1 — the async Gx CCR-Update enabler. Stacked on #48 (base
async-establishment-step3); review/merge the stack in order (#45 → #46 → #48 → this).The reusable piece that lets an
async_mprocedure issue a mid-session CCR andawaitits reply — the mechanism #22 (UE-requested bearer resource modification) and #23 need. No #22 procedure yet; that's Increment 2.ccr_update_issue(real Gx) — a pure mirror of the landedccr_initial_issue:ccr_update_pre_sendfactored verbatim out of the blocking CCR-Updateinvokeclause, plussmf_aaa_pcf:ccr_update_issue/4(the sharedissue/5helper now dispatches per procedure). Returns{Promise, Session_at_send, State_at_send}; the reply routes through the existing{'$reply', Promise}→async_m:handle_replypath;fold_ccais reused unchanged.smf_aaa_staticasync path — thepgw_SUITEAAA mock was synchronous (no Promise, canned post-processed answers), which blocked end-to-end testing of any diameter-async consumer. It now hasccr_update_issue/3/ccr_initial_issue/3that mint a Promise and deliver the canned answer as a raw['CCA'|AVPs]{'$reply', Promise}(onlyResult-Codeneeds list-wrapping to matchhandle_cca). A CT proves the full loop: issue → receive →fold_cca→ a real{pcc, remove, _}event.Tests
smf_aaa_static_async_SUITE(the async-CCR-U loop) +diameter_Gx_SUITE6/6 (the CCR-Uinvokeextraction is behavior-preserving) — 7/7 together.pgw_SUITE127/127 (the mock's sync path is untouched); defaultrebar3 compilegreen.Next: Increment 2 — the
delete_packet_filters→ PTI Delete Bearer procedure, built on this + the CCR-U packet-filter wire encoding.🤖 Generated with Claude Code