Skip to content

fix(source-control): stop branch-issue resolution on an unusable layer (#4673) - #4760

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/4673-branch-issue-stop-37e9
Sep 28, 2026
Merged

cursor[bot] merged 1 commit into
mainfrom
cursor/4673-branch-issue-stop-37e9

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Closes #4673

Summary

Decision: stop (fail closed). A layer whose ## branch_issue_pattern exists but yields no usable pattern stops resolution (no stdout, exit 1, “resolution stopped”) instead of falling through to a wrong Closes #N. Declared exception to config-cascade soft-degrade. Empty sections also stop. source-control → 0.62.0.

Fix

  • parse-branch-issue.sh + tests (64/0); docs that said “skipped”; config-cascade Declared entry.

Verification

Related

Open in Web Open in Cursor 

#4673)

A layer whose ## branch_issue_pattern section exists but yields no usable
pattern now stops resolution (no stdout, exit 1, note containing
'resolution stopped') instead of falling through to a lower layer, the
userConfig, or the default, any of which could put the wrong number on a
Closes #N line. A malformed userConfig value is still ignored.

Declares the fail-closed stop as a config-cascade deviation from the
degrade-soft rule. source-control 0.61.5 -> 0.62.0.

Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

PR body contract — issue linkage

This PR body conforms to the issue-linkage contract. Nothing to do.

@cursor
cursor Bot marked this pull request as ready for review September 28, 2026 02:25
@cursor
cursor Bot merged commit 7f1608e into main Sep 28, 2026
40 checks passed
@cursor
cursor Bot deleted the cursor/4673-branch-issue-stop-37e9 branch September 28, 2026 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(source-control): stop branch-issue resolution on an unusable layer

2 participants