Skip to content

Enable API stub generation for agent server core - #48479

Merged
Shiva S (Shivakishore14) merged 2 commits into
Azure:mainfrom
Shivakishore14:sshiva/core-agent-server-apistub
Aug 7, 2026
Merged

Enable API stub generation for agent server core#48479
Shiva S (Shivakishore14) merged 2 commits into
Azure:mainfrom
Shivakishore14:sshiva/core-agent-server-apistub

Conversation

@Shivakishore14

Copy link
Copy Markdown
Member

Description

Enables the API stub generation check for azure-ai-agentserver-core now that generic task classes are handled successfully on the Python 3.10 CI path.

Validation

  • API stub generation with Python 3.10 CI-equivalent options
  • Pylint
  • MyPy
  • Pyright
  • Wheel installation and package tests

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

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

@Shivakishore14

Copy link
Copy Markdown
Member Author

CI failure analysis

Build 6668772 failed only in verifywhl. azure-ai-agentserver-core has a stable version on PyPI, but its pyproject.toml does not contain the newly required [tool.azure-sdk-conda] metadata.

This is independent of enabling API stub generation; the API stub job and all platform tests passed. The fix is to declare that this package is not part of a Conda bundle:

[tool.azure-sdk-conda]
in_bundle = false

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the Hosted Agents sdk/agentserver/* label Aug 6, 2026
@Shivakishore14
Shiva S (Shivakishore14) marked this pull request as ready for review August 7, 2026 07:41
Copilot AI balanced review requested due to automatic review settings August 7, 2026 07:41
@azure-pipelines

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

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.

Pull request overview

Enables API stub validation for azure-ai-agentserver-core.

Changes:

  • Enables the apistub build check.
  • Marks the package as excluded from the Conda bundle.

@Shivakishore14
Shiva S (Shivakishore14) enabled auto-merge (squash) August 7, 2026 09:09
@Shivakishore14
Shiva S (Shivakishore14) merged commit da25fd5 into Azure:main Aug 7, 2026
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Hosted Agents sdk/agentserver/*

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants