-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Perf] corehttp - updating async stream upload httpx test #34674
[Perf] corehttp - updating async stream upload httpx test #34674
Conversation
/azp run python - core - perf |
/azp run python - corehttp - perf |
Azure Pipelines successfully started running 1 pipeline(s). |
API change check API changes are not detected in this pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @swathipil! Do you think it'd be a good idea to put the AsyncIteratorRandomStream
class inside the devtools_testuils.perfstress_tests
namespace, just as a generic alternate to AsyncRandomStream
? I know a few of our SDK methods accept AsyncIterable
as input, so usage could extend outside the httpx use-case.
sdk/core/corehttp/tests/perf_tests/_async_iterator_random_stream.py
Outdated
Show resolved
Hide resolved
sdk/core/corehttp/tests/perf_tests/_async_iterator_random_stream.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor comment amount a comment :), but lgtm!
tools/azure-sdk-tools/devtools_testutils/perfstress_tests/_async_random_stream.py
Outdated
Show resolved
Hide resolved
* async changes (#34019) * [Identity Broker] Minimum Python bump (#34186) - Bumped minimum Python version - Removed reference to `allow_broker` kwarg we no longer use - Fixed variable in README code snippet Signed-off-by: Paul Van Eck <[email protected]> * adjust healthcare test (#34206) * adjust healthcare test * rerecord * Set `use_rcts` in `build_index` helper used by local index build. (#34110) * Set `use_rcts` in `build_index` helper used by local index build. Recursive Text Splitter is enabled by default for cloud index builds and effects how Markdown files are chunked. It preferences chunk length being close to the given `chunk_size` over splitting by heading sections. * Udpate changelog. * Move changelog to latest unreleased version. * Update test-resources.json (#34210) * add workspace rp swagger to 2024 restclient (#34178) * Add offline tests for azure core streaming (#33800) Thank you @HimanshuBarak for your contribution! * Increment version for ai releases (#34201) * Increment package version after release of azure-ai-resources * Increment package version after release of azure-ai-generative * typing fixes. (#34208) * typing fixes. * update * [EG] jan sys events (#33731) * jan sys events * avs events * update * fixes * changelog * Increment package version after release of azure-monitor-opentelemetry-exporter (#34198) * [Cosmos] elevate kwargs for sync client (#34207) * elevate kwargs for sync client, other small fixes * addressed most comments, missing computed properties * provisional marking for computed properties * [Monitor Ingestion] Improve input validation/docs (#33976) - Add another check to see if the user is passing in a string - Include an example in the README about uploading JSON files/strings Signed-off-by: Paul Van Eck <[email protected]> * [Otel Plugin][CI] Add preliminary live test files. (#34115) This adds a tests.yml file and a test-resources.bicep file which can be used in a soon to be setup live test pipeline. Signed-off-by: Paul Van Eck <[email protected]> * Revert "cleanup duplicated code gen ai sdk (#34048)" (#34224) This reverts commit bb974379b240740359b1a74ce9536f3b2ec55c4e. * Added Emulator CI and additional tests for Azure Cosmos SDK (#33363) * Added Cross partition query tests for sync and async APIs * Added license header for new files * Updated database and container creation * Updated python tests with setup and tear down * Fixed some tests cases * Fixed spelling * Added emulator CI * Removed python 3.7 emulator tests config * Removed collection crud tests from emulator * Updated some collection heavy tests to skip for emulator * Fixing python 3.10 * Marking test_computed_properties async test to run only in live tests * Fixed emulator tests with pytest fixtures * Fixed more emulator tests with pytest fixtures * Fixed more emulator tests with pytest fixtures * Fixed more emulator tests with pytest fixtures and updated azure core min version * Fixed flaky tests * Updated stored procedure create calls * Fixing sproc test * Fixing trigger test * Fixing flaky live ci tests * Fixing max parallel and removed python 3.11 for cosmos emulator windows as there is a python open issue * Added MIT license header * Update sdk/cosmos/azure-cosmos/test/test_partition_split_query.py --------- Co-authored-by: Simon Moreno <[email protected]> * Add missing headers to azure-attestation\README.md (#33981) * fix typing (#34227) * 0b7 release (#34239) * allow 'null' to be a value for job tier (#34217) * Remove experimental flags from batch deployments (#34216) * remove experimental flags from batch inferencing entities and schemas for ga * remove unused import * Minor Image Analysis SDK update for beta.2 release (#34213) Per feedback from arch board review, use a dedicated "analyze_from_url" instead of overloading "analyze" to support both analysis from image URL and image buffer. This change is done in the customized code (_patch.py files), not in the auto-generated code. This is documented as a breaking change. The SDK was re-emitted with latest tools, so there are other changes, but they do not affect the functionality and public API surface. * Include device.* attributes in part A fields (#34229) * [Monitor Query] Update metric batch client (#33958) - Renamed the client to `MetricsClient`. - Renamed `query_batch` to `query_resources` - Made `query_resources` positional arguments keyword only Signed-off-by: Paul Van Eck <[email protected]> * Pin azure/login action step to v1.5.1 (#34254) Co-authored-by: James Suplizio <[email protected]> * [Pylint] py_version and is_check_enabled edits (#33743) * py version improvement * conflict * conflict 2 * add py-version to pylintrc --------- Co-authored-by: Krista Pratico <[email protected]> * Batch endpoint fix serialization error (#34205) * Increment version for ai releases (#34251) * Increment package version after release of azure-ai-resources * Increment package version after release of azure-ai-generative * update emitter-package.json (#34262) * Add stress test arm/bicep template prefix to New-TestResources ResourceType set (#34267) Co-authored-by: Ben Broderick Phillips <[email protected]> * [EventHub] l0lawrence's fix import (#34269) * fixes * drop 3.7 * had to switch * fix typing for exception --------- Co-authored-by: Libba Lawrence <[email protected]> * marked non-offline tests as live only (#34247) Co-authored-by: Himanshu Barak <[email protected]> * Update distro dependencies + remove suppport for Python 3.7 (#34252) * [OTel plugin] Add new schema version (#34089) Using the stable 1.23.1 semantic conventions version. Attribute names are also remapped. Signed-off-by: Paul Van Eck <[email protected]> * update emitter version (#34284) * Add encodings folder to azure-ai-resources (#34228) * add encodings * include encodings folder * use local embeddings * use local cache dirs * ignore unknown words in encodings files * Add TeamsRecordingStateChange and TeamsComplianceRecordingStateChange to Alpha (#34215) * generated with swagger * modified change log * modified change log * update setup py 3.12 (#34290) * additional 2/15 preview tests (#34183) * additional 2/15 preview tests * add retry-after-ms tests * remove adapter for v0 byod * skip retry-after tests if testing v0 * get tests passing * Users/anksing/bug bash bugs content safety (#34259) * Bug bash feedback fixes * Adding more tests * Increment package version after release of azure-eventhub (#34293) * Update aka.ms link of JPEG test image used in Image Analysis SDK tests (#34294) Update the aka.ms URL link that points to the JPEG image used in test, to better match the Azure SDK aka.ms links format. Both URL links resolve to the same JPEG image file in one of the public Azure SDK repos, so there is no actual change in test. Sample code is already using the new aka.ms link. Looks like I forgot to update the test a while back when I did the change. Update test recording assets to reflect the change. * Language lint/sphinx (#34263) * conversations pylint/sphinx * questionanswering pylint/sphinx * strict_sphinx enable * regen after update * [Cosmos] PermissionMode import (#34297) * Update permission.py * Suppress pylint * Update next-pyright version (#34231) * Adding source caller id to the answer call option (#34268) * Adding source caller id to the answer call option * Fixing the test failure on the mute participant scenario * skipping mute participant test to unblock the PR checkin Will enable it back once we have the latest test data * changing the ordering of the skip test attributes * updating the API spec endpoint * [Identity] Check exit code for PowershellCredential (#34271) Fixed an issue in AzurePowerShellCredential where if pwsh isn't available and the Command Prompt language is not English, it would not fall back to powershell. Signed-off-by: Paul Van Eck <[email protected]> * Handle package-specific warning suppressions (#34289) * handle package-specific suppressions. enable our un() to **fail** in the build stage * suppressed build warnings -> suppressed skip warnings * [Identity] Add multi-tenant live testing (#34257) In the CI, there are credential envvars that correspond to a multi-tenant enabled application. Here live testing is provided for that along with corresponding recordings. Signed-off-by: Paul Van Eck <[email protected]> * update built-in evaluation flows in evaluation SDK (#34235) * add safety metrics to built-in qa eval flow * update built-in chat eval flow in evaluation sdk * update qa built-in eval flow * add concat_results.py * fix safety metric aggregation function * [CI] Bump pyOpenSSL version used in testing (#34307) This will allow us to test with the latest version of cryptography. Signed-off-by: Paul Van Eck <[email protected]> * Increment package version after release of azure-ai-vision-imageanalysis (#34309) * Fix case-sensitive spelling in scripts that get deployed to C++ repo (#34308) Co-authored-by: Anton Kolesnyk <[email protected]> * azure-communication-identity release updates (#34302) * Connections changes (#34199) * get other conn types in list op * accept empty connections in rest-local conversion * azure blob base changes * partial replacement of if-else with maps in wc * more if-else removal refactors * solidify connection changes * run black on v2 * initial self review * spelling * rerun black and ai nit * more nits, and push flag to v2 * e2e test * e2e test recordings and use 2024 restclient * analyze ci issues * mypy fixes * more mypy * remove 2024 conn dep until CI wakes up * skip problematic test * try bumping mindep * remove skip * undo 1.14.0 dep * add back in 1.14 dep * comments * linting * remove extra line * more linting * run black * assistant tests (#34030) * wip * add more assistant tests * adding more tests * updates after service fixes * update targeted api-version, move all assistants calls under try * update assistant tests to use swedencentral resource * get passing * Move emitter-package.json scripts to eng/common (#34320) Co-authored-by: Patrick Hallisey <[email protected]> * Acr in ai resource (#34287) * add acr and broken test * fix test * docstring nit * docstring nit 2 * cspell * use non-cleansed test names * [Key Vault] Support 7.5 API version in Secrets (#34230) * [Key Vault] Support 7.5 API version in Certificates (#34187) * Update SearchClient.get_answers docstring to clarify meaning (#34321) * Update _paging.py get_answers function doc * Document both async and sync, fix example * Fix async search example as well * Update answers to query_answer to match search() parameter naming * App Configuration - Feature flag refresh (#33693) * Updating feature flag usage * For some reason this isn't popped in async * Updadating Tests * Update CHANGELOG.md * Formatting * Fixing Refresh, Sync * Updating Schema 2.0.0 * Update test_async_provider.py * fixed refresh and merge * fixing mypy * fixing pylint issues * Updated from review comments * Update README.md * Update README.md * Fixed pylint issue * Update assets.json * formatting * pylint and test fix * Updating Min SDK version to bug in 1.4.0 with feature flags * Update setup.py * Updating so configs and feature flags don't refresh each other * Added missing _ and tests * Update assets.json * Fixing MyPy issue * [Key Vault] Support 7.5 API version in Administration (#34057) * [Key Vault] Support 7.5 API version in Keys (#34233) * Retroactively add snapshot container change to changelog (#34332) * Add null value for job tier (#34333) * Increment package version after release of azure-communication-identity (#34335) * Adding tests to capture groundedness with expected values (#34340) * [ServiceBus] Fix typing in tracing method (#34324) This fixes an issue when we try to set a readonly property. In use, this would yield a "can't set attribute" error. Move the cast down to not have it be an assignment to message.application_properties. Signed-off-by: Paul Van Eck <[email protected]> * Add configuration for custom span processors (#34326) * Update CHANGELOG.md (#34342) * Update CHANGELOG.md * move entry to GA * fix old entry * Bring back "cleanup duplicated code gen ai sdk (#34048)" (#34319) * Reapply "cleanup duplicated code gen ai sdk (#34048)" (#34224) This reverts commit 537647b73b3eb1d48c784a9c720a482820e083d9. * remove unused files in tasks * add ignore word llm * ignore llms * Project ARM template fixes. (#34318) * remove managed network creation from project template * remove LAW creation from project ARM template * update project test * Fix pylint version 3.0.3 for exporter and distro (#34339) * Update GitHubEventProcessorVersion (#34353) Co-authored-by: James Suplizio <[email protected]> * Updates to tools for the CodeownersUtils updates (#34354) Co-authored-by: James Suplizio <[email protected]> * [ServiceBus/EventHubs] change invalid link error to warning log (#34352) * change error log to warning * eh error to warning log * update warning to debug * [OTel Plugin] Improve live test coverage (#34323) Here, ServiceBus tests are added to verify span creation, links, and attributes. Signed-off-by: Paul Van Eck <[email protected]> * [Opentelemetry] Fix link to renamed sample (#34357) * Support schedule trigger action (#33918) * Update 2024-01-01-preview restclient Signed-off-by: Brynn Yin <[email protected]> * Upgrade pipeline job and component to 24-01 api Signed-off-by: Brynn Yin <[email protected]> * Add trigger api to operation Signed-off-by: Brynn Yin <[email protected]> * Revert mfe.json change Signed-off-by: Brynn Yin <[email protected]> * Update class name of trigger result Signed-off-by: Brynn Yin <[email protected]> * Use 24client only for schedule trigger Signed-off-by: Brynn Yin <[email protected]> * Fix test mock Signed-off-by: Brynn Yin <[email protected]> * Fix analyze Signed-off-by: Brynn Yin <[email protected]> --------- Signed-off-by: Brynn Yin <[email protected]> * [AutoRelease] t2-containerservice-2024-02-20-24472(can only be merged by SDK owner) (#34374) * code and test * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> * Update SDK Version Prefix (#34226) * Update SDK Version Prefix * lint * lint * [Key Vault] Remove `x509_thumbprint_string` property (#34386) * [ml][schedule][internal] Add to dict func for trigger result (#34392) Signed-off-by: Brynn Yin <[email protected]> * Keep node level original source when update pipeline job. (#34379) * keep node original source * update test and recording * revert * update recording * format * recording failed test * update * revert recording files --------- Co-authored-by: Ying Chen <[email protected]> * fix error message (#34396) * Fix incorrect repo source link (#34388) * Simulator update to current spec. (#34261) * Simulator update * Fix spelling * [AI] Azure OpenAI Deployment CRUD (#34358) * skeleton code for new deployment types * AOAI deployment creation * endpoints operations placeholder, remove dead files * remove begin_update * try sending request as bytes * fix cspell * Changed the parameter from max_count to limit (#34406) * [Key Vault] Handle `cryptography` RSA keys without local key material (#34330) * [AutoRelease] t2-network-2024-01-25-57447(can only be merged by SDK owner) (#34004) * code and test * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> * [AutoRelease] t2-servicefabricmanagedclusters-2024-01-31-31185(can only be merged by SDK owner) (#34073) * code and test * Update assets.json * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]> * [AutoRelease] t2-recoveryservicessiterecovery-2024-02-08-49614(can only be merged by SDK owner) (#34241) * code and test * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> * [AutoRelease] t2-servicefabric-2024-02-02-27725(can only be merged by SDK owner) (#34109) * code and test * Update assets.json * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]> * [AutoRelease] t2-astro-2024-02-06-54705(can only be merged by SDK owner) (#34188) * code and test * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> * [AutoRelease] t2-storagecache-2024-01-23-36234(can only be merged by SDK owner) (#33953) * code and test * update-testcase * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]> * code and test (#34411) Co-authored-by: azure-sdk <PythonSdkPipelines> * Fixing automl image segmentation test and increasing the gate timeout (#34381) * increase timeout * use mmd 3.x model name format * parameterizing the timeout * [SB] Remove uAMQP Perf Runs (#33949) * remove uamqp perf runs * update sb version * RAG Stop Ignoring/Fix mypy Errors. (#34200) * first set remove ignores * added aupdate acs test * rerun flakey tests * add pickling support (#34134) * add pickling support * update * update * update * update * update * typing * black * update * update * updates * black * update * update changelog * Fix links to open source licenses (#34420) * [Key Vault] Prepare for data-plane library releases (#34409) * Add `application.ver` to Part A fields for exporter (#34401) * [Corehttp] Add code snippets to docstrings (#33207) Signed-off-by: Paul Van Eck <[email protected]> * [corehttp] Misc updates (#34394) These updates are similar updates that were made to azure-core previously. - Changed ServiceNamedKey to be a class instead of a namedtuple to fix a verifytypes issue. - Typing/linting updates. - Async auth policy lock refactoring. - Refactored streaming tests to remove requirement on external endpoint. Signed-off-by: Paul Van Eck <[email protected]> * Add aks to statsbeat and prefix (#34427) * Add aks to statsbeat and prefix * Fixed tests to run on vms * Feature Management Update Schema (#34421) * Update Schema * spelling * formatting * [ML] Increment version to 1.15.0 (#34437) * Update _version.py * Update CHANGELOG.md * [corehttp] use typeguard for HTTPPolicy/SansIOHTTPPolicy check not isinstance (#34296) * sansiohttppolicy inherits from protocol * fix sans io policy tests * fix mypy errors * fix httpresponse/requesttype is unbound in retry + contravariant sansio policy * remove extra import * fix pylint/black * address paul's comments * update sansiohttppolicy on_response/on_request to return None for mypy * add is_http_policy/is_sansio_policy typeguard check * add tests * black * add back elif policy * add typing to is__policy checks + tests * Apply suggestions from code review Co-authored-by: Paul Van Eck <[email protected]> --------- Co-authored-by: Paul Van Eck <[email protected]> * accept float "retry-after" (#34253) * accept float "retry-after" * black * update * update tests * update * Update github-event-processor version (#34438) Co-authored-by: James Suplizio <[email protected]> * Re-route instance count to resource config for Model Batch Deployment (#34249) * Re-route instance count to resource config * fix * fix * unittest model batch deployment settings * in a previous build, we ensured that all requirements at rest are properly updated. this means that using a freshmade package always doesn't make sense anymore. not only that, but for packages like azure-storage-extensions, we SHOULDNT built it again (#34431) * add text-to-speech tests (#33791) * add tts tests * updates for aoai * update targeted api version * modify qa evaluation flow (#34364) * fix KeyError bug in chat evaluation flow * modify supported metrics in both qa and chat evaluation * fix KeyError bug in chat evaluation flow * fix evaluation output column filtering * modify qa evaluation flow: * remove ada_similarity * change default value of context and ground_truth to "" * fix aggregation and concat_result of qa eval flow * modify qa eval flow: * modify rai service request_body format * add data validation for safety metrics * fix bugs in aggregation step * [Storage] Expose `services` to be configurable for account SAS generation (#34389) * Expose Services to be configurable for account SAS generation * Nit * Changelogs, tests for blob&file SAS token combo * Fix typehint to support str * Fix import * No network calls assert ss= * Remove service calls, unit test :D * Export Services, fix imports * [Corehttp] Prepare changelog (#34439) Signed-off-by: Paul Van Eck <[email protected]> * move core perf files to azure-core folder (#34441) * [Storage] Fix `get_paths` API typehint (#34442) * Fix typehint for get_paths async/sync * Adjust commit 1 level traversal * fix mindependency error (#34434) * fix test * fix test * Update pyproject.toml * Update pyproject.toml * Update pyproject.toml --------- Co-authored-by: Yuchao Yan <[email protected]> * add serialization support (#34310) * add serialization support * updates * update changelog * updates * update * update * update * update * Update sdk/search/azure-search-documents/CHANGELOG.md Co-authored-by: Paul Van Eck <[email protected]> * update * update * update --------- Co-authored-by: Paul Van Eck <[email protected]> * [ai] Improve reference documentation descriptions for azure-ai-resources (#34387) * Revert change to acs_connection_id type * Update ref docs for _ai_client * Update ref docs for constants._common * Update ref docs for entities.ai_resource * Update ref docs for entities.configs * Update ref docs for entities.data * Add missing import for List * Address mypy errors * Update ref docs for entities.deployment * Update ref docs for entities.deployment_keys * Update ref docs for entities.mlindex * Update ref docs for entities.models * Update ref docs for entities.project * Update ref docs for operations * Fix import error * Silence mypy name-defined error for pandas type * Address mypy errors * Remove in-docstring link to suppress mypy reference error * Fix multiple target docstring issue * Update wording, fix typos * update scope for redis (#34288) * update scope for redis * Update azure-aad-auth-with-redis-py.md * Update azure-aad-auth-with-redis-py.md --------- Co-authored-by: Vinay Gera <[email protected]> * [Identity][CI] Integration test setup adjustments (#34403) - Use an microsoft-owned image for the AKS Dockerfile. - Pin the az cli version to workaround an issue deploy Azure Functions. Signed-off-by: Paul Van Eck <[email protected]> * Increment version for keyvault releases (#34432) * Implement quickpulse exporting functionality (#34141) * FineTuning Job SDK changes. (#34436) * WIP * Further changes in schema. * Add sdk classes. * Add more parsing logic. * Unit test passing. * Add aoai conversion test. * More corrections. * Integration test working with some caveats. * outputs passing. * test updates. * Test using yaml * aoai schema parsing test. * Remove unwanted. * remove unwanted * remove unwanted. * Remove unwanted. * Remove unwanted. * Remove unwanted. * Remove unwanted. * Fix the tests. * Added e2e aoai ft * dupe imports * More corrections. * Remove unwanted part. * Rearrange stuff. * Fixes. * Fix comments. * add init * Fix the tests. * mypy - Fix warning and errors. * Fix mypy * Fix mypy * Fix mypy * Fix mypy * Fix mypy * Fix mypy --------- Co-authored-by: Sagar Sumant <[email protected]> * Update version of github-event-processor (#34471) Co-authored-by: James Suplizio <[email protected]> * Updates to tools for CodeownerUtils updates (#34472) Co-authored-by: James Suplizio <[email protected]> * [EventHubs/ServiceBus] update network trace params to use empty strings not None (#34458) * update network trace params * update network trace params eh * update changelog * Updates with Api review Fixes (#34428) * Updates with Api review asks This update changes key word priority_level to priority and adds it as an option to delete and batch execution. This also allows bad request exception to go through if user puts a value other than high or low for priority. This also makes additional classes related to partition key and prefix partitions as private. Additionally a test that accommodates the bad request exception from invalid priority value has been added. * update murmurhash3 tests tests were failing because it was referencing Uint128 when it was changed to _UInt128 * [AI] test: Add support for recording requests from the `openai` package (#34424) * test: Add support for recording requests sent through openai * chore: remove unused import * chore: Initialize assets.json * fix: Spelling error in docstring * chore: Add openai as dev_requirement for azure-ai-resources * test: Ensure enum is serialized as value * Add EnforceMaxLifeOfIssues to event-processor.config set to Off (#34476) * Add metrics namespace opt-in (#34463) * Update exporter/distro README (#34462) * Allow relative EmitterPackageJsonPath in New-EmitterPackageLock.ps1 (#34461) Co-authored-by: Patrick Hallisey <[email protected]> * Pin typespec packages and update emitter-package-lock.json (#34419) * [EventHubs] update credential used for tests for pwsh/cli auth (#34478) * update credential used for tests * apply cr changes * udpate emitter package.json (#34481) * remove unused testApplicationSecret from test-resources.json (#34486) * Sdk owners (#34328) * update sdk owners * update * update * update * update * update * Update .github/CODEOWNERS Co-authored-by: Jesse Squire <[email protected]> * Update .github/CODEOWNERS Co-authored-by: Jesse Squire <[email protected]> * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update --------- Co-authored-by: Jesse Squire <[email protected]> * review changes (#34480) * Increment package version after release of azure-eventgrid (#34255) * remove pinned deps to generate (#34515) * Exporter release 1.0.0b23 (#34512) * A way to output simulated qa in a format compatible with eval (#34479) * Changed the parameter from max_count to limit * Add a method to have output in qa format from simulator * simulation_result_limit was missing from main * Fix readinto typehint (#34444) * Re-add experimental flags (#34510) * readd experimental flags * black reformatting * [WebPubSub] Release 1.1.0 for bug fix (#34492) * init * resolve comments * resolve new comments * disabled some checks * update release date (#34521) * [Storage] Enable Py_LIMITED_API for extensions (#34523) * port retry-after fix into corehttp (#34536) * port retry-after fix into corehttp * update * Update GPL license link (#34540) * Sync eng/common directory with azure-sdk-tools for PR 7682 (#34464) * Support resolving environment variable references in matrix config * Improve type and null handling * Fix reference bug * Change behavior on missing env vars to throw --------- Co-authored-by: Ben Broderick Phillips <[email protected]> * Users/anksing/event closed bug (#34495) * Adding tests to capture groundedness with expected values * Using threadpool to calculate prompt metrics instead of ayncio * Streaming logs for PF run so to show them on console * [ACS JobRouter] Max concurrent offers on workers (#34193) * Max concurrent offers on workers * Max concurrent offers on workers updated with tests * update commit for tspconfig to account for beta release * fix apiview issues * update CHANGELOG.md and add samples * fix lint and mypy errors * update assets.json * [Cosmos] Partition key not optional (#34306) * partition key not optional * Use typing alias * PartitionKey is not optional * Updated PartitionKeyType * Fix pylint * Update github-event-processor ver to 1.0.0-dev.20240229.2 (#34544) Co-authored-by: James Suplizio <[email protected]> * Add as_dict support (#34508) * Add as_dict support * updates * updates * Update * update * update * updates * update * update * updates * Update test-resources.json (#34546) * Increment package version after release of azure-core (#34541) * Increment package version after release of azure-monitor-opentelemetry-exporter (#34542) * adding interrupt call media operation flag (#34315) * adding interrupt call media operation flag * adding interrupt call media flag to play all * adding tests for interrupt call media flag * fixing the test issue * addressing PR comments * missed to change the default value in play all for interrupt media flag * setting the type for interrupt flag to set bool or none * setting default to interrupt media operation call flag * fixing tests * running live tests and updating the test events json * updating the asset json change to fix the test * [Corehttp] add perf tests (#34412) * copy over core perf tests * update readme * update perf tests to corehttp * add query attribute to httprequest in perf tests * update httppolicy checks in pipeline base * add perf tests yml for corehttp * move perf tests yml into corehttp folder * fix merge * move perf files to corehttp * black * add dev reqs for perf * add identity to dev reqs * remove 1.0.0b3 from perf tests * update corehttp aad envvars get * update perf tests.yml * revert azure core perf yml * update perf readme * remove unneeded policies * address kashif/paul comments * black * black on azure core * update azure-core auth envvars (#34535) * Conda20240301 (#34399) * add identity for storage * add more tests * update * conda 2024-03-01 * update * update * update * Update conda/conda-releaselogs/uamqp.md * update * update * remove 312 * update conda_functions and build yaml to build successfully on all platforms * update * update * update * update * add 312 * update --------- Co-authored-by: Scott Beddall (from Dev Box) <[email protected]> * [ServiceBus] prep release 7.12.0 (#34543) * update changelog + samples for timeout * update classifiers * kashif comments * fix: correctly initializes the completion time of the copy properties of a blob (#34559) * Azure Monitor Distro release 1.3.0 (#34537) * Azure Monitor Distro release 1.3.0 * Update exporter version * Fix matrix CI tests (#34327) Co-authored-by: Ben Broderick Phillips <[email protected]> * SDK implementation for Radiology Insights (in public preview) (#34317) * init * Create async_sample.py * Create sample_critical_result_inference_async.py adding sample * Delete async_sample.py removed old async sample * Adding tests folder with samples and update README * cleanup of README links, adding changelog and add ci.yml entry * Code cleanup based on Black * Create sdk_packaging.toml * Update cspell.json * Update README.md * Update _models.py * pylint fixes adding pylint exclusions * addition of testing rewrote testclass & added playback functionality through assets repo * updating assets.json with new recordings and adressing review comments updating assets.json with new recordings and adressing review comments * adding sync tests and samples * adressing reviewer comments adressing reviewer comments * test fixes fix test issues in playback mode * remove dependency remove pytz dependency * add ignore for non-radiology insights projects & fix non-existing module * ignore pyright in non RI packages ignoring pyright errors in non radiology insights packages * fixing some additional reviewer comments * SDK generated with latest typespec * fix ci issues * clean up samples clean up samples --------- Co-authored-by: Asaf Levi <[email protected]> * Update docstring.md (#34560) * add link and update release date (#34562) * add link and update release date * Update CODEOWNERS * Update CODEOWNERS * Update CODEOWNERS * Update CODEOWNERS * User API 2024-03-01-Preview (#34475) * User API 2024-03-01-Preview * update * update recording * update changelog * update * [ml] Fix missing parent ids in trace logs (#34405) * Revert change to acs_connection_id type * Implement working POC for trace logging * Refactor to take ops_logger as argument * Remove debug statements and update tests * Add check for OpsLogger type * Add check for OpsLogger type in monitor_with_telemetry_mixing * Update tests * Address mypy errors * Address mypy errors * Suppress mypy error * Refactor log_record_to_telemetry and save trace_id, span_id, and activity_id * Remove name from span * Remove whitespace to eliminate pylint error * Add changelog, add prefix ValueError for list_blobs, list_blobs_names, and walk_blobs (#34443) * Remove manual test proxy setup instructions (#34573) * Normalize the managed identity type in pipeline command and parallel node (#34435) * allow prs run settings binding to literal input * fix managed identity issue * refine * revert * fix UT --------- Co-authored-by: Xiaole Wen <[email protected]> * [Cosmos] Bugfix for race condition on async lock (#34579) * Update _global_endpoint_manager_async.py * Update CHANGELOG.md * skip waiting for network request since we're updating regardless * Update CHANGELOG.md * Update CHANGELOG.md (#34580) * [Cosmos] skip user agent test (#34584) * skip test failing in pipelines for some reason * manually closing a client that is already using an async context * [AutoRelease] t2-rdbms-2024-02-27-90755(can only be merged by SDK owner) (#34466) * code and test * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> * [AutoRelease] t2-chaos-2024-02-21-34265(can only be merged by SDK owner) (#34391) * code and test * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> * [AutoRelease] t2-azurelargeinstance-2024-02-06-59708(can only be merged by SDK owner) (#34191) * code and test * Update CHANGELOG.md * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> * [AutoRelease] t2-redisenterprise-2024-01-23-52802(can only be merged by SDK owner) (#33954) * code and test * update-testcase * Update assets.json * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]> * [AutoRelease] t2-datafactory-2024-01-26-41491(can only be merged by SDK owner) (#34025) * code and test * Update CHANGELOG.md * Update dev_requirements.txt --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> * [AutoRelease] t2-playwrighttesting-2024-01-23-75657(can only be merged by SDK owner) (#33963) * code and test * update-testcase * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]> * [PYTHON] Communication Identity | Dropped 3.7 support (#34555) * Removing python 3.7 support * Fix EnforceMaxLifeOfIssues event and run time (#34596) Co-authored-by: James Suplizio <[email protected]> * Increment package version after release of azure-monitor-opentelemetry (#34569) * [Core] Fix for Mypy-Next Errors (#34507) * add definition for response * type ignore opentelemetry error * fix mypy issues * black * black formatting * opentelemetry Exporter drop use of deprecated utcnow (#34469) * install tool dependencies before verify ci step in release build (#34597) * install tool dependencies before verify ci step in release build * test ci_enabled=false * now test without ci_enabled * [Storage] Fix sparse page blob download (#34588) * Make backward compatible (#34607) * Sync eng/common directory with azure-sdk-tools for PR 7758 (#34609) * Add 1es changes for job/matrix generation and publish * Use more flexible pool filter for prev/next pool matches * consolidate displayname definition * use linux pool variables for generate matrix job * Fix publish artifact * Use single publish task for publish artifact --------- Co-authored-by: Ben Broderick Phillips <[email protected]> * Fix mypy errors in ApiView (#34477) * fix mypy errors * fix mypy errors - 2 * fix definition.py * fix mypy errors - 3 * fix mypy errors - 4 * fix mypy errors - 5 * fix mypy errors - 6 * fix mypy errors in comments * fix comments issues * identity chanagelog (#34598) * Users/anksing/chat built in flow fix (#34603) * Adding tests to capture groundedness with expected values * Fixing built in task type chat * Reverting logger change * Fixing built in task type chat * Reverting logger change * Update the logging level as this is supposed to be a warning (#34504) * Update the logging level as this is supposed to be a warning * Update _connection_async.py to warning instead of error logging level * Stop requiring SP credentials when user-based auth is used (#34561) * update testcase for azure-mgmt-automation (#34620) * update-testcase * fix-testcase * [ml] Fix api view mypy errors (#34581) * Revert change to acs_connection_id type * Address remaining type issues * Revert changes to irrelevant files * Add whitespace back * Remove unintentional change * Remove Optional type annotation from get() methods * Remove duplicate overloads * Fix circular import * Revert lost input/output overload types * Remove duplicate overloads for uri_folder * Use type:ignore to silence known incompatibilities * Increment package version after release of azure-identity (#34626) * Fixes copy issue (#34615) * Update API documentation link (#34622) * [ServiceBus] prep release (#34628) * update sb changelog * prep release * use optional env for azure openai tests (#34517) * use optional env for azure openai tests and remove v0 tests * update param ToxTestEnv in live test template * enable optional * debug * fix config options * fixes to path for audio file and install aiohttp dev req * remove debug logging line * debugging test failure * more debug * undo debug testing, use pathlib for paths, target sys.executable for cli tests * cspell ignores * no logprobs * Yifanzhou/purview datamap 0901 (#34369) * update SDKs * update * update test * Update CHANGELOG.md * Update conftest.py * update * regenerate * update test * update tests * update * Update conftest.py * update * Update cspell.json * Update cspell.json * Create assets.json * Update environment_exclusions.py * Update assets.json * Update README.md * Delete sdk/purview/azure-purview-datamap/tests/recordings directory * update samples * Update assets.json * Update README.md * Update CHANGELOG.md * Update README.md * Update get_types.py * update * update * Update README.md * Create pyproject.toml * Update CHANGELOG.md * Update sdk/purview/azure-purview-datamap/README.md Co-authored-by: catalinaperalta <[email protected]> * Update sdk/purview/azure-purview-datamap/README.md Co-authored-by: catalinaperalta <[email protected]> * Update get_types.py --------- Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: Yuchao Yan <[email protected]> Co-authored-by: catalinaperalta <[email protected]> * Update CHANGELOG date (#34632) * Sync eng/common directory with azure-sdk-tools for PR 7810 (#34633) * Run publish on failed or succeeded * Expand agent os string detection * Check agent job status env var for artifact name detection * Add sbomEnabled flag to publish template * Fix image and artifact name conditional --------- Co-authored-by: Ben Broderick Phillips <[email protected]> * Pylint Errors Fix for azure-ai-generative (#34180) * fix line too long - 1 * fix line too long - 2 * fix line too long - 3 * fix line too long - 4 * fix import-error * fix unused-import * fix wrong-import-order error * fix import pylint errors * fix import pylint errors - 2 * fix whitespace errors * fix mypy error * fix too-many-locals errors * fix line-too-long errors - 5 * fix import errors - 2 * fix mypy error * fix mypy error - 2 * fix unused-variable errors * fix too-many-branches/too-many-statements errors * fix global-variable errors * fix no-else-return errors * fix mypy errors * fix protected-access errors * fix unspecified-encoding errors * fix unspecified-encoding errors - 2 * Merge branch 'main' into v-kevizhang/ai-generative-pylint-fix - 2 * fix name-too-long errors * fix attribute-defined-outside-init errors * fix file-needs-copyright-header errors * fix unused-argument errors - 1 * fix unused-argument errors - 2 * fix unused-argument errors - 3 * fix unnecessary-pass, no-member errors * fix logging-fstring-interpolation errors * fix inconsistent-return-statements errors * fix client related pylint errors * fix misc pylint errors * fix f-string-without-interpolation errors * fix misc errors - 2 * fix dangerous-default-value errors * fix misc errors - 3 * fix misc errors - 4 * fix misc errors - 5 * fix misc errors - 6 * fix broad-except errors - 1 * fix broad-except errors - 2 * fiix misc errors - 7 * fix docstring related errors - 1 * fix cracking.py docstring errors * fix docstring errors * fix mypy error * fix docstring errors - 2 * fix docstring format error * fix docstring related issues * fix misc pylint errors * fix docstring format error * fix misc pylint errors - 2 * fix misc pylint errors - 3 * fix error * fix misc pylint errors - 4 * enable pylint * fix pylint errors * fix pylint errors - 1 * fix pylint errors - 2 * fix pylint errors * fix comments issues * fixed the issue that context is missing for EntityRecognitionSkill (#34629) * fixed the issue that context is missing for EntityRecognitionSkill * update changelog * [Storage] Update Blob CHANGELOG after hotfix (#34644) * update breakingchange config (#34647) * Increment package version after release of azure-search-documents (#34643) * Increment package version after release of azure-servicebus (#34661) * update mgmt docs build to not rely on hardcoded mappings (#34482) * hardcoding everything wip, should able to compute automatically * update the code to not use hardcoded package_service_mapping * make sure we preserve ordering of latest --> oldest * update copyright year * RAI simulator support for context in QA eval (#34617) * Changed the parameter from max_count to limit * Add a method to have output in qa format from simulator * simulation_result_limit was missing from main * Return the right result variable for full_result * to json lines supports saving context to forward it to eval * Forward the context when context is available in full response * Removing metadata, ch_template_placeholders from chat_protocol * Update _utils.py Nit fix * [ML] Fix operation keyword arg (#34666) * [ML] Fix operation keyword arg * Update _model_operations.py docstrings * Fix docstring * Datastore docstrings * Update image_classification_search_space.py type hints * TestResources - Bubble up errors in Retry with pipe statements (#34667) Co-authored-by: Ben Broderick Phillips <[email protected]> * MoMo api review changes (#34670) * api review * fix * [ml] Fix datalake gen2 datastore type annotation (#34669) * Remove Optional type annotation from get() methods * Remove duplicate overloads * Update type annotations --------- Co-authored-by: Anna Tisch <[email protected]> * 1ES Template Conversion (#34663) * pull across the unified yml changes for 1es. the holistic tests.yml changes will be coming in a follow-up manual commit to main * Yaml adjustments to bring the majority of the tests.yml into compatibility with the 1es changes. ***NO_CI*** * [DocumentIntelligence] Generate from the latest typespec with service API 2024-02-29-preview (#34564) * Increment package version after release of azure-cosmos (#34585) * ensure that we skip BuildTags for GithubPullRequests (#34677) Co-authored-by: Scott Beddall (from Dev Box) <[email protected]> * [EventHubs] fix failing test pipeline (#34689) * fix failing pipeline * skip build tages for gh prs in live tests * test add dns * [DI] Rename base64_source (#34634) * fix simulator calling (#34678) * Reverting models to make sure calls to the simulator work * quotes * Spellcheck fixes * ignore the models for doc generation * Fixed the quotes on f strings * pylint skip file * Update shared_requirements.txt * [Tracing] Add EventHubs live tracing tests (#34578) Signed-off-by: Paul Van Eck <[email protected]> * more updates to various image references (#34692) * update the docstring at `period` parameter of `ProbeSettings class` (#34298) * Update deployment_settings.py `period` parameter description at `ProbeSettings class` is lack, so we can't check the what parameter means in [doc](https://learn.microsoft.com/en-us/python/api/azure-ai-ml/azure.ai.ml.entities.probesettings?view=azure-python). I edited the docstring about `period` parameter and added description. * Update sdk/ml/azure-ai-ml/azure/ai/ml/entities/_deployment/deployment_settings.py --------- Co-authored-by: Anna Tisch <[email protected]> * Update featureset spec for featureset source (#34668) * Update featureset spec for featureset source * Update source_matadata_schema * Correct typo * Move checks to constructor and add more unit tests * Fix pylint errors --------- Co-authored-by: Anya Li <[email protected]> * [Text Translation] Allow users to pass in just string instead of complex object (#34516) * Allow users to pass in just string instead of complex object * Update change log * Fix spelling error * Update changelog * Fix changelog * Update version number * Fix the build * Fix build * Fix the mypy issues * Fixing PR comments --------- Co-authored-by: Michal Materna <[email protected]> * Prepare for release (#34703) * Increment package version after release of azure-ai-documentintelligence (#34704) * Add dotnet-api product slug to sample metadata script (#34706) Co-authored-by: Anne Thompson <[email protected]> * [Perf] corehttp - updating async stream upload httpx test (#34674) * add async iterator random stream for async httpx * update perf tests with same args for easier comparison of perf * pauls comments * update asynciterator comment to iterable * Remove defunct user from CODEOWNERS (#34707) * Sync .github/workflows directory with azure-sdk-tools for PR 7845 (#34709) * Create a separate job for events requiring Az CLI * Update .github/workflows/event-processor.yml Co-authored-by: Wes Haggard <[email protected]> --------- Co-authored-by: James Suplizio <[email protected]> Co-authored-by: Wes Haggard <[email protected]> * Update Prepare-Release.ps1 to handle only one previous release (#34708) In the case there is exactly one previous release PS will return the single object and thus the Count property will not exist. Instead this change ensures that we always have a list. Co-authored-by: Wes Haggard <[email protected]> * remove upper bound in setup.py (#34402) * remove upper bound in setup.py * update * update * update * revert change for monitor * update * Add myself/mccoy to the tools directory codeowners (#34524) * add myself to tools/ directory * add mccoy --------- Signed-off-by: Paul Van Eck <[email protected]> Signed-off-by: Brynn Yin <[email protected]> Co-authored-by: Simon Moreno <[email protected]> Co-authored-by: Paul Van Eck <[email protected]> Co-authored-by: Krista Pratico <[email protected]> Co-authored-by: Lucas Pickup <[email protected]> Co-authored-by: shail2208 <[email protected]> Co-authored-by: MilesHolland <[email protected]> Co-authored-by: Himanshu Barak <[email protected]> Co-authored-by: Azure SDK Bot <[email protected]> Co-authored-by: Xiang Yan <[email protected]> Co-authored-by: Libba Lawrence <[email protected]> Co-authored-by: Hanchi Wang <[email protected]> Co-authored-by: Kushagra Thapar <[email protected]> Co-authored-by: Michael Wynne <[email protected]> Co-authored-by: Taji Harris <[email protected]> Co-authored-by: Darren Cohen <[email protected]> Co-authored-by: Leighton Chen <[email protected]> Co-authored-by: James Suplizio <[email protected]> Co-authored-by: Nemanja <[email protected]> Co-authored-by: swathipil <[email protected]> Co-authored-by: Ben Broderick Phillips <[email protected]> Co-authored-by: Himanshu Barak <[email protected]> Co-authored-by: iscai-msft <[email protected]> Co-authored-by: jingyizhu99 <[email protected]> Co-authored-by: amariwest-msft <[email protected]> Co-authored-by: Ankit Singhal <[email protected]> Co-authored-by: Anna Tisch <[email protected]> Co-authored-by: Vinothini Dharmaraj <[email protected]> Co-authored-by: Scott Beddall <[email protected]> Co-authored-by: qusongms <[email protected]> Co-authored-by: Anton Kolesnyk <[email protected]> Co-authored-by: Maqsood Jafferi <[email protected]> Co-authored-by: Patrick Hallisey <[email protected]> Co-authored-by: McCoy Patiño <[email protected]> Co-authored-by: Pamela Fox <[email protected]> Co-authored-by: Diondra <[email protected]> Co-authored-by: Neehar Duvvuri <[email protected]> Co-authored-by: Brynn Yin <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: Jeremy Voss <[email protected]> Co-authored-by: Ying Chen <[email protected]> Co-authored-by: Ying Chen <[email protected]> Co-authored-by: Kashif Khan <[email protected]> Co-authored-by: kicha0 <[email protected]> Co-authored-by: Nagkumar Arkalgud <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: Nilesh Vijayrania <[email protected]> Co-authored-by: clomeli-ms <[email protected]> Co-authored-by: vincenttran-msft <[email protected]> Co-authored-by: Yuchao Yan <[email protected]> Co-authored-by: Vinay Gera <[email protected]> Co-authored-by: sagarsumant <[email protected]> Co-authored-by: Sagar Sumant <[email protected]> Co-authored-by: bambriz <[email protected]> Co-authored-by: kdestin <[email protected]> Co-authored-by: Jesse Squire <[email protected]> Co-authored-by: Siyuan <[email protected]> Co-authored-by: Jacob Lauzon <[email protected]> Co-authored-by: Rajarshi Sarkar <[email protected]> Co-authored-by: Yalin Li <[email protected]> Co-authored-by: Scott Beddall (from Dev Box) <[email protected]> Co-authored-by: Héctor Sab <[email protected]> Co-authored-by: koen-mertens <[email protected]> Co-authored-by: Asaf Levi <[email protected]> Co-authored-by: xiaolewen <[email protected]> Co-authored-by: Xiaole Wen <[email protected]> Co-authored-by: Jens Hedegaard Nielsen <[email protected]> Co-authored-by: Mickey Zhang <[email protected]> Co-authored-by: Kevin Zhang <[email protected]> Co-authored-by: Richard Oberdieck <[email protected]> Co-authored-by: Yifan Zhou <[email protected]> Co-authored-by: catalinaperalta <[email protected]> Co-authored-by: Tianen <[email protected]> Co-authored-by: kazuyaonuki-MSFT <[email protected]> Co-authored-by: Anya Li <[email protected]> Co-authored-by: Anya Li <[email protected]> Co-authored-by: Michal Materna <[email protected]> Co-authored-by: Michal Materna <[email protected]> Co-authored-by: Anne Thompson <[email protected]> Co-authored-by: Wes Haggard <[email protected]>
The async upload_stream perf test in corehttp is currently failing with AsyncHttpXTransport. httpx is encoding the stream content as IteratorByteStream rather than AsyncIteratorByteStream due to the lack of an aiter method and the iter method on the AsyncRandomStream.
Adding a separate AsyncIteratorRandomStream in corehttp perf tests just for this scenario. Copied over from the perfstress tools AsyncRandomStream. Only other changes:
Additionally, updating perf test scenario arguments to align size/parallel values for easier comparison between "base" case and other tests.