Skip to content

feat(devx): add devcontainer with pinned Rust, Node, Python, and Noir… - #1009

Open
ugoocreates-pixel wants to merge 1 commit into
harpocrates-stellar:mainfrom
ugoocreates-pixel:feat/devx-devcontainer
Open

ugoocreates-pixel wants to merge 1 commit into
harpocrates-stellar:mainfrom
ugoocreates-pixel:feat/devx-devcontainer

Conversation

@ugoocreates-pixel

Copy link
Copy Markdown
Contributor

Summary

This PR adds a development container configuration (.devcontainer) with all pinned toolchains preinstalled, eliminating friction and fighting with WSL/local environment setups:

  • Rust toolchain (1.85.0) with wasm32-unknown-unknown and wasm32v1-none targets, plus clippy, rustfmt, and llvm-tools-preview.
  • Stellar CLI for Soroban smart contract building and deployment.
  • Node.js (22.x) matching workspace engine specifications.
  • Python (3.12) with python3-venv and development packages.
  • Noir & Barretenberg pinned versions strictly matching zk/toolchain.lock.json (nargo 1.0.0-beta.9, bb 0.87.0).
  • Post-create setup script (.devcontainer/post-create.sh) automatically running npm ci in frontend/ and cli/, creating a Python virtual environment with dependencies for backend/, and executing devx/check_dependency_pins.py.
  • Documentation in CONTRIBUTING.md detailing Dev Container usage.
  • CI Workflow (.github/workflows/devcontainer-ci.yml) providing a build-only image verification, exact nargo / bb version assertions against the lockfile, and smoke tests across all repository workspaces.

Closes #758

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(devx): add a devcontainer with pinned Rust, Node, Python and Noir toolchains

1 participant