Skip to content

Rename azure-ai-agentserver-github → azure-ai-agentserver-githubcopilot - #46087

Merged
Paul Van Eck (pvaneck) merged 3 commits into
mainfrom
feature/agentserver-githubcopilot-rename
Apr 3, 2026
Merged

Rename azure-ai-agentserver-github → azure-ai-agentserver-githubcopilot#46087
Paul Van Eck (pvaneck) merged 3 commits into
mainfrom
feature/agentserver-githubcopilot-rename

Conversation

@jodeklotzms

Copy link
Copy Markdown
Member

Summary

  • Rename package from azure-ai-agentserver-github to azure-ai-agentserver-githubcopilot
  • Dan Taylor approved, Travis Wilson confirmed, Johan Stenberg recommended removing the dash to avoid deeply nested module paths (azure.ai.agentserver.github_copilotazure.ai.agentserver.githubcopilot)
  • Add CODEOWNERS entry: @jodeklotzms @pradeepkintali @tendau @ganeshyb @code-vicar
  • Delete old azure-ai-agentserver-github directory (per Dan: "delete the old spec in the same PR")

Changes

  • Renamed package directory: azure-ai-agentserver-github/azure-ai-agentserver-githubcopilot/
  • Renamed Python module: azure.ai.agentserver.githubazure.ai.agentserver.githubcopilot
  • Updated all import paths, pyproject.toml, docs, tests, CI config (ci.yml)
  • Added CODEOWNERS entry for new path

Naming convention

Runtime SDK Adapter package
langgraph azure-ai-agentserver-langgraph
github-copilot-sdk azure-ai-agentserver-githubcopilot

Validation

  • 14/14 unit tests pass
  • pip install -e . + from azure.ai.agentserver.githubcopilot import GitHubCopilotAdapter — OK
  • Deployed to ADC as rename-test-01, invoked successfully

Related

🤖 Generated with Claude Code

Dan Taylor approved, Travis Wilson confirmed, Johan Stenberg recommended
removing the dash to avoid deeply nested module paths.

- Rename package directory and Python module (github → githubcopilot)
- Update all import paths, pyproject.toml, docs, tests, CI config
- Add CODEOWNERS entry for new path
- Delete old azure-ai-agentserver-github directory

Validated: 14/14 unit tests pass, pip install + import OK,
deployed to ADC as rename-test-01 and invoked successfully.

Spec PR: https://github.com/coreai-microsoft/foundrysdk_specs/pull/48

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

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

Renames the Agent Server GitHub Copilot adapter package/module from azure-ai-agentserver-github / azure.ai.agentserver.github to azure-ai-agentserver-githubcopilot / azure.ai.agentserver.githubcopilot, and updates CI, docs, tests, and ownership to match.

Changes:

  • Update package metadata, import paths, and CI artifact configuration for the new package name.
  • Update documentation and integration test agent assets to reference the renamed package/module.
  • Add CODEOWNERS entry for the renamed package directory and remove old package sample/test-agent requirement references.

Reviewed changes

Copilot reviewed 19 out of 38 changed files in this pull request and generated no comments.

