Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/agentserver/azure-ai-agentserver-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 2.0.0b1 (Unreleased)
## 2.0.0b1 (2026-04-14)
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.


### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ async def _lifespan(_app: Starlette) -> AsyncGenerator[None, None]: # noqa: RUF
self._graceful_shutdown_timeout,
)
except Exception: # pylint: disable=broad-exception-caught
logger.exception("Error in on_shutdown")
logger.warning("Error in on_shutdown", exc_info=True)

# Merge routes: subclass routes (if any) + health endpoint
all_routes: list[Any] = list(routes or [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
# ======================================================================


class AgentConfig:
class AgentConfig: # pylint: disable=too-many-instance-attributes
"""Resolved configuration for an agent server host.
All values are populated from environment variables at creation time.
Expand Down
3 changes: 2 additions & 1 deletion sdk/agentserver/azure-ai-agentserver-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ combine-as-imports = true
breaking = false
mypy = true
pyright = true
verifytypes = true
verifytypes = false
latestdependency = false
pylint = true
type_check_samples = false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ async def receive():
async def send(message):
sent_messages.append(message)

with caplog.at_level(logging.ERROR, logger="azure.ai.agentserver"):
with caplog.at_level(logging.WARNING, logger="azure.ai.agentserver"):
await agent(scope, receive, send)

# The error should be logged
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dynamic = ["version", "readme"]
description = "GitHub Copilot SDK adapter for Azure AI Agent Server"
requires-python = ">=3.11"
authors = [
{ name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" },
{ name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" },
]
license = "MIT"
classifiers = [
Expand Down Expand Up @@ -32,13 +32,7 @@ requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
exclude = [
"tests*",
"samples*",
"doc*",
"azure",
"azure.ai",
]
exclude = ["tests*", "samples*", "doc*", "azure", "azure.ai"]

[tool.setuptools.dynamic]
version = { attr = "azure.ai.agentserver.githubcopilot._version.VERSION" }
Expand All @@ -62,6 +56,7 @@ combine-as-imports = true
breaking = false
pyright = false
verifytypes = false
latestdependency = false
verify_keywords = false
mindependency = false
whl_no_aio = false
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 1.0.0b1 (Unreleased)
## 1.0.0b1 (2026-04-14)

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ combine-as-imports = true
breaking = false
mypy = true
pyright = true
verifytypes = true
verifytypes = false
latestdependency = false
pylint = true
type_check_samples = false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ async def handle(request: Request) -> Response:
async def on_shutdown():
raise RuntimeError("shutdown exploded")

with caplog.at_level(logging.ERROR, logger="azure.ai.agentserver"):
with caplog.at_level(logging.WARNING, logger="azure.ai.agentserver"):
await _drive_lifespan(app)

# Should have logged the exception
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 1.0.0b1 (Unreleased)
## 1.0.0b1 (2026-04-14)
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.

Lets not release any packages before the below PR merges. I found a few places where the public contract needed more type confining. Given that this is a breaking change we should avoid doing this post release.
#46302


### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,8 @@ pythonpath = ["."]
[tool.uv.sources]
azure-ai-agentserver-core = { path = "../azure-ai-agentserver-core", editable = true }
azure-core = { path = "../../core/azure-core" }
azure-sdk-tools = { path = "../../../eng/tools/azure-sdk-tools" }
azure-sdk-tools = { path = "../../../eng/tools/azure-sdk-tools" }

[tool.azure-sdk-build]
verifytypes = false
latestdependency = false
Loading