fix(container): remove devcontainer-file from CONTAINER_RESOURCE_TYPES #10598
@@ -131,7 +131,7 @@ Feature: Execution environment routing
|
||||
Given I import CONTAINER_RESOURCE_TYPES
|
||||
Then it should contain "container-instance"
|
||||
And it should contain "devcontainer-instance"
|
||||
And it should contain "devcontainer-file"
|
||||
And it should not contain "devcontainer-file"
|
||||
And it should not contain "git-checkout"
|
||||
|
||||
# ── ContainerUnavailableError ───────────────────────────────────────
|
||||
|
||||
@@ -81,7 +81,7 @@ def _run_resource_types() -> None:
|
||||
"""Verify container resource types."""
|
||||
assert "container-instance" in CONTAINER_RESOURCE_TYPES
|
||||
assert "devcontainer-instance" in CONTAINER_RESOURCE_TYPES
|
||||
assert "devcontainer-file" in CONTAINER_RESOURCE_TYPES
|
||||
assert "devcontainer-file" not in CONTAINER_RESOURCE_TYPES
|
||||
assert "git-checkout" not in CONTAINER_RESOURCE_TYPES
|
||||
print("resource-types-ok")
|
||||
|
||||
|
||||
@@ -55,7 +55,6 @@ CONTAINER_RESOURCE_TYPES: frozenset[str] = frozenset(
|
||||
{
|
||||
"container-instance",
|
||||
"devcontainer-instance",
|
||||
"devcontainer-file",
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user