-
Notifications
You must be signed in to change notification settings - Fork 5
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
Merge dev into main #29
Conversation
This does now mean we do a lot more re-ordering of the list, but the alternative is to keep two lists which would more easily become out of sync.
This applies to any PandA field that returns us a label field. Tests updated to accomodate this.
Also fixes some mypy errors in tests
Also upgrade to newest pythonSoftIoc which includes waveform of strings support. Also adjust typing of some test fixtures to better indicate that the order of items is important
Also raise exception if initial connect fails.
Also improves the IOC startup, by waiting for a signal rather than just a flat sleep timer
Changed test to use lower case names consistent with PVA
…d the name of DummyServer to MockedServer
…e working callstack
… retrieving commands from the to give them time
…nd 3.10/3.11. We should consider 3.10 minimum on pandablocks-ioc
Add pcap arm pvi entry
Pvi entries for hdf writing
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.
See comment regarding listing files
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.
Looks good! We can finally start having much simpler PRs :)
@evalott100 I see that you did merge #27, but for some reason I don't see the changes from this PR in the main branch. Should I reopen the PR or create a new PR (from the same PR branch) to the main branch? |
@dmgav Yes please do, I'm unsure why those changes aren't there. Sorry for the bother! I'm happy to approve either a rebase of the original, or a new PR. |
@evalott100 Another question: currently the IOC is checking if the directory with .bob files is empty and fails to start if it is not empty, which means that the IOC can not be simply restarted without clearing the directory with bob files. There used to be an option |
I propose changing the positional commandline @dmgav, @evalott100 what do you reckon? |
The issue with that is you still have to manually clear the directory between runs, if you do want to generate bobfiles. e.g. you run it once, then make a change to the PandA, then want to regenerate your bobfiles. With your suggestion there's an extra step required before the re-run to delete the files. I don't know how common this workflow is though, so may be overstating the problem. |
I agree with making |
@dmgav what's the use case for this? I'm interested to see how you intend to run this in production. For us we would probably put the creation of the bob files in a temporary directory, then rsyncing to a shared filesystem in the container startup. Where do you plan to put bob files in production? |
Also, does generating bobfiles take a long time? |
No, execution time is not an issue. Bobfiles are generated quickly. We have not discussed how the IOC is going to be deployed in production. I am currently thinking about the development environment. In principle, making the |
I like this idea! |
I can see this use case. I'll add that along with |
dev now contains commits from many different PRs, this PR replaces this one.
The PRs that have already merged into dev are:
If we merge this PR I don't mind closing these open PRs and making new ones into main, alternatively we can merge them first.
Note: dist is also failing on main, once this is merged to main we can make a new issue for this before release.