Skip to content

Regenerate Azure AI Projects client - #50407

Open
Mike Guo (guotuofeng) wants to merge 2 commits into
mainfrom
myguo/voice-projects-generated
Open

Regenerate Azure AI Projects client#50407
Mike Guo (guotuofeng) wants to merge 2 commits into
mainfrom
myguo/voice-projects-generated

Conversation

@guotuofeng

@guotuofeng Mike Guo (guotuofeng) commented Sep 11, 2026

Copy link
Copy Markdown
Member

Description

Bottom of stack #50413. Regenerates azure-ai-projects from Azure/azure-rest-api-specs commit 56d16cceefc997ad171bce944bb496e6c28b79f8 (Java 2.6.0 client updates, Azure/azure-rest-api-specs#46311) and keeps its generation customization, metadata, TypeSpec pin, changelog, and RevApi acknowledgements together.

Stack:

Validation:

  • Repeated tsp-client update produced no semantic diff.
  • mvn -q -f sdk/ai/azure-ai-projects/pom.xml verify -DskipTests

All SDK Contribution checklist:

  • The pull request does not introduce breaking changes. Preview API changes are documented in revapi.json and CHANGELOG.md.
  • CHANGELOG is updated for significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title is clear and informative.
  • Changes are limited to the Projects generated foundation.

Testing Guidelines

  • Generated code is idempotent and compiles independently.

Copilot AI 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.

🟡 Changes recommended

Unresolved metadata, preview annotation, changelog, compatibility-note, and whitespace updates remain.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Regenerates the azure-ai-projects client from the updated Foundry TypeSpec while preserving compatibility customizations and API metadata.

Changes:

  • Updates generated clients, implementations, and data-generation models.
  • Adds target, trace, insight, and output-write-mode APIs.
  • Refreshes customizations, metadata, RevApi acknowledgements, and release notes.
File summaries
File Summary
sdk/ai/azure-ai-projects/tsp-location.yaml Pins the updated TypeSpec source and directories.
sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json Updates generated package and cross-language metadata.
sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_apiview_properties.json Refreshes APIView metadata.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobSource.java Adds the trace data-generation source model.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/TracesDataGenerationJobOptions.java Adds trace data-generation options.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/ToolUseFineTuningDataGenerationJobOptions.java Adds tool-use fine-tuning options.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimulationSeedDataGenerationJobOptions.java Adds simulation-seed data-generation options.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/SimpleQnADataGenerationJobOptions.java Adds simple Q&A data-generation options.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FoundryEvaluationTarget.java Adds the Foundry evaluation target model.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputWriteMode.java Adds output write-mode support.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOutputOptions.java Updates data-generation output configuration.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/DataGenerationJobOptions.java Updates data-generation job options.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureAIModelTarget.java Updates the Azure AI model target.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AzureAIAgentTarget.java Updates the Azure AI agent target.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentTaxonomyInput.java Updates agent taxonomy input.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/AgentInsightHighlightedTrace.java Updates highlighted trace insights.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/BetaDatasetsImpl.java Regenerates datasets implementation plumbing.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/BetaAgentInsightMonitorsImpl.java Regenerates agent insight monitor implementation plumbing.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/BetaSkillsClient.java Regenerates the synchronous skills client.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/BetaSkillsAsyncClient.java Regenerates the asynchronous skills client.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/BetaRoutinesClient.java Updates the synchronous routines client and overloads.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/BetaRoutinesAsyncClient.java Updates the asynchronous routines client and overloads.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/BetaDatasetsClient.java Regenerates the synchronous datasets client.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/BetaDatasetsAsyncClient.java Regenerates the asynchronous datasets client.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/BetaAgentInsightMonitorsClient.java Regenerates the synchronous agent insight monitors client.
sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/BetaAgentInsightMonitorsAsyncClient.java Regenerates the asynchronous agent insight monitors client.
sdk/ai/azure-ai-projects/revapi.json Acknowledges intentional preview API changes.
sdk/ai/azure-ai-projects/customizations/src/main/java/ProjectsCustomizations.java Preserves compatibility overloads and helper renaming.
sdk/ai/azure-ai-projects/CHANGELOG.md Documents the regenerated API changes.
Review details

Suppressed comments (3)

sdk/ai/azure-ai-projects/CHANGELOG.md:11

  • The top release notes omit two user-facing changes in this regeneration: the new DataGenerationJobOutputOptions.writeMode/DataGenerationJobOutputWriteMode API and the Target to FoundryEvaluationTarget rename (the latter is acknowledged in revapi.json). Please add a feature entry and a breaking-change entry so the changelog matches the generated API.
- Moved `maxSamples` from `DataGenerationJobOptions` to supported scenario-specific models. `SimulationSeedDataGenerationJobOptions` no longer accepts it, while `TracesDataGenerationJobOptions` now has a no-argument constructor and optional `Integer` value configured through `setMaxSamples(...)`.

sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/BetaRoutinesClient.java:757

  • This compatibility overload keeps the previous five-argument routine API, but the 2.5.0 changelog says the methods now require the new authorization parameter. Update the release note to explain that the six-argument overload adds authorization while the five-argument overload remains available.
    public Routine createOrUpdateRoutine(String routineName, String description, Boolean enabled,
        Map<String, RoutineTrigger> triggers, RoutineAction action) {
        return createOrUpdateRoutine(routineName, description, enabled, triggers, action, null);

sdk/ai/azure-ai-projects/tsp-location.yaml:4

  • This added trailing space after additionalDirectories: is picked up by repository whitespace checks and differs from the neighboring tsp-location.yaml format. Remove the trailing space.
additionalDirectories: 
  • Files reviewed: 28/29 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread sdk/ai/azure-ai-projects/CHANGELOG.md
@guotuofeng
Mike Guo (guotuofeng) removed this pull request from stack #50411 September 11, 2026 01:13
@guotuofeng
Mike Guo (guotuofeng) added this pull request to stack #50413 September 11, 2026 01:13
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 279 pipeline(s).
35 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

1 similar comment
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 279 pipeline(s).
35 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@guotuofeng
Mike Guo (guotuofeng) force-pushed the myguo/voice-projects-generated branch 2 times, most recently from e62e3f8 to 0b41be8 Compare September 11, 2026 06:07
Comment thread sdk/ai/azure-ai-projects/customizations/src/main/java/ProjectsCustomizations.java Outdated
@guotuofeng
Mike Guo (guotuofeng) force-pushed the myguo/voice-projects-generated branch 2 times, most recently from 0f0fc0c to 4140b68 Compare September 12, 2026 03:14
@guotuofeng
Mike Guo (guotuofeng) force-pushed the myguo/voice-projects-generated branch from 4140b68 to 85c1cb1 Compare September 12, 2026 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants