Repository navigation
Document WSLC runtime architecture - #157
Merged
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The new README architecture section contains a few verifiable inaccuracies (diagram/component responsibilities and repo layout) that should be corrected to avoid misleading maintainers.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Adds a new README section documenting WinContainers’ WSLC-only runtime architecture, with an emphasis on layer boundaries and the key runtime contracts that the rest of the app depends on.
Changes:
- Introduces a “Runtime architecture” section describing the WSLC-only contract and separation of app/service/runtime responsibilities.
- Adds a Mermaid flowchart illustrating the WSLC execution + parsing pipeline and how tests protect key contracts.
- Documents repository boundaries and highlights key runtime components/contracts for maintenance/debugging.
File summaries
| File | Description |
|---|---|
| README.md | Adds runtime architecture documentation (diagram, boundaries, and contract callouts) to clarify the WSLC-only design. |
Review details
Suppressed comments (1)
README.md:102
- This section describes
WslcResourceParseras normalizing container/image data, but that responsibility is implemented inWslcContainerParser. Updating these bullets will keep the runtime contract documentation aligned with the actual code.
- `WslcCommands` is the canonical command builder; it turns app intent into WSLC arguments and is covered by contract tests.
- `WslcResourceParser` handles both JSON and fallback text outputs, normalizing container, image, network, and volume data before it reaches the UI.
- `PortBindingConverter` validates and normalizes published port mappings, including local-only vs LAN-enabled binding behavior.
- Files reviewed: 1/1 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.
Why
WinContainers is intentionally built around a WSLC-only runtime contract, but that design was not clearly documented in the main README. This update makes the architecture, ownership boundaries, and key runtime contracts easier to understand for future maintenance and debugging.
What changed
WslcCommands,WslcContainerParser,WslcResourceParser,PortBindingConverter,ContainerConfigStore, andWslcDriver.Notes
Testing