- Introduce new unit test targets for Workspace and Sandbox V2 integration in the Makefile, ensuring comprehensive testing of the new features. - Update CI workflows to support MongoDB service for Sandbox V2 tests and improve Docker image handling. - Implement Workspace as a first-class entity, allowing for persistent storage decoupled from container lifecycles. - Enhance the Box struct to manage workspace IDs and update related methods for improved functionality. - Refactor tests to accommodate new Workspace features, ensuring robust testing of the integration. These changes significantly improve the testing framework and functionality of the Sandbox V2, enhancing the overall architecture and user experience.
10 lines
315 B
Go
10 lines
315 B
Go
package workspace
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrNotFound = errors.New("workspace: not found")
|
|
ErrNodeMissing = errors.New("workspace: node is required")
|
|
ErrNodeOffline = errors.New("workspace: node is offline or not configured")
|
|
ErrHasMounts = errors.New("workspace: workspace has active container mounts")
|
|
)
|