Skip to content

Conversation

l0lawrence
Copy link
Owner

This PR adds the initial release of the Azure Code Transparency client library for Python generated from the TypeSpec specification.

slister1001 and others added 30 commits April 20, 2025 09:53
…0520)

* call evaluate_with_rai_service instead of evaluate

* clean up

* bug fixes

* add retry logic to service calls and send_prompt_async

* small fixes

* update retry to handle asyncio timeout

* fix attack success
…DK owner) (Azure#40114)

* code and test

* Update changelog and version to 9.2.0

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>
…wner) (Azure#40358)

* code and test

* Update version to 22.2.0 and changelog

* Update CHANGELOG.md

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>
… SDK owner) (Azure#40242)

* code and test

* Update CHANGELOG.md for new operation groups

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>
…SDK owner) (Azure#40334)

* code and test

* update testcases

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>
…ner) (Azure#40370)

* code and test

* tests

* tests assets

* import pytest

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: Audunn Baldvinsson <[email protected]>
…K owner) (Azure#40356)

* code and test

* update testcases

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>
Co-authored-by: ChenxiJiang333 <[email protected]>
…y SDK owner) (Azure#40369)

* code and test

* update testcases

* update version

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>
* Allow for alphanumeric in column mapping

* add unit test
…ub issues (Azure#40589)

* preliminary redteam tsg

* add column mapping bullet to evaluate tsg

* add storage permissions warning section
This credential is deprecated because the Azure Account extension
for Visual Studio Code, which this credential relies on, has been deprecated.

Signed-off-by: Paul Van Eck <[email protected]>
… SDK owner) (Azure#40210)

* code and test

* update testcases

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>
* Pin major version of external dependencies

* Update sdk/ml/azure-ai-ml/setup.py

Co-authored-by: Copilot <[email protected]>

* Update CHANGELOG

* Remove constraint from azure-common as this is an internal dep

* Explicit constraints

---------

Co-authored-by: Amit Chauhan <[email protected]>
Co-authored-by: Copilot <[email protected]>
…DK owner) (Azure#40563)

* code and test

* Update CHANGELOG with new models and changes

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>
… SDK owner) (Azure#40266)

* code and test

* update-testcase

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>
…SDK owner) (Azure#40393)

* code and test

* update testcases

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>
…by SDK owner) (Azure#40439)

* code and test

* update testcases

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>
Co-authored-by: azure-sdk <PythonSdkPipelines>
…K owner) (Azure#40640)

* code and test

* update-testcase

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>
* background call for get database account call

* only call get database account in health check for different endpoints

* Change health check logic in sync

* Revert removing timing

* update changelog

* fix tests

* use asyncio create_task

* fix tests

* fix pylint

* Renamed variables and added effective preferred locations

* update changelog

* Add test for effective preferred regions

* Add test for effective preferred regions

* sync test for preferred regions

* Renaming and add test for health check

* fix tests

* fix tests and add more health check tests

* fix tests

* add tests

* fix tests

* Move to breaking change

* Added scale workload scripts

* Scale testing upserts

* fix cspell and tests

* fix tests

* fix initial upserts

* fix tests

* revert preferred locations

* timeout mark unavailable

* moving health check to background

* only finish health check after 2 successes

* fix tests

* add tests

* fix and add timeout tests for marking endpoints unavailable

* Reacting to comments

* Reacting to comments

* Add cleanup of background task when cosmos client closes

* React to comments

* Remove consecutive failures code

* updated changelog

* Fix test

* Fix tests that weren't awaiting properly

* Add a sync workload and fix initial setup and separate client configs to separate file

* fix imports

* fix tests

* update proxy

* change unavailable time to 7 minutes

* remove marking unavailable, health check four regions, health check primary and alternate

* fix type hints

* logs to debug

* logs to debug

* fix startup scenario

* debug logs

* fix updating cache

* adding logs

* fix operation type check unavailable

* add logic to check by endpoint and not by regional routing context

* bash sript to run workloads

* adding more workloads

* fix tests

* fix tests

* lower write workloads to use

* fix read envoy workloads

* increase read concurrency

* fix test

* more read workloads

* more read workloads

* fix tests

* fix tests

* add smaller lag for some writes and reads

* debug multimaster test

* cleanup

* mark global endpoint available

* fix tests and only use endpoint from gateway for multimaster

* balance read and write workloads

* retry multi region writes same as reads

* react to comments

* multi write fix

* debug logs

* multiwrite config

* fix multimaster workloads

* cleanup / pylint

* refactor workloads

* fix read proxy workload

* swallow exceptions and add mocking

* fix import

* fix import

* fix mocking

* fix mocking

* fix mocking

* logging improvements for timeout and failover retry policy

* debugging logs

* fix mock

* fix mock

* improve mock and adding more logs

* service request instead of response

* more logs

* cleanup logs

* remove import

* more logs and fix mock

* fix logs

* more logs for debugging

* more logs for debugging

* fix mocking

* fix mocking

* fix mocking

* add envoy

* update envoy and remove mocking

* envoy changes

* fix workloads

* lower sleep time between concurrent operations

* remove sleeps

* increase concurrency

* increase default concurrency

* remove excessive logs

* change proxy workloads

* change proxy file

* change proxy file

* change proxy file

* change proxy file

* useful logs

* change envoy file

* change envoy file

* change envoy file

* change envoy file

* change envoy file

* change envoy file

* change envoy file

* Added envoy open ai simple file

* update simple

* Updated scale testing workloads for ycsb benchmark

* Added run workload script without proxy

* Added more workloads

* Fixed the run workloads script

* Fixed one more scriptp

* Reduced the clients to below 60

* Updated file handler to rotating file handler

* Logging headers for testing

* Skipping session token for writes

* Skipping session token for writes

* commented out request / response headers

* Updated file handler to rotating file handler with 10 mb max

* Updated file handler to rotating file handler with 10 mb max

* Fixed rotating file handler for every workload script

* Updated test directory to tests

* Updated test directory to tests and added all files

* Updated test directory to tests and added workloads

* Fixed envoy proxy code

* Container and Database is configurable now

* Container and Database is configurable fix

* ru change to create container and incorrect client workload

* add None etag and match_condition edge case

* Use process id for log files and refactor common methods across workloads

* fix initial-setup.py

* fix logger naming

* fix logger naming

* fix workloads and envoy file

* improve workload scripts

* improve workload scripts

* test improvements

* cleanup

* envoy changes

* envoy changes

* revert changes

* Update sdk/cosmos/azure-cosmos/tests/workloads/w_workload.py

Co-authored-by: Copilot <[email protected]>

* Update sdk/cosmos/azure-cosmos/tests/workloads/initial-setup.py

Co-authored-by: Copilot <[email protected]>

* Update sdk/cosmos/azure-cosmos/tests/workloads/get-database-account-call.py

Co-authored-by: Copilot <[email protected]>

* Update sdk/cosmos/azure-cosmos/tests/workloads/r_proxy_workload.py

Co-authored-by: Copilot <[email protected]>

* Update sdk/cosmos/azure-cosmos/tests/workloads/r_w_q_with_incorrect_client_workload.py

Co-authored-by: Copilot <[email protected]>

* Update sdk/cosmos/azure-cosmos/tests/workloads/r_workload.py

Co-authored-by: Copilot <[email protected]>

* Update sdk/cosmos/azure-cosmos/tests/workloads/r_w_q_workload.py

Co-authored-by: Copilot <[email protected]>

* Update sdk/cosmos/azure-cosmos/tests/workloads/w_proxy_workload.py

Co-authored-by: Copilot <[email protected]>

* fix analyze and add licensing

* fix analyze

* react to comments

* fix imports

* make shutdown executable

* fix import

* fix workloads

* fix imports

* fix shutdown

---------

Co-authored-by: Kushagra Thapar <[email protected]>
Co-authored-by: Tomas Varon <[email protected]>
Co-authored-by: Ubuntu <openai-test@openai-testing-vm1.q2mff55cv1bu1hrxqay0qbmh1g.cbnx.internal.cloudapp.net>
Co-authored-by: Simon Moreno <[email protected]>
Co-authored-by: Copilot <[email protected]>
* Add files via upload

* Add files via upload
* inital commit for throughput bucket

* added test for throughput bucket

* got rid of extra comment

* sync part of throughput headers

* added async part with new test file

* added async part with tests

* got rid of extra space

* added _async label to test_headers_async

* removed extra line

* removed unnecessary syntax

* made requested changes on pr, mostly for async tests

* added another finally block to test_headers

* edited replace container test

* added sample files and section to the readme

* got rid of trailing whitespace

* added negative test, added to changelog

* added header to changelog

* got rid of extra ,

* edited readme for new sample file names

* marked negative test as TODO

---------

Co-authored-by: Andrew Mathew <[email protected]>
xiangyan99 and others added 20 commits May 13, 2025 15:13
* Adding data collection disclosure to readme

* fixing credential name

* updaing code samples

* incorporating pauls suggestion

* removing double import

Co-authored-by: Krista Pratico <[email protected]>

* correcting tabs

Co-authored-by: Krista Pratico <[email protected]>

* updating description and removing try catch

* added missing new instance

* updating import

Co-authored-by: Paul Van Eck <[email protected]>

* update typo

Co-authored-by: McCoy Patiño <[email protected]>

---------

Co-authored-by: Krista Pratico <[email protected]>
Co-authored-by: Paul Van Eck <[email protected]>
Co-authored-by: McCoy Patiño <[email protected]>
* add tsp commit

* initial auto gen

* Update sdk/ai/azure-ai-agents/tsp-location.yaml

Co-authored-by: Copilot <[email protected]>

* update latest typespec

* update AzureAISearchTool

---------

Co-authored-by: Copilot <[email protected]>
Co-authored-by: jhakulin <[email protected]>
* removing instrumentor call for azure monitor samples

* updating code snippet

* removing unused import from sample to restart build
Co-authored-by: Patrick Hallisey <[email protected]>
* update agent error details

* update ChangeLog
)

* cspell: Remove node version requirement, node is already on the agent

* Succeeded

---------

Co-authored-by: Daniel Jurek <[email protected]>
* wording

* wording of mcp server

* this?

* update tox

* stdin issue with tox

* try to do the same for tsp-client

* needs root dir
Copy link

Hi @l0lawrence. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days.

Copy link

github-actions bot commented Aug 1, 2025

Hi @l0lawrence. Thank you for your contribution. Since there hasn't been recent engagement, we're going to close this out. Feel free to respond with a comment containing /reopen if you'd like to continue working on these changes. Please be sure to use the command to reopen or remove the no-recent-activity label; otherwise, this is likely to be closed again with the next cleanup pass.

@github-actions github-actions bot closed this Aug 1, 2025
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.