-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat!: Pipeline version per organism (fixed) #3703
Conversation
backend/src/main/resources/db/migration/V1.10__pipeline_version_per_organism.sql
Outdated
Show resolved
Hide resolved
bccb6de
to
20984c0
Compare
...end/src/main/kotlin/org/loculus/backend/service/submission/CurrentProcessingPipelineTable.kt
Outdated
Show resolved
Hide resolved
…/CurrentProcessingPipelineTable.kt Co-authored-by: Theo Sanderson <[email protected]>
...end/src/test/kotlin/org/loculus/backend/controller/submission/GetReleasedDataEndpointTest.kt
Outdated
Show resolved
Hide resolved
(I trust that Chaoran has looked at this in some detail - I don't feel able to add much with a review!) |
@fhennig and @chaoran-chen I'm sure it fixes the duplication bug, but there might be other bugs hiding, especially given we know the initial PR was undertested. If you haven't tested this, it might be good to do the following manually:
Ideally, the same thing would also be done on staging, where one would do similar to above but:
|
@corneliusroemer I don't think these requests are unreasonable, but it would be really helpful to have raised them before merging. The authors asked for any input both here and on Slack 2 days ago |
(of course we can still check on staging) |
Thanks @theosanderson yes of course I could have raised this faster. For context, we've now discussed this on Slack: https://loculus.slack.com/archives/C05G172HL6L/p1740055353208289 |
About testing; like we said in yesterdays Retro, I'll make an effort to document much better what I have tested manually! About the issue at hand: Your test idea:
Is good, and I did almost that (before this PR - when the other one was merged). I checked that the version is correctly upgraded in the table where the current version is kept, but I didn't check in the get-released data - I didn't consider that also the view was changed and that's where I missed the issue with the changed view. I guess 'Observe results' can mean many things, this time I would also specifically check get-released-data again. My plan now is to test this again on staging like you suggested, and I will then document this here as well. I do not think it's necessary to revert this PR to do so. If you object to doing things this way or have more things you would like to see tested, it would be great to add those rather sooner than later! Also happy to do this in a call with someone else together! More people -> More ideas for what to check. I have moved this PR back into the 'In Progress' column on the board to signify that there is work to be done on it. |
I've now done this test! PR is linked above, and it contains the description of what I did. I'll leave it open so the preview remains there for a bit. |
Original PR: #3534
fixes #3701
preview: https://debug-pipeline.loculus.org
There was an issue in the SQL definition of the view, causing the filter for only the current pipeline version to not work. This has been fixed. This PR also adds a test.