* Rename typespec_derive to typespec_macros
Will be more consistent with upcoming azure_core_macros, and may not contain *just* derive macros anyway. Will keep feature as "derive", though, for derive macros.
* Remove 128-bit number functions for Cosmos
* Implement `#[recorded]` attribute macro
* Allow live-only tests with no parameters
* Replace test_e2e feature with `recorded` attribute macro
* Refactor so that tests need only import azure_core_tests
Also makes the attribute `#[recorded::test]` which, IMO, looks a bit better.
* Fix build breaks
We may need to set env vars for our Windows agents to find OpenSSL, which does appear to be installed. See Azure/azure-sdk-for-rust#1746. For now, I'm removing `--all-features` from this PR since that issue is already tracking adding them separately.
* Add SafeDebug trait derive macro
SafeDebug is really just a marker trait. The associated derive macro implements `Debug` in a way to reduce potentially leaking PII. Currently it just outputs the struct or enum name with the non-exhaustive finish e.g., `MyModel { .. }` but we will expand that later.
Relates to #1707
* Resolve build breaks, impl SafeDebug marker trait
* Use gender-neutral name in example
* change our verifyChangelogs over to utilizing the artifact details. if we don't have an artifact details at all, don't verify changelog. if we do, but skipverifychangelog is present, don't verify changelog. if we have artifact details, but no disable, verify the changelog
---------
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
* ensure that ChangedServices value within the generated pr diff is always properly an array of strings
* upload the changed services as an attachment named AdditionalTags in save-package-properties.yml, to allow PipelineWitness to tag public builds during log processing
---------
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Patrick Hallisey <hallipr@gmail.com>
* Test wasm32-unknown-unknown in Azure Pipelines
Also gets rid of most of GitHub Actions with only E2E tests remaining.
* Remove GitHub Actions and disable non-functioning e2e testing
* Do not check all features, targets for wasm32
* Resolve PR feedback
* Add step for emitting rate limits for a token
* add step to eng/common sync template
* Fix resource label output
* Use propery name instead of nested 'resource' property
* Add percent metric too
* Add divide by zero safety
---------
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
* Common cleanup with the docs docker images no longer being used
* Remove docker-pull-image.yml
---------
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
* Retry container deletion
* Do not try to purge keyvaults with purge protection
* Delete all blobs when container has immutability
* Skip missing blob container properties
* Fix null container
---------
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
* Do not log PII in Debug implementations
Related to #1707 but does not resolve it. Still need a solution to redact headers as needed.
* Fix style lint issues1
* Add getters to HttpError with test
* Fix wasm32 lint issue
* Elide sanitized fields of HttpError
Safest bet for now. We can expose more later when we figure out a pluggable solution, or at least a way to make it easy to sanitize headers and potentially even body.
* Fix lint issue
* Ignore .vscode/settings.json in cSpell
* Add binary request example
Also refactors `FileStream` from `azure_core` to `typespec_client_core`, plus some trait implementations on necessary request structures to make it all work.
* Add FileStream into RequestContent
* Resolve PR feedback
* Resolve PR feedback
* identify and resolve missing function GenerateMatrixForConfig
* identify and resolve miss-used null-coalesce operator
---------
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
* package-properties are now populated with matrix configurations from their ci.yml if present
* create new code path for generate-job-matrix.yml which combines Create-JobMatrix and the "distribute-packages-to-matrix" action to generate dynamic matrices for PRs
---------
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
* Run perf tests under federated auth
Run the tests under the same federated auth used to deploy the tests and setup the variables needed to configure AzurePipelineCredential.
* Fix indention for working directory
---------
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>