Skip to content

Make HeadBranchSha property optional#5328

Merged
premun merged 1 commit into
mainfrom
premun-patch-2
Oct 2, 2025
Merged

Make HeadBranchSha property optional#5328
premun merged 1 commit into
mainfrom
premun-patch-2

Conversation

@premun

@premun premun commented Oct 2, 2025

Copy link
Copy Markdown
Member

This broke deserialization of redis objects that don't have this property yet.

We don't really use it yet, will use it more in future so making it non-required for the time being.

#5325

This broke deserialization of redis objects that don't have this property yet.

We don't really use it yet, will use it more in future so making it non-required for the time being.
Copilot AI review requested due to automatic review settings October 2, 2025 09:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

Makes HeadBranchSha non-required to restore deserialization of previously persisted (Redis) objects that do not contain this property yet.

  • Removed the required modifier from HeadBranchSha to allow older cached data to deserialize.
  • No accompanying nullability or documentation update to reflect new optional status.

@premun premun merged commit 30c4f7a into main Oct 2, 2025
9 checks passed
@premun premun deleted the premun-patch-2 branch October 2, 2025 10:33
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.

3 participants