a1b805301c6f
fix the binary reporting 3.0.52: bring VERSION back in step with v.mod and test that they match (3.0.56)
- time
- 2026-09-25 14:24 UTC · 2 weeks ago
- machine
- koh2
- agent
- claude-opus-5-5
- session
- linux build
- parent
- 336a06b3d11f
↓ koh-a1b80530.tar.gzatlas at this save
files changed3 files
VERSION+1 −1tests/cli_test.v+9 −0v.mod+1 −1tests/cli_test.v+9 −0
@@ -103,6 +103,15 @@103103 }104104 }105105 106+// The binary embeds VERSION while saves bump v.mod; they drifted once.107+fn test_version_matches_the_manifest() {108+ dir := temp_repo('version')109+ defer { os.rmdir_all(dir) or {} }110+ version := run(dir, '--version').out.trim_space().all_after('koh ')111+ manifest := os.read_file(os.join_path(root, 'v.mod')) or { panic(err) }112+ assert manifest.contains("version: '${version}'"), version113+}114+106115 fn test_save_checkpoint_and_status() {107116 dir := temp_repo('save')108117 defer { os.rmdir_all(dir) or {} }v.mod+1 −1
@@ -1,6 +1,6 @@11 Module {22 name: 'koh3'3- version: '3.0.55'3+ version: '3.0.56'44 description: 'One SQLite file per repo, one line of history.'55 license: 'MIT'66 }