WS-290: Fix QA
1 unresolved thread
1 unresolved thread
-
Fixed QA messages getting sent with the wrong messenger -
Change [SendMessage: qa_ready] action to new [AnnounceQa] action that will correctly announce that QA is ready using REST -
Verified that QaPass action fails non-current versions
Merge request reports
Activity
added 5 commits
-
82a2e736...95bc450c - 2 commits from branch
main
- 2cc3ef2d - Change [SendMessage: qa_ready] action to new [AnnounceQa] action that
- 580b4255 - QA messages were getting sent to the archive for some reason; we need
- 778189f6 - Add new state action `AnnounceQa` for the state transition [Executing]
Toggle commit list-
82a2e736...95bc450c - 2 commits from branch
189 188 self._fail_other_versions(request) 190 189 191 190 191 class AnnounceQa(Action): 192 """ 193 Action that makes a REST call to the announce_qa endpoint in the workflow service, which announces that an execution 194 is ready for QA 195 """ 196 197 __mapper_args__ = {"polymorphic_identity": "AnnounceQa"} 198 199 def __call__(self, execution: CapabilityExecutionIF, *args): 200 workflow_request_id = execution.current_workflow_request_id 201 msg_type = "qa_ready" 202 workflow_service_url = CapoConfig().settings("edu.nrao.workspaces.WorkflowSettings").serviceUrl 203 url = f"{workflow_service_url}/workflows/requests/{workflow_request_id}/qa/{msg_type}"
Please register or sign in to reply