-
Notifications
You must be signed in to change notification settings - Fork 3
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
Refactor environment review out of test executions #221
Refactor environment review out of test executions #221
Conversation
c11266a
to
3e158d5
Compare
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.
Just finished reviewing the frontend changes, and it looks good to me with just one note
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 went through all the changes and couldn't spot any issues with the modifications you are suggesting. I think we are in a good place to land this, just one suggestion around the database migration
...d/migrations/versions/2024_10_02_1114-91e7e3f437a0_create_artefactbuildenvironmentreview_.py
Outdated
Show resolved
Hide resolved
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.
Thanks for the follow-ups!
Description
In order to support having and showing multiple runs or test executions per environment on artefacts we first need to take review concerns out of test executions. This PR does that.
Resolved issues
Resolves https://warthogs.atlassian.net/browse/RTW-365
Documentation
Web service API changes
review_decision
andreview_comment
have been removed from artefact builds endpointall_test_executions_count
andcompleted_test_executions_count
have been replaced withall_environment_reviews_count
andcompleted_environment_reviews_count
in all endpoints that return an artefact for example https://test-observer-api.canonical.com/docs#/artefacts/get_artefacts_v1_artefacts_getTests
Added automated tests to backend and updated all tests as appropriate. Manually tested the frontend.