Repository navigation
Conversation
Co-authored-by: RongGu <2420697+RongGu@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add architecture diagram for RBG project
Add comprehensive architecture documentation with Mermaid diagrams
Nov 9, 2025
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.
Ⅰ. Motivation
User requested Mermaid architecture diagrams illustrating RBG's core components: RBG Controller (orchestrates multi-role deployments, manages dependencies, coordinates scheduling/updates) and Engine Runtime Manager (handles LLM inference runtime via ClusterEngineRuntimeProfile, enables service discovery and PD disaggregation scenarios).
Ⅱ. Modifications
Created
doc/architecture.md(314 lines) with 7 Mermaid diagrams:Updated documentation references:
doc/TOC.md: Added architecture link under OverviewREADME.mdandREADME-zh_CN.md: Added architecture documentation linksAll content in Chinese per request. Covers controller orchestration, engine runtime management, multi-role workflows, PD separation benefits, tech stack, and use cases.
Ⅲ. Does this pull request fix one issue?
fixes #NONE (documentation improvement, no specific issue number provided)
Ⅳ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
No tests needed - documentation-only changes. Mermaid syntax validated (7 diagrams, properly closed code blocks).
Ⅴ. Describe how to verify it
doc/architecture.mdon GitHub - Mermaid diagrams render automaticallyVI. Special notes for reviews
Document is comprehensive (314 lines) but information-dense. Each diagram focuses on specific aspect: overall system, controller internals, runtime manager, PD scenario, and key workflows. All text in Chinese as requested.
Checklist
make fmt- N/A for documentationOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.