Skip to content

Conversation

@linearbci
Copy link
Collaborator

✨ PR Description

Purpose: Implement graceful error handling for deleted branch scenarios during workflow execution to prevent crashes and improve system reliability.

Main changes:

  • Added branch deletion detection logic that identifies Git errors indicating missing or deleted branches
  • Implemented graceful exit mechanism that logs warnings and exits cleanly instead of crashing when branches are deleted
  • Created comprehensive error handling for branch deletion in both context retrieval and Git command execution paths

CHANGELOG

🔧 Improvements

  • Workflows now exit gracefully when branches are deleted during execution instead of crashing

Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how

@linearbci linearbci added the auto-deploy when exists in PR, will auto make release and auto deploy to prod label Jan 18, 2026
@linearbci linearbci requested a review from yeelali14 January 18, 2026 10:01
Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed OSS Licenses high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

Copy link
Contributor

@yeelali14 yeelali14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yeelali14 yeelali14 merged commit 9df1bd8 into develop Jan 18, 2026
10 checks passed
@yeelali14 yeelali14 deleted the bump-gitstream-core-to-2.1.246 branch January 18, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 min review auto-deploy when exists in PR, will auto make release and auto deploy to prod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants