Skip to content

Add Foundry jobs and MLflow surfaces#42790

Open
nlydick wants to merge 1 commit intoAzure:feature/foundry-stagingfrom
nlydick:users/nlydick/foundry-jobs-models-surface
Open

Add Foundry jobs and MLflow surfaces#42790
nlydick wants to merge 1 commit intoAzure:feature/foundry-stagingfrom
nlydick:users/nlydick/foundry-jobs-models-surface

Conversation

@nlydick
Copy link
Copy Markdown

@nlydick nlydick commented Apr 30, 2026

Summary

  • Add the Foundry jobs TypeSpec models, routes, examples, and generated OpenAPI snapshots under the /jobs route root.
  • Submit model training jobs with POST /jobs plus Operation-Id idempotency, while relocating the SDK convenience operation to the beta models client as create_training_job / createTrainingJob.
  • Keep job lifecycle operations under beta jobs and expose job child surfaces for attempts, artifacts, metrics, outputs, and attempt-pinned artifact/metric/output views.
  • Add MLflow tracking and registry compatibility route groups under /mlflow/api/2.0/mlflow for experiments, runs, metrics, artifacts, registered models, and model versions.

Validation

  • git diff --check -- specification/ai-foundry/data-plane/Foundry
  • npx tsp compile specification/ai-foundry/data-plane/Foundry --emit @typespec/openapi3
  • npx tsp compile specification/ai-foundry/data-plane/Foundry/client.tsp --no-emit
    • Passed with two existing warnings in src/agents/routes.tsp for unnamed unions.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 30, 2026

Next Steps to Merge

Important checks have failed. As of today they are not blocking this PR, but in near future they may.
Addressing the following failures is highly recommended:
  • ⚠️ The check named Swagger BreakingChange has failed. To unblock this PR, follow the process at aka.ms/brch.
If you still want to proceed merging this PR without addressing the above failures, refer to step 4 in the PR workflow diagram.

Comment generated by summarize-checks workflow run.

@github-actions github-actions Bot added data-plane TypeSpec Authored with TypeSpec labels Apr 30, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 30, 2026

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Language API Review for Package
TypeSpec Azure.AI.Projects
Python azure-ai-projects
JavaScript @azure/ai-projects

Comment generated by After APIView workflow run.

@nlydick nlydick force-pushed the users/nlydick/foundry-jobs-models-surface branch from 4279cbb to 49f2e2e Compare April 30, 2026 11:50
@nlydick nlydick changed the title Add Foundry training jobs model surface Add Foundry jobs and MLflow surfaces Apr 30, 2026
Add the Foundry jobs TypeSpec surface, generated OpenAPI snapshots, and examples. Model training creation now submits with POST /jobs and Operation-Id idempotency, while SDK customization keeps the convenience operation under beta models.

Expose job attempts, artifacts, metrics, and outputs under /jobs, including attempt-pinned views. Add MLflow tracking and registry compatibility routes under /mlflow/api/2.0/mlflow.

Authored-by: GitHub Copilot for VS Code 0.45.1

Model: GitHub Copilot

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@nlydick nlydick force-pushed the users/nlydick/foundry-jobs-models-surface branch from 49f2e2e to 245f2c4 Compare April 30, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data-plane TypeSpec Authored with TypeSpec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant