fix(resource): add overlay to ResourceTypeConfigSchema._VALID_STRATEGIES #3846

Merged
HAL9000 merged 1 commits from bugfix/backlog-resource-schema-missing-overlay-strategy into master 2026-05-30 20:44:32 +00:00
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -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::