Skip to content

Improve file changed notification #3462

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

Merged
merged 3 commits into from
Sep 19, 2024
Merged

Conversation

amolenaar
Copy link
Member

@amolenaar amolenaar commented Aug 24, 2024

PR Type

What kind of change does this PR introduce?

  • Bug fix
  • Feature
  • Chore (refactoring, formatting, local variables, other cleanup)
  • Documentation content changes

What is the current behavior?

Issue Number: Fixes #3330

What is the new behavior?

  • Moved all code that deals with file checks to one service.
  • Check the file hash digest before announcing the file actually changed.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

This should fix cases where we get a monitor event late,
or delayed.
@github-actions github-actions bot added the python Pull requests that update Python code label Aug 24, 2024
@amolenaar amolenaar requested a review from danyeaw August 24, 2024 20:02
@danyeaw danyeaw added fix A fix for a bug and removed python Pull requests that update Python code labels Sep 1, 2024
@danyeaw
Copy link
Member

danyeaw commented Sep 11, 2024

Hi @amolenaar, are any updates needed to this PR so that it passes CI?

@amolenaar
Copy link
Member Author

I still have to fix the tests.

@github-actions github-actions bot added the python Pull requests that update Python code label Sep 11, 2024
@amolenaar amolenaar force-pushed the improve-file-changed-notification branch from feea467 to 928618a Compare September 11, 2024 19:42
Copy link
Member

@danyeaw danyeaw left a comment

Choose a reason for hiding this comment

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

Thanks @amolenaar, nice fix!

@danyeaw danyeaw merged commit 5253b81 into main Sep 19, 2024
21 of 22 checks passed
@danyeaw danyeaw deleted the improve-file-changed-notification branch September 19, 2024 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix A fix for a bug python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Diagram has changed on disk" when saving a file to OneDrive on Windows
2 participants