fix(doctor): exclude merge artifacts from multiple JSONL warning
Add .base.jsonl, .left.jsonl, and .right.jsonl patterns to the skip list in CheckLegacyJSONLFilename. These are legitimate git merge conflict artifacts that should not trigger a warning about multiple JSONL files. Fixes: bd-nsb 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -231,6 +231,18 @@ func TestCheckLegacyJSONLFilename(t *testing.T) {
|
||||
expectedStatus: "ok",
|
||||
expectWarning: false,
|
||||
},
|
||||
{
|
||||
name: "merge artifacts ignored",
|
||||
files: []string{"issues.jsonl", "issues.base.jsonl", "issues.left.jsonl"},
|
||||
expectedStatus: "ok",
|
||||
expectWarning: false,
|
||||
},
|
||||
{
|
||||
name: "merge artifacts with right variant ignored",
|
||||
files: []string{"issues.jsonl", "issues.right.jsonl"},
|
||||
expectedStatus: "ok",
|
||||
expectWarning: false,
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
||||
Reference in New Issue
Block a user