Show a summary per file
File Description
sdk/agentserver/ci.yml Switch CI artifact entry to azure-ai-agentserver-githubcopilot.
sdk/agentserver/azure-ai-agentserver-githubcopilot/tests/unit_tests/test_copilot_request_converter.py Update unit test imports to new module path.
sdk/agentserver/azure-ai-agentserver-githubcopilot/tests/integration/TESTING.md Rename package reference in integration test docs.
sdk/agentserver/azure-ai-agentserver-githubcopilot/tests/integration/test_agent/skills/hello/SKILL.md Update package name referenced by the test skill.
sdk/agentserver/azure-ai-agentserver-githubcopilot/tests/integration/test_agent/requirements.txt New test-agent deps referencing renamed package.
sdk/agentserver/azure-ai-agentserver-githubcopilot/tests/integration/test_agent/main.py Update adapter import to new module path.
sdk/agentserver/azure-ai-agentserver-githubcopilot/tests/integration/test_agent/Dockerfile Container build/install for integration test agent.
sdk/agentserver/azure-ai-agentserver-githubcopilot/tests/integration/test_agent/AGENTS.md Update package name referenced by the test agent prompt.
sdk/agentserver/azure-ai-agentserver-githubcopilot/tests/integration/logs.py Update package-root comment to renamed directory.
sdk/agentserver/azure-ai-agentserver-githubcopilot/tests/integration/invoke.py Add invocation helper script for integration test agent.
sdk/agentserver/azure-ai-agentserver-githubcopilot/tests/integration/deploy.py Update package-root comment to renamed directory.
sdk/agentserver/azure-ai-agentserver-githubcopilot/tests/integration/_token_cache.py Add cached az account get-access-token helper for integration scripts.
sdk/agentserver/azure-ai-agentserver-githubcopilot/samples/README.md New samples README pointing to renamed package.
sdk/agentserver/azure-ai-agentserver-githubcopilot/README.md Update install/import snippets to renamed package/module.
sdk/agentserver/azure-ai-agentserver-githubcopilot/pyproject.toml Rename distribution + update dynamic version import + ruff isort first-party module.
sdk/agentserver/azure-ai-agentserver-githubcopilot/MANIFEST.in Update py.typed include path to renamed module.
sdk/agentserver/azure-ai-agentserver-githubcopilot/LICENSE Add license file in renamed package.
sdk/agentserver/azure-ai-agentserver-githubcopilot/INSTRUCTIONS.md Update “getting started” instructions and paths for rename.
sdk/agentserver/azure-ai-agentserver-githubcopilot/dev_requirements.txt Add dev requirements for local validation.
sdk/agentserver/azure-ai-agentserver-githubcopilot/CHANGELOG.md Add initial changelog for renamed package.
sdk/agentserver/azure-ai-agentserver-githubcopilot/azure/ai/agentserver/githubcopilot/_version.py Add version constant for dynamic packaging.
sdk/agentserver/azure-ai-agentserver-githubcopilot/azure/ai/agentserver/githubcopilot/_tool_discovery.py Tool auto-discovery helper under renamed module.
sdk/agentserver/azure-ai-agentserver-githubcopilot/azure/ai/agentserver/githubcopilot/_tool_acl.py Tool ACL implementation under renamed module.
sdk/agentserver/azure-ai-agentserver-githubcopilot/azure/ai/agentserver/githubcopilot/_model_cache.py Model selection cache helper under renamed module.
sdk/agentserver/azure-ai-agentserver-githubcopilot/azure/ai/agentserver/githubcopilot/_foundry_model_discovery.py Foundry model discovery helper under renamed module.
sdk/agentserver/azure-ai-agentserver-githubcopilot/azure/ai/agentserver/githubcopilot/_copilot_response_converter.py Response/streaming conversion under renamed module.
sdk/agentserver/azure-ai-agentserver-githubcopilot/azure/ai/agentserver/githubcopilot/_copilot_request_converter.py Request/prompt + attachment conversion under renamed module.
sdk/agentserver/azure-ai-agentserver-githubcopilot/azure/ai/agentserver/githubcopilot/_copilot_adapter.py Update trace namespace string to renamed module.
sdk/agentserver/azure-ai-agentserver-githubcopilot/azure/ai/agentserver/githubcopilot/init.py Update usage example import to renamed module path.
sdk/agentserver/azure-ai-agentserver-githubcopilot/azure/init.py Namespace package init for azure.
sdk/agentserver/azure-ai-agentserver-githubcopilot/azure/ai/init.py Namespace package init for azure.ai.
sdk/agentserver/azure-ai-agentserver-githubcopilot/azure/ai/agentserver/init.py Namespace package init for azure.ai.agentserver.
sdk/agentserver/azure-ai-agentserver-github/tests/integration/test_agent/requirements.txt Remove old package reference from legacy integration test agent requirements.
sdk/agentserver/azure-ai-agentserver-github/samples/README.md Remove old package sample README.
.github/CODEOWNERS Add ownership entry for the renamed package directory.

@pvaneck Paul Van Eck (pvaneck) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Jonathan DeKlotz (@jodeklotzms) Can you also update the entry you added in .vscode/cspell.json?

The cspell word override was still targeting the old directory
azure-ai-agentserver-github/** instead of the renamed
azure-ai-agentserver-githubcopilot/**. This caused all 44 spelling
errors in the CI check.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Comment thread .github/CODEOWNERS
Per Paul Van Eck's review — the PRLabel comment only applies to the
path immediately following it. Our githubcopilot line needs its own.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@pvaneck

Copy link
Copy Markdown
Member

/check-enforcer override

@pvaneck
Paul Van Eck (pvaneck) merged commit 5a9691a into main Apr 3, 2026
5 of 10 checks passed
@pvaneck
Paul Van Eck (pvaneck) deleted the feature/agentserver-githubcopilot-rename branch April 3, 2026 01:26
Nikolay Kim (fafhrd91) pushed a commit to fafhrd91/azure-sdk-for-python that referenced this pull request Apr 28, 2026
…ot (Azure#46087)

* Rename azure-ai-agentserver-github → azure-ai-agentserver-githubcopilot

Dan Taylor approved, Travis Wilson confirmed, Johan Stenberg recommended
removing the dash to avoid deeply nested module paths.

- Rename package directory and Python module (github → githubcopilot)
- Update all import paths, pyproject.toml, docs, tests, CI config
- Add CODEOWNERS entry for new path
- Delete old azure-ai-agentserver-github directory

Validated: 14/14 unit tests pass, pip install + import OK,
deployed to ADC as rename-test-01 and invoked successfully.

Spec PR: https://github.com/coreai-microsoft/foundrysdk_specs/pull/48

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: update cspell override glob for renamed package

The cspell word override was still targeting the old directory
azure-ai-agentserver-github/** instead of the renamed
azure-ai-agentserver-githubcopilot/**. This caused all 44 spelling
errors in the CI check.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: add PRLabel comment for githubcopilot CODEOWNERS entry

Per Paul Van Eck's review — the PRLabel comment only applies to the
path immediately following it. Our githubcopilot line needs its own.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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