Skip to content

Commit

Permalink
Euclid workflow predictions (Testing) (#196)
Browse files Browse the repository at this point in the history
* add extractor name to prediction request for new workflow

* fix test

* add new test cases

* rely on only pool_subject_set_id for fetching prediction context

* use active_subject_set_id for fetching context and workflow name

* fix failing test

* fix failing test

* add Honeybadger notify for prediction client error
  • Loading branch information
Tooyosi authored Jan 30, 2025
1 parent da46711 commit daeedba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/services/batch/prediction/create_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def run
bajor_job_url = bajor_client.create_prediction_job(prediction_job.manifest_url, workflow_name)
prediction_job.update(state: :submitted, service_job_url: bajor_job_url, message: '')
rescue Bajor::Client::Error => e
Honeybadger.notify(e)
# mark the jobs as failed and record the client error message
prediction_job.update(state: :failed, message: e.message)
end
Expand Down

0 comments on commit daeedba

Please sign in to comment.