Commit Graph

3841 Commits

Author SHA1 Message Date
Crystal YU
52deff9621 Update eng/common/instructions/azsdk-tools/typespec-authoring.instructions.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-04 13:39:12 +00:00
FAREAST\chunyu
d4875ec058 authoring instruction 2025-12-04 13:39:12 +00:00
FAREAST\chunyu
d68394dce0 authoring instructions 2025-12-04 13:39:12 +00:00
Azure SDK Bot
fe2bbcd162
Remove redundant usage of SpecProjectPath (#6854)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-12-03 11:50:43 -08:00
Azure SDK Bot
243b4de513
Sync eng/common directory with azure-sdk-tools for PR 13102 (#6851)
* Added forRelease input parameter

* Added 'forRelease' to template

* Added log

---------

Co-authored-by: ray chen <raychen@microsoft.com>
2025-12-02 14:34:01 -08:00
Daniel Jurek
20ee0acdf5
learn.microsoft.com docs onboarding engsys (#6818)
* Add metadata fetching

* Update docindex.yml to use new params and variables

* Add onboarding logic and update .gitignore to allow eng/scripts/docs edits

* Test: point to different branch

* Skip onboarding legacy moniker

* Add docs to release process

* REVERT: Test eng/common changes to Update-DocsMsPackages.ps1

* Remove nightly branch work, those require hosted docs

* Make CHANGELOG.md comply with rules

* Fix relevant spelling issues

* TEST: Add GitHub token

* Branch

* push branch

* Set DefinitionId

* Test branch

* Token

* Remove unnecessary condition

* Commitish

* Specify monikers

* Revert test-related changes
2025-12-02 13:26:51 -08:00
Azure SDK Bot
6378718b66
Sync eng/common directory with azure-sdk-tools for PR 13005 (#6839)
* Add field for Spec Project Path property

* Reorder properties

* Cleanup

* Logging

* Move SpecProjectPath into Package-Properties.ps1

* Update SpecProjectPath

* Fix accidental removal of $title

* Create or update with SpecProjectPath

* Revert logic, cannot test

* Revert logic, cannot test

* Revert irrelevant file

* Retain title

* Review feedback

* Review feedback

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2025-12-02 12:10:35 -08:00
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
e70a8a79c2
Increment version for storage releases (#6848)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-datalake

* Increment package version after release of azure-storage-files-shares

* Increment package version after release of azure-storage-queues
2025-12-01 14:19:10 +08:00
microzchang
0da325f0c4
Storage STG100 Beta Release (#6846) 2025-11-27 14:06:15 +08:00
microzchang
72c2c981be
Storage/Stg100/Remove Create File With Data feature (#6845)
* Remove Create File With Data

* Fix build failure

* Fix clang format
2025-11-27 14:05:42 +08:00
Azure SDK Bot
6fa588e08c
Sync eng/common directory with azure-sdk-tools repository (#6847) 2025-11-26 12:15:55 -08:00
microzchang
d90fb78a1f
Storage STG100 Release (#6836)
* Storage/STG100 Protocol Layer Changes (#6695)

* STG100 Protocl Layer Changes

* Fix docs

* Principal Bound Delegation Sas and TQF (#6699)

* Principal Bound Delegation Sas and TQF

* Disable test cases

* Fix test cases

* Fix cspell

* Fix docs

* Fix clang

* Drop DataLake changes (#6704)

* Feature support for EnableDirectoryLease and EncryptionInTransit (#6709)

* Storage STG100/Create File with Content (#6713)

* Create File with content

* Update test record

* Add feature for startFrom/beginFrom (#6708)

* Add test case for list blob with startFrom (#6736)

* Add test case for list blob with startFrom

* Format

* Remove ShareLease feature (#6833)

* Update Swagger and account sas version.

* Update sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_sas_builder.hpp

Fix typo

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

* Update sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_sas_builder.hpp

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

* Update sdk/storage/azure-storage-files-shares/CHANGELOG.md

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

* Update sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_sas_builder.hpp

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

* Fix typo

---------

Co-authored-by: EmmaZhu-MSFT <emmazhu@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-26 14:52:23 +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
Charles Lowell
3dfd63fad3
Update KeyVault CODEOWNERS (#6808) 2025-10-27 10:46:41 -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
Copilot
32b67d1798
Add unit tests for Base64Url encode and decode methods in Core (#6804)
* Initial plan

* Add comprehensive unit tests for Base64Url encode and decode methods

Co-authored-by: RickWinter <4430337+RickWinter@users.noreply.github.com>

* Fix clang-format for base64_test.cpp

Co-authored-by: RickWinter <4430337+RickWinter@users.noreply.github.com>

* Fix misleading comments in Base64Url tests

Co-authored-by: RickWinter <4430337+RickWinter@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RickWinter <4430337+RickWinter@users.noreply.github.com>
2025-10-23 11:38:03 -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
Anton Kolesnyk
397ae78b1e
Delete cgmanifest.json when being installed via vcpkg, but also update SHAs (#6789)
* Delete cgmanifest.json when being installed via vcpkg, but also update SHAs

* Update cspell

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-10-17 14:51:11 -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
d00d68e750
Increment version for storage releases (#6794)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-datalake

* Increment package version after release of azure-storage-files-shares

* Increment package version after release of azure-storage-queues
2025-10-16 09:02:24 -07:00
microzchang
9ada70c530
STG99 Release (#6785) 2025-10-16 14:48:19 +08:00
Larry Osterman
21e92f8712
Added token credential tests to blob tests (#6790)
* Added token credential tests to blob tests

* Fixed linux build error

* HasOption shouldn't crash if option isn't present

* Added token credential tests to all relevant blob tests and added to the perf-tests outputs

* PR feedback
2025-10-16 00:04:18 +00: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