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

Change interface of realm_sync_immediately_run_file_actions to report… #6117

Merged
merged 3 commits into from
Dec 14, 2022

Conversation

nielsenko
Copy link
Contributor

@nielsenko nielsenko commented Dec 14, 2022

Change C-api to actually report success or failure of SyncManager::immediately_run_file_actions. The return value is reserved for reporting exceptions, so result is reported on a new third bool* did_run argument.

☑️ ToDos

  • 📝 Changelog update
  • 🚦 Tests (or not relevant)
  • C-API, if public C++ API changed.

@nielsenko nielsenko requested a review from nicola-cab December 14, 2022 07:50
@nielsenko nielsenko force-pushed the kn/fix-realm_sync_immediately_run_file_actions branch from 1944f44 to f60b36b Compare December 14, 2022 07:51
@cla-bot cla-bot bot added the cla: yes label Dec 14, 2022
@nielsenko nielsenko self-assigned this Dec 14, 2022
@blagoev
Copy link
Contributor

blagoev commented Dec 14, 2022

@nielsenko will need a change in the tests as well

Copy link
Member

@nicola-cab nicola-cab left a comment

Choose a reason for hiding this comment

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

You need to fix the format checks.

@nielsenko nielsenko force-pushed the kn/fix-realm_sync_immediately_run_file_actions branch from 505f0e9 to d38b8cb Compare December 14, 2022 13:42
@nirinchev
Copy link
Member

Note that due to #6050, you may continue seeing issues with manual reset.

@nielsenko nielsenko merged commit 2d91d84 into master Dec 14, 2022
@nielsenko nielsenko deleted the kn/fix-realm_sync_immediately_run_file_actions branch December 14, 2022 15:23
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants