fix(resource): add overlay to ResourceTypeConfigSchema._VALID_STRATEGIES #3846
@@ -895,3 +895,9 @@ Feature: Consolidated Resource
|
||||
Given a resource type YAML with sandbox_strategy "overlay"
|
||||
When I load the resource type via from_yaml
|
||||
Then the loaded schema sandbox_strategy should be "overlay"
|
||||
|
||||
|
||||
Scenario: Invalid sandbox_strategy error message lists overlay as allowed
|
||||
Given a resource type YAML with invalid sandbox_strategy
|
||||
When I try to load the resource type via from_yaml
|
||||
Then the schema loader should fail with "overlay"
|
||||
|
||||
@@ -81,8 +81,8 @@ class SandboxStrategyRegistry:
|
||||
:class:`SandboxStrategyProtocol` at registration time.
|
||||
|
||||
Built-in strategies (``none``, ``git_worktree``, ``copy_on_write``,
|
||||
``transaction_rollback``) are not managed by this registry; they
|
||||
are handled by :class:`SandboxFactory`.
|
||||
``transaction_rollback``, ``snapshot``, ``overlay``) are not managed
|
||||
by this registry; they are handled by :class:`SandboxFactory`.
|
||||
|
||||
Usage::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user