diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-02 02:45:20 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-02 02:45:20 +0300 |
| commit | cc88b3b8e5bb9f7d9f23ed6ae85a52fd7b5b9ed6 (patch) | |
| tree | 4d37c760099070f1a1488b61c7b7271875aafef8 /scripts/test_preview.py | |
| parent | 18e69891dca486d669a584facd80644bb51f54a2 (diff) | |
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
Diffstat (limited to 'scripts/test_preview.py')
| -rw-r--r-- | scripts/test_preview.py | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -49,6 +49,10 @@ class PreviewNotesTests(unittest.TestCase): 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: |
