You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ignoring CodeRabbit configuration file changes. For security, only the configuration from the base branch is applied for open source repositories.
Walkthrough
PR removes automated sandbox lifecycle management infrastructure (start-sandbox.ts, vitest.setup.ts) and vitest globalSetup configuration, replacing them with local network testing approach. Adds node URL resolution utilities and updates documentation for local development.
Deleted automated sandbox setup lifecycle. Removed startSandbox() function that spawned Aztec CLI process and monitored readiness, and removed global setup hook that executed sandbox initialization before tests.
Local Network Utilities src/ts/test/utils.ts
Added LOCAL_NETWORK_DEFAULT_PORT constant (8080), DEFAULT_NODE_URL construction, and getNodeUrl() helper function for centralized node URL resolution via NODE_URL env var or default fallback.
Removed vitest globalSetup option and updated CI/CD workflow notes from sandbox-based to local network-based testing. Updated comment references from "sandbox tests" to "local network tests".
Documentation README.md
Added Development section with prerequisites, test execution instructions, benchmark commands, and NODE_URL override documentation.
Estimated code review effort
🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
chore: v4.0.0-devnet.1-patch.0 #264: Directly inverse changes—adds start-sandbox.ts, vitest.setup.ts, and globalSetup configuration that this PR removes.
Suggested reviewers
0xShaito
ilpepepig
🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name
Status
Explanation
Resolution
Description check
⚠️ Warning
The description is incomplete with only template placeholders filled; the actual changes and rationale are entirely missing.
Provide a detailed description explaining why the sandbox setup was removed, what the local-network approach offers, and any migration implications for developers.
✅ Passed checks (2 passed)
Check name
Status
Explanation
Title check
✅ Passed
The title directly describes the main changes: removing vitest setup and switching to local-network mode instead of sandbox.
Docstring Coverage
✅ Passed
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing Touches
📝 Generate docstrings
🧪 Generate unit tests (beta)
Create PR with unit tests
Post copyable unit tests in a comment
Commit unit tests in branch fix/vitest-setup
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
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
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.
🤖 Linear
Closes AZT-XXX
Description
Summary by CodeRabbit
Documentation
Tests