Commit Graph

1433 Commits

Author SHA1 Message Date
Azure SDK Bot
378837fe17
bump used proxy version (#6806)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-10-23 13:40:47 -07:00
Azure SDK Bot
c583f4af14
Only checkout PerfAutomation from azure-sdk-tools - Other files in azure-sdk-tools repo are unnecessary - Unnecessary checkout hurts perf and increases security footprint (#6801)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2025-10-22 11:26:31 -07:00
Azure SDK Bot
ec6a866996
Add date & time when updating attestation status in work item (#6803)
Co-authored-by: Summer Warren <summerwarren@microsoft.com>
2025-10-22 10:41:53 -07:00
Azure SDK Bot
a12d8163d7
Make SDK Release Steps common (#6802)
Co-authored-by: Summer Warren <summerwarren@microsoft.com>
2025-10-22 10:09:43 -07:00
Azure SDK Bot
7a3f332491
Sync eng/common directory with azure-sdk-tools for PR 12532 (#6800)
* Change logging functions to use Write-Host

Change logging helpers to always write to host and either set color or use devops/gh formatting.

We do not want to use Write-Error or Write-Warning directly because they can stop the script or not depending on preferences which makes it difficult to ensure local runs of scripts work the same as in the pipelines. So, we should never depend on these logging commands to cause a script to stop execution.

* Clean up error handling in CommandInvocation-Helpers

Removed legacy error handling for command failures.

* Fix error logging for command execution

* Add option to skip exiting

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2025-10-22 09:45:26 -07:00
Azure SDK Bot
d9dc195971
Remove extraneous unconditional bicep invocation (#6799)
Fails if you don't have `bicep` installed but do have `az bicep` and was unnecessary since the check below it did it anyway.

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2025-10-21 14:23:17 -07:00
Azure SDK Bot
612333d157
update scripts (#6797)
Co-authored-by: helen229 <gaoh@microsoft.com>
2025-10-20 13:30:39 -07:00
Azure SDK Bot
5afdf22a90
Reorder error and warning log line processing (#6792)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-10-20 10:00:18 -07:00
Azure SDK Bot
3587514b29
Sync eng/common directory with azure-sdk-tools for PR 12478 (#6793)
* Updated validate pkg template to use packageInfo

* Fixed typo

* Fixed the right variable to use

* output debug log

* Fixed errors in expression evaluation

* removed debug code

* Fixed an issue in pipeline

* Updated condition for variable setting step

* Join paths of the script path

* Use join-path

* return from the function rather than exit

---------

Co-authored-by: ray chen <raychen@microsoft.com>
2025-10-20 09:49:40 -07:00
Azure SDK Bot
f0b5bfd684
Set-VcpkgWriteModeCache -- add token timeout param for cmake generate's that exceed 1 hour (this can happen in C++ API View) (#6796)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-10-16 20:52:53 -07:00
Daniel Jurek
9023c03ee8
Use vcpkg supplied by eng/common (#6771)
* Use vcpkg supplied by eng/common

* /

* Remove Set-VcpkgWriteModeCache.ps1 in favor of eng/common version

* Use vcpkg versions from https://github.com/Azure/azure-sdk-for-cpp/pull/6756/files
2025-10-16 09:51:40 -07:00
Azure SDK Bot
b1819cda3f
Sync eng/common directory with azure-sdk-tools for PR 12501 (#6791)
* Update copilot instructions to support SDK generation before creating release plan
2025-10-15 14:17:17 -04:00
Azure SDK Bot
ded668be79
Sync eng/common directory with azure-sdk-tools for PR 12483 (#6787)
* Mark TypeSpec upgrade PR as draft when generation fails

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Add condition to run Create_PR job even when Generate fails

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Include emitter name in PR title

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Use emitterIdentifier variable for PR title instead of recalculating

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Include scope in emitterIdentifier for branch and PR names

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Read emitter name from package.json instead of extracting from path

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Resolve emitterPackagePath to absolute path before reading

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Append package.json to emitterPackagePath directory

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

* Add log statement for fallback to package path

Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
2025-10-15 09:41:57 -07:00
Azure SDK Bot
0f764d58ee
Sync eng/common directory with azure-sdk-tools for PR 12467 (#6786)
* Update create-apireview template to use packageInfo

* Use new signature for FindArtifactForApiReviewFn

* Used new signature of FindArtifactForApiReviewFn

---------

Co-authored-by: ray chen <raychen@microsoft.com>
2025-10-14 16:39:38 -07:00
Azure SDK Bot
e7ac8f8d36
Bump @azure-tools/typespec-client-generator-cli (#6784)
Bumps [@azure-tools/typespec-client-generator-cli](https://github.com/Azure/azure-sdk-tools) from 0.28.3 to 0.29.0.
- [Release notes](https://github.com/Azure/azure-sdk-tools/releases)
- [Commits](https://github.com/Azure/azure-sdk-tools/commits)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-13 16:23:47 -07:00
Azure SDK Bot
caac0070d7
Use write-output for matrix script to support upstream callers (#6783)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-10-13 15:14:54 -07:00
Azure SDK Bot
e9cc8a7a37
Sync eng/common directory with azure-sdk-tools for PR 12410 (#6772)
* Added 'ArtifactsJson' parameter

* Made script work for non-java

* Reduced duplicated parsing

* Fixed type error

---------

Co-authored-by: ray chen <raychen@microsoft.com>
2025-10-13 09:06:58 -07:00
Azure SDK Bot
44b5a65419
Sync eng/common directory with azure-sdk-tools for PR 12454 (#6781)
* Revise tsp-client usage instructions in README

Updated usage instructions to use 'npm exec --prefix' for running tsp-client commands. The reason is `tsp-client` needs to resolve the input parameters based on the root folder of SDK repository.

* Update README.md to use brace expansion for variables

* Update README.md

---------

Co-authored-by: Ray Chen <raychen@microsoft.com>
2025-10-13 09:06:04 -07:00
Azure SDK Bot
d17a6c5acb
update conditions in detect-api-changes.yml (#6780)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-10-10 13:48:29 -07:00
Azure SDK Bot
7f5ab67239
Add script/pipeline for manual cpex attestation (#6779)
Co-authored-by: Summer Warren <summerwarren@microsoft.com>
2025-10-10 11:48:05 -07:00
Azure SDK Bot
6ad8fa48b9
Include disambiguation for branch name using EmitterPackagePath (#6778)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
2025-10-10 10:25:59 -07:00
Azure SDK Bot
e19518ea0a
Sync eng/common directory with azure-sdk-tools for PR 12396 (#6770)
* Secure tsp-client usage by using pinned version from package-lock.json

Co-authored-by: raych1 <20296335+raych1@users.noreply.github.com>

* Use absolute path and remove try/finally blocks

Co-authored-by: raych1 <20296335+raych1@users.noreply.github.com>

* Keep original workingDirectory and use Push-Location for directory switching

Co-authored-by: raych1 <20296335+raych1@users.noreply.github.com>

* Resolve EmitterPackageJsonOutputPath to absolute path if relative

Co-authored-by: raych1 <20296335+raych1@users.noreply.github.com>

* Use workingDirectory instead of Push-Location/Pop-Location

Co-authored-by: weshaggard <9010698+weshaggard@users.noreply.github.com>

* Merge path resolution into tsp-client execution step

Co-authored-by: raych1 <20296335+raych1@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: raych1 <20296335+raych1@users.noreply.github.com>
Co-authored-by: weshaggard <9010698+weshaggard@users.noreply.github.com>
2025-10-09 17:17:55 -07:00
Azure SDK Bot
345101e9a5
Sync eng/common directory with azure-sdk-tools for PR 12416 (#6775)
* Pass packageInfo parameter conditionally to Find-Language-Artifacts-For-Apireview

* Use new parameter

---------

Co-authored-by: ray chen <raychen@microsoft.com>
2025-10-09 15:56:21 -07:00
Azure SDK Bot
a42fbeb452
Fix typespec tool reference (#6774)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-10-08 17:13:50 -04:00
Azure SDK Bot
771c6afaba
Sync eng/common directory with azure-sdk-tools for PR 11692 (#6769)
* Add CPEX KPI attestation automation

* Update kusto info and remove schedule in pipeline

* Add Actual Kpi Ids and Remove changed date filter

* Rewrite Triage Attestation Logic

* Fix Kusto command and Add stricter work item query

* Add params for testing

* Resolve stash conflict

* Add Error Handling and Email Notifications

---------

Co-authored-by: Summer Warren <summerwarren@microsoft.com>
2025-10-07 14:48:11 -07:00
Azure SDK Bot
176e49d722
Sync eng/common directory with azure-sdk-tools for PR 12301 (#6762)
* Set up vcpkg cache variables in eng/common

* Paths

* Remove module code, it's not necessary anymore

* Review feedback: Write-Host -> #

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-10-07 11:34:36 -07:00
Azure SDK Bot
6f29059ce9
Revert behavior change introduced in https://github.com/Azure/azure-sdk-tools/pull/12235 (#6767)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-10-03 16:13:55 -07:00
Azure SDK Bot
524d7bc15f
Revert "Use authenticated GitHub request when env variable is present (#12267)" (#6766)
This reverts commit d60198ec38489bc37b8544484519b638d4fa7eca.

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-10-02 15:03:34 -07:00
Azure SDK Bot
cfc9354584
Update Azure pipeline conditions to respect canceled status (#6763)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: benbp <1020379+benbp@users.noreply.github.com>
2025-10-02 13:21:14 -07:00
Azure SDK Bot
5b3bf66882
Sync eng/common directory with azure-sdk-tools for PR 12267 (#6758)
* Use authenticated GitHub request when env variable is present
2025-10-02 15:50:51 -04:00
Azure SDK Bot
fc0a44626e
bump the used proxy version to one that includes the optimizations and fixes necessary to enable the java openai tests (#6759)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2025-10-01 11:03:07 -07:00
Azure SDK Bot
313a43af4f
Log output from mcp installer script as json-rpc (#6757)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-09-30 10:21:11 -07:00
Azure SDK Bot
1231716b59
Bump @azure-tools/typespec-client-generator-cli (#6754)
Bumps [@azure-tools/typespec-client-generator-cli](https://github.com/Azure/azure-sdk-tools) from 0.28.1 to 0.28.3.
- [Release notes](https://github.com/Azure/azure-sdk-tools/releases)
- [Commits](https://github.com/Azure/azure-sdk-tools/commits)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-26 09:00:09 -07:00
Azure SDK Bot
1f7b40dee5
Add DevOps logging support for invoke helper (#6752)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2025-09-25 15:49:08 -07:00
Azure SDK Bot
ad5bd689af
Sync eng/common directory with azure-sdk-tools for PR 12222 (#6753)
* Set pr creator to empty when it's bot

* Removed bot accounts while setting the reviewers and assignees

* Allowed copilot as reviewer

---------

Co-authored-by: ray chen <raychen@microsoft.com>
2025-09-25 14:26:42 -07:00
Azure SDK Bot
3d07c4795f
Remove API Lifecycle prompt from release plan creation instructions (#6751)
Co-authored-by: Summer Warren <summerwarren@microsoft.com>
2025-09-25 11:46:19 -07:00
Azure SDK Bot
c0ef513201
Sync eng/common directory with azure-sdk-tools for PR 12214 (#6750)
* Skip updating pull request URL in work item when value is empty
2025-09-23 16:34:19 -04:00
Azure SDK Bot
88400ee205
Remove CODEOWNERS and service labels instructions until it can be inserted into a more contextually appropriate location for the user (#6749)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-09-23 09:41:27 -07:00
Azure SDK Bot
d0b83a1c29
Sync eng/common directory with azure-sdk-tools for PR 12061 (#6734)
* bump the test-proxy version
* bump proxy to one that includes our multipart/formdata fix

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2025-09-22 15:17:41 -07:00
Azure SDK Bot
be594f38c6
Sync eng/common directory with azure-sdk-tools for PR 12060 (#6747)
* pin tsp-client

* Added a script to wrap the call to tsp-client

* Used npm i to improve per

* Removed script and added readme.md

* Update eng/common/tsp-client/README.md

Co-authored-by: Mike Harder <mharder@microsoft.com>

* Update eng/common/tsp-client/README.md

Co-authored-by: Mike Harder <mharder@microsoft.com>

* Use npm ci for installation

* Added dependabot to readme

* Update eng/common/tsp-client/README.md

Co-authored-by: Mike Harder <mharder@microsoft.com>

* Removed 'prefix' option approach from usage

* Fixed format issue

---------

Co-authored-by: catalinaperalta <caperal@microsoft.com>
Co-authored-by: ray chen <raychen@microsoft.com>
Co-authored-by: Mike Harder <mharder@microsoft.com>
2025-09-18 17:19:45 -07:00
Azure SDK Bot
871d322ea6
Sync eng/common directory with azure-sdk-tools for PR 11868 (#6746)
* added instructions for sdk local workflow

* fix case

* Added missing comma

* Update eng/common/instructions/azsdk-tools/local-sdk-workflow.instructions.md

Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>

* Update eng/common/instructions/azsdk-tools/local-sdk-workflow.instructions.md

Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>

* Update eng/common/instructions/azsdk-tools/local-sdk-workflow.instructions.md

Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>

* Update eng/common/instructions/azsdk-tools/local-sdk-workflow.instructions.md

Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>

* Replace 'tspconfigPath' by the literal file name

* Added routing step to choose workflow

* Added goal and action to some steps properly

* Specified mcp tool name explicitly

* Added back step to choose sdk generation approach

* Specified the mcp tool names explicitly

* Update eng/common/instructions/azsdk-tools/local-sdk-workflow.instructions.md

Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>

---------

Co-authored-by: ray chen <raychen@microsoft.com>
Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
2025-09-18 16:06:19 -07:00
Azure SDK Bot
efcdeeb685
Sync eng/common directory with azure-sdk-tools for PR 11968 (#6745)
* Add copilot instruction for package name properties in typespec config

* Update eng/common/instructions/azsdk-tools/sdk-details-in-release-plan.instructions.md

---------

Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
Co-authored-by: Praven Kuttappan <55455725+praveenkuttappan@users.noreply.github.com>
2025-09-18 12:43:40 -07:00
Azure SDK Bot
6ec7eb07a6
Sync eng/common directory with azure-sdk-tools repository (#6744) 2025-09-18 11:18:52 -07:00
Azure SDK Bot
38326b302a
Add confirmation before sdk generation (#6742)
Co-authored-by: Summer Warren <summerwarren@microsoft.com>
2025-09-17 15:57:41 -07:00
Azure SDK Bot
ad03f7be56
Sync eng/common directory with azure-sdk-tools for PR 11931 (#6739)
* Update create release plan instructions and return

* Update eng/common/instructions/azsdk-tools/create-release-plan.instructions.md

Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>

* Return Release Plan Details

* Update eng/common/instructions/azsdk-tools/create-release-plan.instructions.md

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>

* Add more specific rules for release plan creation

* Add Better instructions

---------

Co-authored-by: Summer Warren <summerwarren@microsoft.com>
Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2025-09-15 11:29:45 -07:00
Azure SDK Bot
1495f1e59d
Make Prepare-Release.ps1 executable (#6733)
Co-authored-by: Heath Stewart <heaths@microsoft.com>
2025-09-11 16:59:08 -07:00
Azure SDK Bot
34c80e3aa2
Add custom instructions to fetch TypeSpec docs (#6731)
Co-authored-by: Christopher Radek <Christopher.Radek@microsoft.com>
2025-09-11 14:07:17 -07:00
Azure SDK Bot
f550fd038e
Sync eng/common directory with azure-sdk-tools for PR 11974 (#6723)
* Add a script to update pull request URL in release plan from SDK generation pipeline
2025-09-05 21:38:51 -04:00
dependabot[bot]
2d969df700
Bump github.com/microsoft/vcpkg from master to ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0 (#6659)
* Bump github.com/microsoft/vcpkg

---
updated-dependencies:
- dependency-name: github.com/microsoft/vcpkg
  dependency-version: ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update vcpkg.json

* Update default VCPKG commit hash in AzureVcpkg.cmake

* try fixing CI by updating xcode version

* 16.2 -> 16.4

* Fix the reason for overfow warning

* Suppress warning C6326: Potential comparison of a constant with another constant.

* Undo unintended format

* Correct condition to check whether it is possible to add epoch to system clock max without overflow

* Insert info for debugging on mac

* Better temp log formatting

* Use largest int type for calcuations (mac fix)

* In case system clock is lesser resolution than Azure::DateTime, do all calculations in a greater ration to avoid integer overflows

* Avoid overflowing system clock max when converting to time since epoch

* Add one more variable for debug logging on mac

* Avoid one more integer overflow

* Remove debug stuff

* CLang-format

* More clang-format

* Less conversions if equal

* Commit to reset CI

* Undo commit to reset CI

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-09-05 14:36:58 -07:00
Azure SDK Bot
bc178b1f98
Source user ID from graph api in TME (#6720)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2025-08-29 16:15:45 -04:00