Repository navigation
[azure-ai-projects] Submit, read, and compose Foundry PipelineJobs - #49464
Open
Zhidong Zhu (zzn2) wants to merge 79 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…ry typing Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…xecution Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…shots Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…pshots Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…ce requests Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Allow typed CommandJob nodes to bind value-backed uri_folder inputs and add wire-shape coverage for producer-consumer folder handoffs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
[azure-ai-projects] Submit and read Pipeline jobs through beta.jobs
[azure-ai-projects] Support local code in PipelineJob command nodes
…ponents Author Foundry pipeline jobs from Python component functions
…urce-snapshot Support source-backed Python components in Foundry pipeline jobs
Preserve the existing typed uri_folder binding and wire-shape coverage on the current function-component baseline. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…izhu-microsoft-nested-pipeline-sdk
…izhu-microsoft-pipeline-jobs-via-jobs
…n2-pipeline-output-download-fix
…izhu-microsoft-register-command-before-pipeline
# Conflicts: # sdk/ai/azure-ai-projects/README.md # sdk/ai/azure-ai-projects/azure/ai/projects/aio/operations/_patch_jobs_async.py # sdk/ai/azure-ai-projects/azure/ai/projects/operations/_patch_jobs.py
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…u-microsoft-pipeline-jobs-via-jobs
…u-microsoft-register-command-before-pipeline
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…u-microsoft-pipeline-jobs-via-jobs
…u-microsoft-register-command-before-pipeline
…perations Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…u-microsoft-register-command-before-pipeline # Conflicts: # sdk/ai/azure-ai-projects/CHANGELOG.md # sdk/ai/azure-ai-projects/tests/jobs/test_pipeline_jobs.py
Support native nested pipelines and recursive component source upload
Route pipeline_jobs through the existing Jobs API
Fix Pipeline and single-file job output downloads
…u-microsoft-register-command-before-pipeline
…fore-pipeline Register authored Pipeline Command components before job submission
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 2.2.0 training preview exposes standalone Command jobs through
client.beta.jobson/jobs, but the Python SDK could not construct, submit, or read a Pipeline graph through that client. The evolving TypeSpec also declares a dedicated/pipeline_jobsingress; callers need a typed Python surface for that contract without losing the existing Command behavior.Extend the generated job models and sync/async
client.beta.jobsoperations to submit and deserializePipelineJobalongsideCommandJob. Expose the spec's dedicated route through sync/asyncclient.pipeline_jobs, with the preview feature header and resource envelopes flattened to the public PipelineJob model. Both surfaces share local Code asset registration. Pipeline graphs can contain raw node dictionaries or inline typed Command nodes with literal,uri_file, anduri_foldervalue bindings. Function-body@componentand@pipelineauthoring, optional source-backed component snapshots, examples, documentation, and focused regression tests are included. A generated memory-list request regression introduced during the route update is corrected so scope is serialized before paging requests are built.This targets the SDK training branch rather than
mainbecause it provides the Command jobs UX. The generated contract is pinned to TypeSpec source commit 211fd2c, whose tree matches the current head of the still-open Pipeline TypeSpec PR Azure/azure-rest-api-specs#47010. That PR builds on the Command Jobs draft Azure/azure-rest-api-specs#45258, which is closed without merging. The divergent Command-only/training_jobsproposal Azure/azure-rest-api-specs#45823 is not used.The
uri_foldersupport binds existing output values; it does not upload local folders or adduri_folderports to function-body components. Source-backed components require a runtime image containing compatibleazure-ai-projectsand imported dependencies. This does not add AML@dsl.pipelineparity or change the service. In particular, acceptance through/jobsdoes not prove that the separate/pipeline_jobsingress is deployed: on the tested eastus2euap canary, GET/pipeline_jobsand GET/pipeline_jobs/{name}for an existing Pipeline both returned 404 with2026-01-15-previewand the required preview header, while GET/jobs/{name}returned 200. No create was attempted through/pipeline_jobs; its public route/version still needs an owner decision before release.Nested pipelines and runtime-dynamic sub-graphs are delivered as follow-up changes into this branch rather than in the current diff: native nested
@pipelinecomposition is in zzn2/azure-sdk-for-python#12, and an SDK-native@dynamicdecorator (ported from mldesigner's dynamic executor so the runtime does not depend on mldesigner or azure-ai-ml) is being added separately. The server-side registration of generated dynamic sub-pipeline components in Foundry projects is tracked in sdk-cli-v2 !2439884.