Skip to content

Add batch endpoint job list workarounds to notebook samples#4041

Open
lavakumarrepala wants to merge 4 commits into
mainfrom
add-batch-endpoint-workaround
Open

Add batch endpoint job list workarounds to notebook samples#4041
lavakumarrepala wants to merge 4 commits into
mainfrom
add-batch-endpoint-workaround

Conversation

@lavakumarrepala

@lavakumarrepala lavakumarrepala commented Jun 18, 2026

Copy link
Copy Markdown
Member

Summary

Added workaround code samples to all 10 batch endpoint notebooks for customers experiencing issues with batch endpoint job listing.

Workarounds added

Option 1: Using MLflow - search for runs by experiment name (same as batch endpoint name)

Option 2: Filtering jobs - use ml_client.jobs.list() and filter by experiment_name

Notebooks updated (10 total)

  • All notebooks under sdk/python/endpoints/batch/deploy-models/
  • All notebooks under sdk/python/endpoints/batch/deploy-pipelines/

References

Added alternative methods to list batch endpoint jobs when the standard
approach encounters issues:

Option 1: Using MLflow to search for runs by experiment name (same as
the batch endpoint name)

Option 2: Using ml_client.jobs.list() and filtering by experiment_name

References:
- ICM 569867940
- ICM 632272288

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@lavakumarrepala
lavakumarrepala requested a review from a team as a code owner June 18, 2026 20:21
The workaround code cells were being executed by papermill during CI,
causing ModuleNotFoundError for mlflow. Convert to a single markdown
cell with fenced code blocks so the samples are visible to customers
but not executed during CI runs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
s-polly
s-polly previously approved these changes Jun 25, 2026

@s-polly s-polly left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved -this won't break docs

@saanikaguptamicrosoft

Copy link
Copy Markdown
Member

Nit: Good to add this one line in all snippets.

These snippets assume the default experiment name (= endpoint name). If you invoked the deployment with a custom experiment_name, substitute that value for endpoint_name in the filters.

…ebooks

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: eb4ba443-58fa-4e89-89e0-d77baa4b8c18
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.

3 participants