Complete name-first 1C adapter saved-state support

This commit is contained in:
2026-07-26 16:39:53 +03:00
parent b8c62fa8fa
commit aed134d817
44 changed files with 15436 additions and 697 deletions
@@ -13,3 +13,12 @@ def test_rest_deploy_refuses_to_drop_service_authentication() -> None:
assert "Reusing the existing REST service token without printing or persisting it" in source
assert "Refusing to deploy an unauthenticated adapter" in source
assert source.index("Ensure-RestServiceToken") < source.index("Invoke-ComposeUp `", source.index("try {"))
def test_deploy_can_forward_complete_saved_state_write_smoke_skip() -> None:
source = (ROOT / "scripts" / "deploy_1c_adapter_stack.ps1").read_text(encoding="utf-8-sig")
assert "[switch]$SkipSavedStateWriteSmoke" in source
assert "[switch]$SkipCodeWriteSavedStateSmoke" in source
assert '$verifyCommand += "-SkipSavedStateWriteSmoke"' in source
assert '$verifyCommand += "-SkipCodeWriteSavedStateSmoke"' in source