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
Sync needles when caching is enabled #1381
Sync needles when caching is enabled #1381
Conversation
I basically duplicated the code from isotovideo engine. May be it calls for refactoring, but for now it seems to do the job. /cc @okurz @Zaoliang |
As discussed with @foursixnine -1 from me |
Great. You found a way to make it work and you know how to test. Now to reduce the duplication I suggest to implement that call as a isotovideo RPC command which can then be called from all locations where necessary. |
6e9d453
to
6565909
Compare
Codecov Report
@@ Coverage Diff @@
## master #1381 +/- ##
===========================================
+ Coverage 75.27% 88.47% +13.19%
===========================================
Files 105 105
Lines 7936 7945 +9
===========================================
+ Hits 5974 7029 +1055
+ Misses 1962 916 -1046
Continue to review full report at Codecov.
|
Actually, interactive mode with caching is IMO just nice to have. So refactor with ease |
4c7cb1d
to
d09e1fe
Compare
Time to work on a full-stack-ui test suite? |
the whole idea of the full stack test was born to be able to test the interactive mode at all. But I never came around it, because https://progress.opensuse.org/issues/14818 needs to be fixed first |
but if you could put it in record: did you test this manually with and without caching enabled? |
Yep, tested on both scenarios, no problems so far signs with blood
When it is disabled, it still is: |
LGTM |
e42eb80
to
4fa7758
Compare
This is a quick try to solve poo#19408
Move the code a bit to allow the usage of cache_tests method on other places to avoid code duplication.
4fa7758
to
79add65
Compare
Life is sexy again now, let's live with that small coverage drop for the time being, as we would need to improve the fullstack test to also cover the needle editor with and without caching. |
commit 696bb63 Merge: 4a0fcfc 79add65 Author: Santiago Zarate <santiago@zarate.net.ve> AuthorDate: Wed Sep 20 15:07:42 2017 +0200 Commit: GitHub <noreply@github.com> CommitDate: Wed Sep 20 15:07:42 2017 +0200 Merge pull request #1381 from foursixnine/fix/interactive_mode Sync needles when caching is enabled
commit 696bb63 Merge: 4a0fcfc 79add65 Author: Santiago Zarate <santiago@zarate.net.ve> AuthorDate: Wed Sep 20 15:07:42 2017 +0200 Commit: GitHub <noreply@github.com> CommitDate: Wed Sep 20 15:07:42 2017 +0200 Merge pull request #1381 from foursixnine/fix/interactive_mode Sync needles when caching is enabled
commit 696bb63 Merge: 4a0fcfc 79add65 Author: Santiago Zarate <santiago@zarate.net.ve> AuthorDate: Wed Sep 20 15:07:42 2017 +0200 Commit: GitHub <noreply@github.com> CommitDate: Wed Sep 20 15:07:42 2017 +0200 Merge pull request #1381 from foursixnine/fix/interactive_mode Sync needles when caching is enabled
This is a quick try to solve poo#19408
A verification run: http://deimos.suse.de/tests/6104#step/bootloader/6 that's showing just the needle that was created in interactive mode.