[codex] Split MarketDataRouter and add staged lifecycle stack - #155
Merged
Conversation
LimiNode
force-pushed
the
refactor/market-data-router-implementation
branch
from
August 31, 2026 06:51
6281f49 to
6935fe9
Compare
LimiNode
force-pushed
the
feat/market-data-router-dispatch
branch
from
August 31, 2026 08:48
fe0bbc2 to
2f97e5a
Compare
LimiNode
force-pushed
the
refactor/market-data-router-implementation
branch
from
August 31, 2026 08:59
6935fe9 to
864900d
Compare
LimiNode
force-pushed
the
feat/market-data-router-dispatch
branch
from
August 31, 2026 09:13
2f97e5a to
7344aae
Compare
LimiNode
force-pushed
the
refactor/market-data-router-implementation
branch
4 times, most recently
from
September 2, 2026 15:28
0cec0a4 to
762571b
Compare
LimiNode
force-pushed
the
feat/market-data-router-dispatch
branch
from
September 2, 2026 23:40
271dfde to
3cfeaec
Compare
LimiNode
changed the base branch from
feat/market-data-router-dispatch
to
main
September 3, 2026 00:00
Keep the MarketDataRouter public declarations in the primary header and move its unchanged private state and inline definitions into a guarded detail implementation file.
Introduce the optional ILifecycleModule contract and a non-owning LifecycleStack that processes dependencies forward and shuts them down one stage at a time in reverse order. Integrate MarketDataRouter and BaseTradingPlatform, add a routed-cleanup example and focused tests, and document the contract in synchronized English and Russian guides.
Run the lifecycle stack test and example on Ubuntu and Windows smoke jobs. Document that nested lifecycle stacks must remain acyclic while keeping cycle detection outside the optional stack implementation.
LimiNode
force-pushed
the
refactor/market-data-router-implementation
branch
from
September 3, 2026 00:00
84feeec to
90bac3d
Compare
LimiNode
marked this pull request as ready for review
September 3, 2026 00:00
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.
Summary
MarketDataRouter.hppmarket_data/detail/MarketDataRouter.ippILifecycleModuleandLifecycleStacksupervisor for staged module processing and reverse-order shutdownBaseTradingPlatformandMarketDataRouterThis PR includes the lifecycle-stack changes from the merged #156 commit, so it is intentionally a functional integration PR rather than a mechanical two-file refactor.
Verification
lifecycle_stack_testandlifecycle_stack_examplebuilt and ran on both platformsgit diff --checkStack
Depends on #154 (
feat/market-data-router-dispatch). The Router split and staged lifecycle integration are reviewed together because the current branch contains both changes.