Skip to content

Conversation

@jliusan
Copy link
Member

@jliusan jliusan commented Jan 21, 2026

generation base on spec branch kazrael2119:communication-convert

Copilot AI review requested due to automatic review settings January 21, 2026 09:43
@jliusan jliusan changed the title [Migrate-Mitigation] sdk/resourcemanager/communication/armcommunication #25904 [Migrate-Mitigation] sdk/resourcemanager/communication/armcommunication Jan 21, 2026
@github-actions github-actions bot added the Mgmt This issue is related to a management-plane library. label Jan 21, 2026
@github-actions
Copy link

API Change Check

APIView identified API level changes in this PR and created the following API reviews

sdk/resourcemanager/communication/armcommunication

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request migrates the armcommunication SDK from AutoRest-generated code to TypeSpec-based generation using the Microsoft Go Code Generator. This is part of a broader SDK modernization effort.

Changes:

  • Upgrades from v2.3.0 to v3.0.0 (major version bump)
  • Migrates from AutoRest to TypeSpec/Go Code Generator for code generation
  • Updates module path from v2 to v3 throughout the codebase
  • Removes deprecated files (autorest.md, build.go, time_rfc3339.go)
  • Adds TypeSpec configuration (tsp-location.yaml)
  • Updates dependencies (azcore 1.20.0 → 1.21.0, golang.org/x/* packages)
  • Reformats code with tab alignment in fake server files
  • Removes unused model types and simplifies serialization code

Reviewed changes

Copilot reviewed 43 out of 44 changed files in this pull request and generated no comments.

Show a summary per file
File Description
version.go Version bump from v2.3.0 to v3.0.0
tsp-location.yaml New TypeSpec configuration file for regeneration
time_rfc3339.go Removed (replaced with runtime/datetime)
testdata/_metadata.json New metadata for test recording
go.mod Module path update to v3, dependency updates
go.sum Updated dependency checksums
models.go Removed unused types, updated comments
models_serde.go Simplified serialization using runtime/datetime
responses.go Comment cleanup
options.go Code generator attribution update
*_client.go Updated method comments, added Content-Type headers, removed FinalStateVia
*_client_example_test.go Updated imports to v3, subscription ID changes, response structure updates
*_live_test.go Import path and formatting updates
fake/*_server.go Import path updates, tab alignment for struct fields
autorest.md Removed (no longer needed with TypeSpec)
build.go Removed (replaced with TypeSpec workflow)
README.md Updated installation instructions for v3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants