Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for Azure Blob Storage for Microsoft Agents by introducing a new library that implements blob storage operations, comprehensive test coverage, and necessary CI/CD workflow updates.
- Implemented BlobStorage and BlobStorageSettings classes to handle blob operations (read, write, delete) using the Azure Blob SDK.
- Updated CI/CD pipelines to install and test the new microsoft-agents-blob wheel.
- Added a pyproject.toml file to define project metadata and dependencies.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| libraries/Storage/microsoft-agents-blob/tests/test_blob_storage.py | Added tests for blob storage behavior using a mock store item implementation |
| libraries/Storage/microsoft-agents-blob/pyproject.toml | Introduced project metadata and dependency definitions |
| libraries/Storage/microsoft-agents-blob/microsoft/agents/blob/blob_storage.py | Implemented the BlobStorage functionality using the Azure Blob SDK, including container initialization and blob operations |
| libraries/Storage/microsoft-agents-blob/microsoft/agents/blob/init.py | Exposed BlobStorage and BlobStorageSettings via all |
| .github/workflows/python-package.yml & .azdo/ci-pr.yaml | Updated CI/CD workflows to install the new microsoft-agents-blob wheel |
Comments suppressed due to low confidence (1)
libraries/Storage/microsoft-agents-blob/microsoft/agents/blob/blob_storage.py:164
- Consider adding a check for an empty keys list (in addition to checking for None) in the delete() method to prevent unnecessary operations.
if keys is None:
Contributor
Author
|
@microsoft-github-policy-service agree company="Microsoft" |
axelsrz
approved these changes
Jul 3, 2025
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.
This pull request introduces a new library,
microsoft-agents-blob, to provide blob storage functionality for Microsoft Agents. It includes updates to CI/CD workflows, the addition of the library's implementation, and its configuration files. Below is a breakdown of the most important changes:Blob Storage Library Implementation:
BlobStorageclass andBlobStorageSettingsclass to handle blob storage operations, including reading, writing, and deleting blobs in Azure Blob Storage. (libraries/Storage/microsoft-agents-blob/microsoft/agents/blob/blob_storage.py)__init__.pyto exposeBlobStorageandBlobStorageSettingsvia the__all__attribute. (libraries/Storage/microsoft-agents-blob/microsoft/agents/blob/__init__.py)CI/CD Workflow Updates:
.azdo/ci-pr.yamland.github/workflows/python-package.ymlto include installation of the newmicrosoft-agents-blobwheel during CI/CD pipelines. (.azdo/ci-pr.yaml) [1] (.github/workflows/python-package.yml) [2]Library Configuration:
pyproject.tomlfile to define the build system, dependencies, and metadata for themicrosoft-agents-bloblibrary. (libraries/Storage/microsoft-agents-blob/pyproject.toml)