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

Return job_id from execute() and execute_complete() method in SubmitAnyscaleJob #48

Merged
merged 3 commits into from
Sep 9, 2024

Conversation

venkatajagannath
Copy link
Contributor

@venkatajagannath venkatajagannath commented Sep 2, 2024

Per customer feedback, they would like to use the job_id in downstream tasks for tracking.

This PR returns the job_id from both the execute() and the execute_complete() methods. We also updated the associated unit test

image

Copy link

codecov bot commented Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.44%. Comparing base (87dbc3c) to head (7d62786).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
+ Coverage   96.41%   96.44%   +0.02%     
==========================================
  Files           4        4              
  Lines         279      281       +2     
==========================================
+ Hits          269      271       +2     
  Misses         10       10              

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

Copy link

@chris-ray-zhang chris-ray-zhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm thanks!

Copy link

@saihaj saihaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@venkatajagannath venkatajagannath merged commit fa7f930 into main Sep 9, 2024
19 checks passed
@venkatajagannath venkatajagannath deleted the job_id_fix branch September 9, 2024 11:36
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.

Return job_id from execute() and execute_complete() methods
4 participants