feat(configs): add devcontainer config for reproducible dev and cross-platform code track#3656
Open
jiengup wants to merge 4 commits into
Open
feat(configs): add devcontainer config for reproducible dev and cross-platform code track#3656jiengup wants to merge 4 commits into
jiengup wants to merge 4 commits into
Conversation
|
Thanks for the PR. It is labeled Slash commands (own line, regular comment) move it around the queue:
See CONTRIBUTING.md for details. |
Author
|
/ready |
slbotbm
requested changes
Jul 12, 2026
Contributor
|
/author |
Author
|
/ready |
hubcio
requested changes
Jul 13, 2026
d94216d to
a53a2bb
Compare
Author
|
/ready |
Contributor
|
/author |
cross-platform code track. Provide a consistent development environment with the pinned Rust toolchain, build dependencies, and VS Code extensions to reduce contributor setup overhead and ensure reproducibility.
3e27329 to
f5c85ce
Compare
sync-rustc-version.sh
Author
|
/ready |
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.
Which issue does this PR address?
Relates to NONE
Rationale
The repository lacked a devcontainer configuration, making onboarding inconsistent — each developer needs to manually install the correct Rust toolchain, Node.js, and system dependencies.
Moreover, for local development on other platforms (e.g, macOS), the
compio-driverwill fallback topollinstead ofio-uring, which will make source code tracing difficult and different from iggy design.On GitHub Codespaces, the default 8GB machine ran out of memory during rust-analyzer indexing, causing repeated SIGTERM crashes.
What changed?
Added
.devcontainer/Dockerfileand.devcontainer/devcontainer.jsonthat:hostRequirements(4-core / 16GB) to prevent rust-analyzer OOM kills on Codespaces.CARGO_BUILD_JOBS=4) and enable proc-macros/build-scripts for usable IDE features while staying within memory limits.npm --prefix web cion container creation so the web frontend is ready immediately.Local Execution
cargo checksucceeds, rust-analyzer code navigation (Go to Definition / autocomplete) works.compio.Screenshot (Github Codespace)
AI Usage
LLM is used to generate the devcontainer configuration files and all the changes are checked by the human.