Conversation
…ust build Replace the ~8 min Rust compilation path (rustup + maturin + git source) with a simple pip install from PyPI. coordinode-embedded ships pre-built manylinux wheels so Colab users get the package in ~30 sec with no Rust toolchain required. Also update README timing note.
📝 WalkthroughSummary by CodeRabbit
WalkthroughThis PR updates the README and four demo notebooks to reflect that Google Colab now installs ChangesColab Setup Simplification
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Review rate limit: 3/5 reviews remaining, refill in 20 minutes and 13 seconds. Comment |
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@demo/notebooks/03_langgraph_agent.ipynb`:
- Around line 30-42: Restore the git-pinned SDK spec used for Colab to avoid
proto mismatches: introduce a variable named _coordinode_spec that selects the
git+https URL with the specific commit SHA when IN_COLAB and "coordinode"
otherwise, replace the plain "coordinode" entry in the pkgs list with
_coordinode_spec, and ensure subprocess.run (the pip install call that consumes
pkgs) installs the _coordinode_spec and still prefixes with
"coordinode-embedded" when IN_COLAB as before.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: 9030cff1-3976-4873-a014-7266377f89e7
📒 Files selected for processing (5)
README.mddemo/notebooks/00_seed_data.ipynbdemo/notebooks/01_llama_index_property_graph.ipynbdemo/notebooks/02_langchain_graph_chain.ipynbdemo/notebooks/03_langgraph_agent.ipynb



Problem
All 4 Colab notebooks installed
coordinode-embeddedby:rustup(~2 min)maturin(~30 sec)coordinode-embeddedfrom git source (~5 min)Total: ~8 minutes of compilation on every new Colab runtime.
Fix
Replace the entire rustup/Rust/maturin/protoc block with a single
pip install coordinode-embeddedfrom PyPI. The release workflow publishes pre-built manylinux wheels for Linux x86_64 (which is what Colab runs), so installation takes ~30 sec.Also updated README timing note and markdown descriptions in all 4 notebooks.