-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix duplicate database change event send on Library.add #5561
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
Conversation
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
10fe249
to
c507b1b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a useful bugfix. It looks reasonable to me but I'm a little out of my depth here and since it's rather small to review would ask for your opinions @snejus and @wisp3rwind if you have a minute or two?
313ed8d
to
dfb9e42
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates! Please for documentation's sake update the description with the final state. Other than that I think this is good to go :-)
I'm also not very familiar with the intricacies of Regarding the Small nitpicks:
|
Thanks for the review! I'll address those nitpicks when I have a chance. I agree smaller PRs would have been better. This was a case of setting out to fix one thing and stumbling into some other improvements along the way, and by the time I'd done what I actually intended in the first place it was tangled up with the other stuff. I would like to be more disciplined about this and sometimes I am, but it's easier when I'm more familiar with the codebase. |
Fixed:
|
except conflict resolving, this is good to go. thanks for the input @wisp3rwind , I agree that splitting concerns would be the best approach. this time it's certainly ok like it is. |
Hi @valrus do you find time to rebase this to current changes? I gave it a rebase-try but a lot of things changed around things you touched and I'm running out of time. You probably are quicker doing it, since you know your changes best. Maybe you want to rebase/squash/drop/re-commit things. The whole history of things that were asked to be changed is not required in the end and will make rebasing easier 👍 |
And appologies for not reacting earlier, which would have prevented a lot of conflicts in the first place. I'm moving my home to a new flat and don't have much FOSS time is the excuse ;-) |
8400c32
to
2776c52
Compare
@JOJ0 I've rebased it. Sorry for the delay; I was out of town. No sweat about the initial delay; we're all busy :) |
2776c52
to
1221056
Compare
can you rebase to fewer commits? removing the ones that were not part of the final solution. For example the kwarg you removed in a later commit again? sorry more work but I stumbled across them again while rereading commits one by one. Thanks!!! 🙏 |
Alternatively, you could squash-merge the PR :) |
I had that idea but wasn't sure about it because there are at least two different things in this PR. And in case bugs happen later pinpointing to/reverting one commit/thing would be easier. But actually the test hidden fix is not a big deal and most probably correct. So yes I agree let's finally merge it and we all can move on :-) |
Description
Fixes #5560. Also a couple other incidental changes / improvements:
EventType
that holds the actual string literals used for event sending. With type checking, this can prevent subtle bugs resulting from misspelled event names.test_hidden
by usingbytestring_path()
To Do
Documentation.