-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ticket7515 #1519
Merged
Merged
Ticket7515 #1519
Conversation
This file contains 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
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.
- I think if either the source or the destination server versions start with
0.0.0
, then we should consider these "development versions", assume they're up-to-date, and always allow an import (with a suitable warning message about possible version incompatibilities). This would make it much easier for developers to test locally, too. - We are leaking various observers / listeners due to not unsubscribing them, and them being created each time the dialog is opened. We either need to wrap these in some kind of singleton, so that they are only created once, or the better solution is to unsubscribe each listener when it's no longer required.
- You can see this easily for example by going to VisualVM, and using the "memory sampler" to track the instance count of
StringChannel
(or various other classes). Each time the dialog is opened a new instance is created and not removed - this is a memory leak. See https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/Debugging-memory-leaks-in-the-IBEX-GUI#observables for some more info.
- You can see this easily for example by going to VisualVM, and using the "memory sampler" to track the instance count of
- It would be nice to be able to select a "custom instrument" manually for testing purposes or in case the instrument list PV is unavailable - just like in the instrument selection dialog, you can put in your own arbitrary PV prefix to change to an instrument not on inst list
- I think this is complex enough to need a system test. If you can think of a nice way to test with squish, do that, otherwise add a test or two to the manual system tests spreadsheet that exercise this functionality in the same way that a user would.
...stfc.isis.ibex.ui.configserver/src/uk/ac/stfc/isis/ibex/ui/configserver/ImportConverter.java
Outdated
Show resolved
Hide resolved
...i.configserver/src/uk/ac/stfc/isis/ibex/ui/configserver/commands/ImportComponentHandler.java
Outdated
Show resolved
Hide resolved
...i.configserver/src/uk/ac/stfc/isis/ibex/ui/configserver/commands/ImportComponentHandler.java
Outdated
Show resolved
Hide resolved
...stfc.isis.ibex.ui.configserver/src/uk/ac/stfc/isis/ibex/ui/configserver/ImportConverter.java
Outdated
Show resolved
Hide resolved
...stfc.isis.ibex.ui.configserver/src/uk/ac/stfc/isis/ibex/ui/configserver/ImportConverter.java
Outdated
Show resolved
Hide resolved
....ui.configserver/src/uk/ac/stfc/isis/ibex/ui/configserver/dialogs/ImportComponentDialog.java
Outdated
Show resolved
Hide resolved
3 tasks
pheest
approved these changes
Feb 17, 2023
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.
Ticket
ISISComputingGroup/IBEX#7515
Acceptance criteria
See ticket.
Code Review
check_opi_format.py
script in C:\Instrument\Dev\ibex_gui\base\uk.ac.stfc.isis.ibex.opis pass?Final Steps