Commit Graph

1453 Commits

Author SHA1 Message Date
Azure SDK Bot
512b4e31d2
Sync eng/common directory with azure-sdk-tools for PR 13097 (#6849)
* Add New-ChangelogContent and Set-ChangeLogEntryContent functions with tests

Co-authored-by: haolingdong-msft <87355844+haolingdong-msft@users.noreply.github.com>

* Fix string interpolation pattern for consistency

Co-authored-by: haolingdong-msft <87355844+haolingdong-msft@users.noreply.github.com>

* Refactor regex into shared helper and add .Trim() for consistency

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

* Rename New-ChangelogContent to Parse-ChangelogContent

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

* Update Remove-EmptySections to use Get-SectionHeaderRegex helper

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: haolingdong-msft <87355844+haolingdong-msft@users.noreply.github.com>
Co-authored-by: weshaggard <9010698+weshaggard@users.noreply.github.com>
2025-12-01 15:50:35 -08:00
Azure SDK Bot
6fa588e08c
Sync eng/common directory with azure-sdk-tools repository (#6847) 2025-11-26 12:15:55 -08:00
Azure SDK Bot
252cc3032d
Sync eng/common directory with azure-sdk-tools for PR 13040 (#6842)
* Include groupId in the pkg name when create api view request

* Used the package info in the function signature

---------

Co-authored-by: ray chen <raychen@microsoft.com>
2025-11-24 17:17:30 -08:00
Azure SDK Bot
e54ff91062
Sync eng/common directory with azure-sdk-tools for PR 13045 (#6841)
* Enforce an array for single element

* Enforced an array for where filter

---------

Co-authored-by: ray chen <raychen@microsoft.com>
2025-11-24 10:55:54 -08:00
Azure SDK Bot
102c9be4c6
Sync eng/common directory with azure-sdk-tools for PR 12976 (#6838) 2025-11-21 15:24:53 -08:00
Azure SDK Bot
5eed2ccafd
Sync eng/common directory with azure-sdk-tools for PR 13009 (#6837)
* Used another way to construct package info array

* Filtered out empty string for PackageInfoFiles

---------

Co-authored-by: ray chen <raychen@microsoft.com>
2025-11-21 11:30:57 -08:00
Azure SDK Bot
5b9538b106
Bump cspell from 9.2.1 to 9.3.2 in /eng/common/spelling (#6835)
Bumps [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) from 9.2.1 to 9.3.2.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v9.3.2/packages/cspell)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 12:59:57 -08:00
Azure SDK Bot
0eed2707ca
Sync eng/common directory with azure-sdk-tools for PR 12910 (#6829)
* Add cspell upgrade check in check-spelling.yml

* Don't diff against a baseline. Assume spelling is correct before upgrade.

* Review feedback

* Comment

* Review feedback: don't clutter steps unless upgrade script param is used

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-11-18 19:32:09 -08:00
Azure SDK Bot
ba9c199c9e
Bump js-yaml (#6832)
Bumps the npm_and_yarn group with 1 update in the /eng/common/tsp-client directory: [js-yaml](https://github.com/nodeca/js-yaml).

Updates `js-yaml` from 4.1.0 to 4.1.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 17:13:07 -08:00
Azure SDK Bot
62663382da
Check user exists before assigning (#6828)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2025-11-14 12:53:43 -08:00
Azure SDK Bot
046252b054
Sync eng/common directory with azure-sdk-tools repository (#6827) 2025-11-13 15:31:58 -08:00
Azure SDK Bot
75c821f7d2
Sync eng/common directory with azure-sdk-tools for PR 12867 (#6825)
Co-authored-by: jennypng <63012604+JennyPng@users.noreply.github.com>
2025-11-13 09:46:53 -08:00
Azure SDK Bot
5699876dd5
Sync eng/common directory with azure-sdk-tools for PR 12516 (#6813)
* Allow forced creation when release plans already exist

* Update creation instructions

* fix small markdown issues

* Update creation steps

---------

Co-authored-by: Summer Warren <summerwarren@microsoft.com>
2025-11-12 13:25:35 -08:00
Azure SDK Bot
0d4b7db2ad
Adjust link checking for copilot instructions (#6824)
Disable link checking guidelines for copilot instruction files.

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2025-11-12 12:17:03 -08:00
Azure SDK Bot
d5b73b7f6b
Sync eng/common directory with azure-sdk-tools for PR 12758 (#6822)
* add reference doc for adding client customizations in TypeSpec

* Update eng/common/knowledge/customizing-client-tsp.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Apply suggestions from code review

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

---------

Co-authored-by: Christopher Radek <Christopher.Radek@microsoft.com>
Co-authored-by: Christopher Radek <14189820+chrisradek@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
2025-11-10 10:49:51 -08:00
Azure SDK Bot
160ebdb153
Bump @azure-tools/typespec-client-generator-cli (#6820)
Bumps [@azure-tools/typespec-client-generator-cli](https://github.com/Azure/azure-sdk-tools) from 0.29.0 to 0.30.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-11-07 11:40:09 -08:00
Azure SDK Bot
93627686cf
Add ability to skip onboarding legacy moniker to Update-DocsMsPackages.ps1 (#6819)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-11-06 15:26:39 -08:00
Azure SDK Bot
53af908ebc
Sync eng/common directory with azure-sdk-tools for PR 12476 (#6816)
* add tool instructions prompt

* minor

* prompt revision

* prompt revision and fallback to core requirements

* rename langs to languages + revise prompt

* edit prompt and make checks concurrent

* fix prompt

* add venvPath argument

* minor prompt and log edit

---------

Co-authored-by: jennypng <63012604+JennyPng@users.noreply.github.com>
2025-11-05 09:28:27 -08:00
Azure SDK Bot
074d372c96
Sync eng/common directory with azure-sdk-tools for PR 12531 (#6815)
* prompt

* this

* line

* update bens suggestions

* update

* remove try to find pkg path logic

* Update eng/common/instructions/azsdk-tools/check-package-validation.instructions.md

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

* path

* updates

* list numbering incorrect

* linting

---------

Co-authored-by: l0lawrence <llawrence@microsoft.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2025-11-03 12:12:49 -08:00
Azure SDK Bot
e6f6921e08
Sync eng/common directory with azure-sdk-tools for PR 12569 (#6811)
* Upgrade cspell

* Use stdin for cspell input

* Add pipeline support to Invoke-Cspell.ps1

* Quote parameters

* Only quote the needed

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-10-30 10:42:49 -07:00
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