feat(deploy): promote publish-path provider authority
This commit is contained in:
@@ -101,7 +101,7 @@ class EngineProviderAuthorityDiagnosticsTest(unittest.TestCase):
|
||||
),
|
||||
):
|
||||
result = RUNNER.preflight_engine_provider_authority_diagnostics_predecessor()
|
||||
self.assertEqual(result["mode"], "exact-provider-authority-reason-codes")
|
||||
self.assertEqual(result["mode"], "publish-path-scoped-provider-request-authority")
|
||||
|
||||
with (
|
||||
mock.patch.object(RUNNER, "component_root", return_value=root),
|
||||
@@ -134,9 +134,9 @@ class EngineProviderAuthorityDiagnosticsTest(unittest.TestCase):
|
||||
RUNNER.run_healthchecks("engine", entries, ("nodedc-backend",))
|
||||
acceptance.assert_called_once_with()
|
||||
|
||||
def test_live_acceptance_uses_exact_reason_code_contract(self):
|
||||
def test_live_acceptance_uses_publish_path_scoped_authority_contract(self):
|
||||
self.require_historical_target()
|
||||
expected_live = "engine-provider-authority-diagnostics:exact-reason-codes:v1"
|
||||
expected_live = "engine-provider-authority:publish-path-scoped:v2"
|
||||
with (
|
||||
mock.patch.object(RUNNER, "component_root", return_value=ENGINE_ROOT),
|
||||
mock.patch.object(RUNNER, "engine_backend_container_id", return_value="backend"),
|
||||
@@ -148,7 +148,7 @@ class EngineProviderAuthorityDiagnosticsTest(unittest.TestCase):
|
||||
):
|
||||
result = RUNNER.accept_engine_provider_authority_diagnostics_runtime()
|
||||
self.assertEqual(result["live"], expected_live)
|
||||
self.assertEqual(backend_probe.call_args.args[1], "Engine provider authority diagnostics")
|
||||
self.assertEqual(backend_probe.call_args.args[1], "Engine provider publish-path authority")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user