From cc88b3b8e5bb9f7d9f23ed6ae85a52fd7b5b9ed6 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Wed, 2 Sep 2026 02:45:20 +0300 Subject: feat: add stable client endpoint compatibility (#3509) * feat: add stable client endpoint compatibility * fix: keep portable-pty patch checks composable * ci: run maintenance checks in pull requests * fix: reject endpoint errors from terminal clients * feat: keep compatible servers running across updates --- scripts/test_preview.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scripts/test_preview.py') diff --git a/scripts/test_preview.py b/scripts/test_preview.py index 0f586437..d3613d83 100644 --- a/scripts/test_preview.py +++ b/scripts/test_preview.py @@ -48,6 +48,10 @@ class PreviewNotesTests(unittest.TestCase): data = json.loads(content) self.assertEqual(data["channel"], "preview") self.assertEqual(data["build_id"], "2026-06-02-abcdef123456") + self.assertEqual( + data["endpoint_generation"], + preview.read_endpoint_protocol_generation(), + ) self.assertEqual( data["assets"]["linux-x86_64"]["sha256"], "deadbeef", @@ -62,6 +66,10 @@ class PreviewNotesTests(unittest.TestCase): ) self.assertEqual(data["assets"]["windows-x86_64"]["format"], "zip") self.assertIn("2026-06-02-abcdef123456", data["builds"]) + self.assertEqual( + data["builds"]["2026-06-02-abcdef123456"]["endpoint_generation"], + preview.read_endpoint_protocol_generation(), + ) def test_windows_preview_asset_requires_sha256(self): with tempfile.TemporaryDirectory() as tmp: -- cgit v1.2.3