From a3f5e87cb7631ec8d4fc4187e02109ca45a19f58 Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Sat, 21 Mar 2026 10:20:05 -0600 Subject: [PATCH] fix: update doctor-git test to match PR #1633 behavior change integration_branch_missing is now auto-fixable (fallback to main branch detection) with warning severity, not error. Test expectations updated. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/resources/extensions/gsd/tests/doctor-git.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resources/extensions/gsd/tests/doctor-git.test.ts b/src/resources/extensions/gsd/tests/doctor-git.test.ts index 637900d7a..9942d67bf 100644 --- a/src/resources/extensions/gsd/tests/doctor-git.test.ts +++ b/src/resources/extensions/gsd/tests/doctor-git.test.ts @@ -318,8 +318,8 @@ async function main(): Promise { missingBranchIssues[0]?.message.includes("feat/does-not-exist"), "message includes the missing branch name", ); - assertEq(missingBranchIssues[0]?.fixable, false, "integration_branch_missing is not auto-fixable"); - assertEq(missingBranchIssues[0]?.severity, "error", "severity is error"); + assertEq(missingBranchIssues[0]?.fixable, true, "integration_branch_missing is auto-fixable via fallback"); + assertEq(missingBranchIssues[0]?.severity, "warning", "severity is warning (fallback available)"); } } else { console.log("\n=== integration_branch_missing (skipped on Windows) ===");