Control 0.1.55 and Terminal 0.2.8.1 (Control-only release: the app stays 0.2.8, the engine packages 0.1.54)

This commit is contained in:
Niko1221 committed 2026-10-30 00:32:32 +01:00
1 parent d7cb41ba87
commit dbdec0bb9e
4 files changed
+8 -7

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@
# below refuses anything older: silently building for a pre-Ampere arch would produce a binary that runs
# and is wrong about its own performance, which is the worst of both outcomes.
cmake_minimum_required(VERSION 3.24)
project(strata VERSION 0.1.54 LANGUAGES CXX)
project(strata VERSION 0.1.55 LANGUAGES CXX)
# EXPERIMENTAL: the Intel Arc engine, the SYCL port in sycl/ (PR #423; icpx + oneMKL, docs/INTEL_ARC.md). It is its
# own project that takes the unported sources from src/; with this on, nothing below is configured.
option(STRATA_ENABLE_SYCL "EXPERIMENTAL: build the Intel Arc (SYCL) engine from sycl/ - docs/INTEL_ARC.md" OFF)
+1 -1
View File
@@ -7,7 +7,7 @@ SCHEMA_VERSION = 1
#: The version people are told: the Strata app's own (apps/desktop/src-tauri/Cargo.toml `version`; tests/terminal/test_tuiqa_version.py keeps the
#: two equal, except for a Terminal-only release such as 0.2.3.1 or 0.2.4, whose app stays 0.2.3). `version()` below is the files' build number, which the engine-compatibility checks compare, so it stays numeric.
PRODUCT_VERSION = "0.2.8"
PRODUCT_VERSION = "0.2.8.1"
def version() -> str:
+1 -1
View File
@@ -42,7 +42,7 @@ class OldLauncherIsToldTheTruth(unittest.TestCase):
for env in ({"STRATA_NO_ACQUIRE": "1", "STRATA_HANDOVER": "1"}, {}):
done = self.run_version(tree, **env)
self.assertEqual(done.returncode, 0, done.stderr)
self.assertTrue(done.stdout.startswith("strata 0.2.8 (build "), done.stdout)
self.assertTrue(done.stdout.startswith("strata 0.2.8.1 (build "), done.stdout)
elsewhere = self.staged_tree(parent="terminal") # not the updater's staging folder
self.assertEqual(self.run_version(elsewhere, STRATA_NO_ACQUIRE="1").returncode, 0)
+5 -4
View File
@@ -21,12 +21,13 @@ def first(path, pattern):
class VersionBump(unittest.TestCase):
def test_the_terminal_is_0_2_4_2_and_control_is_0_1_49_2_while_the_app_stays_0_2_3(self):
# 0.2.8.1 (Control-only): the Terminal is 0.2.8.1 and Control 0.1.55 (the CMake project version); the app stays 0.2.8 and every engine package 0.1.54 (as 0.2.3.1 did for the Terminal).
# 0.2.8: Terminal and app are 0.2.8; Control and every engine package (Qwen, DeepSeek, Metal, SYCL, aarch64) are 0.1.54 (both engines changed since 0.2.7.1).
# 0.2.7.1 (DGX Spark): Control and the linux-aarch64 engine packages are 0.1.53 (the CMake project version); the app and the Terminal stay 0.2.7, the Metal engine 0.1.52.
# 0.2.7: Terminal and app are 0.2.7; Control and every engine package (Qwen, DeepSeek, Metal) are 0.1.52 (the CMake project version; the Qwen and DeepSeek C++ both changed since 0.2.6)
self.assertEqual(strata_cli.PRODUCT_VERSION, "0.2.8")
self.assertEqual(strata_cli.version(), "0.1.54") # the CMake project version: Control
self.assertEqual(first("CMakeLists.txt", r"^project\(strata VERSION ([0-9.]+) "), "0.1.54")
self.assertEqual(strata_cli.PRODUCT_VERSION, "0.2.8.1")
self.assertEqual(strata_cli.version(), "0.1.55") # the CMake project version: Control
self.assertEqual(first("CMakeLists.txt", r"^project\(strata VERSION ([0-9.]+) "), "0.1.55")
self.assertIn('STRATA_VERSION="0.1.54-metal"', (ROOT / "metal" / "CMakeLists.txt").read_text(encoding="utf-8"))
def test_every_place_the_app_version_lives_says_0_2_3(self):
@@ -49,7 +50,7 @@ class VersionBump(unittest.TestCase):
def test_version_prints_the_product_and_the_build(self):
done = subprocess.run([sys.executable, str(ROOT / "strata.py"), "--version"], capture_output=True, text=True, cwd=str(ROOT),
env={**os.environ, "STRATA_NO_HANDOVER": "1"})
self.assertTrue(done.stdout.startswith("strata 0.2.8 (build 0.1.54;"), done.stdout)
self.assertTrue(done.stdout.startswith("strata 0.2.8.1 (build 0.1.55;"), done.stdout)
class UpdateFromTheLastRelease(test_updater.UpdaterCase):