From 90c5be3a13f64aff04be7eb85268ddd49f645e67 Mon Sep 17 00:00:00 2001 From: fang Date: Tue, 6 Jan 2026 23:31:09 -0800 Subject: [PATCH] test: update version threshold in TestCheckMetadataVersionTracking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test for "slightly outdated version" was using 0.35.0, which is now 10 minor versions behind the current 0.45.0. This exceeds the threshold for "very old" (>=10 minor versions), causing the test to fail. Updated the test version from 0.35.0 to 0.43.0 to stay within the "slightly outdated" range (2 minor versions behind). (bd-iw11) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- cmd/bd/doctor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/bd/doctor_test.go b/cmd/bd/doctor_test.go index bd757ab7..1430a9a1 100644 --- a/cmd/bd/doctor_test.go +++ b/cmd/bd/doctor_test.go @@ -924,7 +924,7 @@ func TestCheckMetadataVersionTracking(t *testing.T) { name: "slightly outdated version", setupVersion: func(beadsDir string) error { // Use a version that's less than 10 minor versions behind current - return os.WriteFile(filepath.Join(beadsDir, ".local_version"), []byte("0.35.0\n"), 0644) + return os.WriteFile(filepath.Join(beadsDir, ".local_version"), []byte("0.43.0\n"), 0644) }, expectedStatus: doctor.StatusOK, expectWarning: false,