Sandbox pools in sfp are designed to provide instantly available Salesforce environments for development, testing, and review processes. By maintaining a pool of pre-created sandboxes, teams can significantly reduce wait times and streamline their development workflows.
Key Benefits
Immediate Availability: Eliminate waiting times for sandbox creation, allowing developers to start work instantly.
Reduced Overhead: Minimize the administrative burden of creating and managing individual sandboxes for each task.
Consistent Environment: Ensure all team members work with standardized, pre-configured sandbox environments.
Seamless Integration: Easily incorporate sandbox allocation into automated CI/CD pipelines and development workflows.
Sandbox Lifecycle
The following diagram illustrates the lifecycle of a sandbox within a pool:
{% @mermaid/diagram content="stateDiagram-v2 [] --> Created: Init (sfp pool sandbox init) Created --> Available: Monitor (sfp pool sandbox monitor) Available --> InUse: Fetch (sfp pool sandbox fetch) InUse --> Available: Lease Expired (sfp pool sandbox fetch) Available --> Extended: Extend (sfp pool sandbox extend) Extended --> Available: Extension Expired (sfp sandbox monitor) Available --> Expired: Monitor( sfp pool sandbox monitor ) Extended --> Expired: Monitor ( sfp pool sandbox monitor) Expired --> [] " %}
Commands Overview
1. Sandbox Pool Initialization
sfp pool sandbox init -f <path/to/config-file> -v <devhub-alias> -r <owner/repo>
Initializes sandbox pools based on configuration files.