delete source widgets for current sync update - #1114
Merged
Conversation
sssoleileraaa
force-pushed
the
fix-sourcelist-update-bug
branch
from
June 16, 2020 22:43
3996fc5 to
d2a6f46
Compare
sssoleileraaa
force-pushed
the
fix-sourcelist-update-bug
branch
from
June 17, 2020 06:41
d2a6f46 to
844a683
Compare
sssoleileraaa
force-pushed
the
fix-sourcelist-update-bug
branch
from
June 17, 2020 07:05
844a683 to
95a0670
Compare
redshiftzero
previously requested changes
Jun 17, 2020
redshiftzero
dismissed
their stale review
June 18, 2020 21:44
Dismissing my review so other folks can take over review. Most of my comments were addressed already!
sssoleileraaa
force-pushed
the
fix-sourcelist-update-bug
branch
from
June 19, 2020 00:55
9b0c1fb to
e2d9fab
Compare
Contributor
Author
|
Even though everything is green and passes, I'd like to work on adding regression tests around widgets not getting added to the cache to prevent the issue that @redshiftzero found earlier from happening again: #1114 (review) |
Contributor
Author
I believe at this point, I've addressed all of @redshiftzero's review comments. So this is ready for a second pass. |
kushaldas
approved these changes
Jun 23, 2020
kushaldas
left a comment
Contributor
There was a problem hiding this comment.
Tested with the following:
- Verify #1113 is fixed by following the STR there
- Verify #1117 is fixed by following the STR there
- Verify #1116 is fixed by following the STR
- Verify that we surround all access of db object properties in try-catch blocks in the
SourceList.updatemethod to confirm second half of issue 1 and 8 documented here: #906 (comment) - Verify that test
test_SourceList_update_when_source_deletedpasses and that the rewrite makes sense (because if this makes sense then the refactor I made will make sense)
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Test Plan
SourceList.updatemethod to confirm second half of issue 1 and 8 documented here: Potential crashes between source deletion and accessing source in the gui #906 (comment)test_SourceList_update_when_source_deletedpasses and that the rewrite makes sense (because if this makes sense then the refactor I made will make sense)Regression test
make devChecklist
If these changes modify code paths involving cryptography, the opening of files in VMs or network (via the RPC service) traffic, Qubes testing in the staging environment is required. For fine tuning of the graphical user interface, testing in any environment in Qubes is required. Please check as applicable:
If these changes add or remove files other than client code, the AppArmor profile may need to be updated. Please check as applicable:
If these changes modify the database schema, you should include a database migration. Please check as applicable:
masterand confirmed that the migration applies cleanlymasterand would like the reviewer to do so