This content is part of an upcoming preview program. Request early access
Quick Start
Get started with Flow Sandbox in minutes
Flow Sandbox provides an isolated environment for developing, testing, and debugging Blazing Flow workflows without affecting production systems.
What is Flow Sandbox?
Flow Sandbox is an isolated workflow orchestration environment that lets you:
- Test workflows without affecting production
- Debug issues with detailed execution traces
- Develop faster with instant feedback
- Validate changes before deploying to production
- Replay scenarios to reproduce and fix bugs
Prerequisites
Before you begin, ensure you have:
- A Blazing Core account
- Blazing CLI installed (
npm install -g @blazing/cli) - Basic understanding of Blazing Flow
- Node.js 18+ or Python 3.8+
Installation
Install Blazing CLI
Authenticate
Create Your First Sandbox
1. Initialize Sandbox
Create a new sandbox environment:
This creates an isolated environment with:
- Dedicated workflow executor
- Isolated state store
- Separate event queue
- Independent metrics
2. Configure Sandbox
Create a sandbox.yaml configuration:
Apply the configuration:
3. Deploy Workflow to Sandbox
Deploy a test workflow:
Deploy to sandbox:
4. Run Workflow in Sandbox
Execute the workflow:
You'll see real-time execution output:
5. Inspect Execution
View detailed execution trace:
This shows:
- Task execution timeline
- Input/output for each task
- State changes
- Error details (if any)
- Resource usage
Development Workflow
Local Development
Run sandbox locally for faster iteration:
Testing Workflows
Write tests using the sandbox:
Run tests:
Debugging Workflows
Enable debug mode for detailed logging:
Sandbox Modes
Isolated Mode (Default)
Complete isolation from production:
- Workflows run in complete isolation
- No interaction with production systems
- Safe for testing breaking changes
Mirror Mode
Mirror production events for testing:
- Receive copy of production events
- Test with real data patterns
- Validate changes against live traffic
Hybrid Mode
Combine isolation with selective production integration:
Environment Management
Create Multiple Sandboxes
Create sandboxes for different purposes:
List Sandboxes
Output:
Switch Between Sandboxes
Data Management
Reset Sandbox State
Clear all state and start fresh:
Export Sandbox Data
Export workflow executions for analysis:
Import Test Data
Load test data into sandbox:
Integration with CI/CD
GitHub Actions
Best Practices
1. Use Descriptive Names
2. Set Resource Limits
3. Auto-Cleanup
4. Use Version Control
Next Steps
Troubleshooting
Sandbox won't start
Check resource quotas:
Workflows fail in sandbox but work in production
Compare configurations:
Slow execution in sandbox
Increase parallelism:
Getting Help
- Join our Discord community
- Check the Flow Sandbox documentation
- Contact support at support@blazing.run