Skip to content
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

[Backport 2.19] support batch task management by periodically polling the remote task via a cron job #3472

Closed
wants to merge 1 commit into from

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 161d789 from #3421

… via a cron job (#3421)

* support batch task management by periocially bolling the remote task via a cron job

Signed-off-by: Bhavana Goud Ramaram <[email protected]>

* address comments and resolve dependencies to avoid conflicts

Signed-off-by: Bhavana Goud Ramaram <[email protected]>

* add unit tests

Signed-off-by: Bhavana Goud Ramaram <[email protected]>

* renamed files and added more tests

Signed-off-by: Bhavana Goud Ramaram <[email protected]>

---------

Signed-off-by: Bhavana Goud Ramaram <[email protected]>
(cherry picked from commit 161d789)
Copy link

codecov bot commented Jan 30, 2025

Codecov Report

Attention: Patch coverage is 51.44695% with 151 lines in your changes missing coverage. Please review.

Please upload report for BASE (2.19@7552412). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...opensearch/ml/jobs/MLBatchTaskUpdateJobRunner.java 15.27% 60 Missing and 1 partial ⚠️
...search/ml/action/tasks/GetTaskTransportAction.java 49.23% 31 Missing and 2 partials ⚠️
...opensearch/ml/jobs/MLBatchTaskUpdateExtension.java 20.58% 27 Missing ⚠️
...on/dataset/remote/RemoteInferenceInputDataSet.java 42.85% 4 Missing and 4 partials ⚠️
...g/opensearch/ml/engine/ingest/S3DataIngestion.java 0.00% 7 Missing ⚠️
...va/org/opensearch/ml/task/MLPredictTaskRunner.java 45.45% 4 Missing and 2 partials ⚠️
...n/java/org/opensearch/ml/engine/utils/S3Utils.java 84.84% 5 Missing ⚠️
...ml/common/input/remote/RemoteInferenceMLInput.java 50.00% 2 Missing ⚠️
...nsearch/ml/jobs/MLBatchTaskUpdateJobParameter.java 95.45% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             2.19    #3472   +/-   ##
=======================================
  Coverage        ?   80.20%           
  Complexity      ?     6885           
=======================================
  Files           ?      608           
  Lines           ?    30010           
  Branches        ?     3356           
=======================================
  Hits            ?    24069           
  Misses          ?     4497           
  Partials        ?     1444           
Flag Coverage Δ
ml-commons 80.20% <51.44%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant