Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GO-4373: Remove sync relations #1740

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Conversation

mcrakhman
Copy link
Contributor


  • I understand that contributing to this repository will require me to agree with the CLA

Description

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 📓 tech-docs
  • 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

Copy link

github-actions bot commented Oct 25, 2024

New Coverage 49.2% of statements
Patch Coverage 12.5% of changed statements (2/16)

Coverage provided by /~https://github.com/seriousben/go-patch-cover-action

@@ -233,10 +237,25 @@ func (u *syncStatusUpdater) setSyncDetails(sb smartblock.SmartBlock, status doma
if !slices.Contains(helper.SyncRelationsSmartblockTypes(), sb.Type()) {
return nil
}
var st *state.State
Copy link
Member

Choose a reason for hiding this comment

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

st := sb.NewState()?

@mcrakhman mcrakhman merged commit 5d5a711 into main Oct 28, 2024
5 checks passed
@mcrakhman mcrakhman deleted the GO-4373-remove-sync-relations branch October 28, 2024 09:39
@github-actions github-actions bot locked and limited conversation to collaborators Oct 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants