Skip to content

[AutoRelease] t2-computeschedule-2025-07-17-86232(can only be merged by SDK owner) #42072

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

azure-sdk
Copy link
Collaborator

@azure-sdk azure-sdk commented Jul 17, 2025

@azure-sdk
Copy link
Collaborator Author

@Copilot Copilot AI review requested due to automatic review settings July 17, 2025 08:52
Copy link
Contributor

@Copilot 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

Automated release update for the Azure Compute Schedule management SDK with the following key changes:

  • Updated the TypeSpec commit hash, API version, and emitter version for the 1.2.0b1 release.
  • Introduced RecurringActionsResourceOperationResult in place of the old ResourceOperationResponse across sync and async operations.
  • Renamed the internal enum ActionType to ScheduledActionType and cleaned up related imports and mappings.

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tsp-location.yaml Bumped TypeSpec commit hash.
_version.py & _metadata.json Updated package version, API version, and emitter version.
*/_operations.py Changed return types from ResourceOperationResponse to RecurringActionsResourceOperationResult.
models/_models.py & models/_enums.py Added new model and enum, removed old ResourceOperationResponse and ActionType.
models/init.py & apiview-properties.json Updated imports and API view mappings for enum changes.
CHANGELOG.md Added entries for 1.2.0b1 features.
Comments suppressed due to low confidence (5)

sdk/computeschedule/azure-mgmt-computeschedule/azure/mgmt/computeschedule/models/init.py:79

  • The ActionType enum was removed and replaced with ScheduledActionType. Please remove its import and any references in __all__ to avoid import errors.
    ActionType,

sdk/computeschedule/azure-mgmt-computeschedule/apiview-properties.json:64

  • The API view mapping references azure.mgmt.computeschedule.models.ActionType, which no longer exists. Update or remove this entry to point to ScheduledActionType.
        "azure.mgmt.computeschedule.models.ActionType": "Azure.ResourceManager.CommonTypes.ActionType",

sdk/computeschedule/azure-mgmt-computeschedule/azure/mgmt/computeschedule/_version.py:9

  • The version was changed from 2.0.0b1 to 1.2.0b1, which appears to be a down-versioning. Please confirm that this is the intended release version.
VERSION = "1.2.0b1"

sdk/computeschedule/azure-mgmt-computeschedule/CHANGELOG.md:3

  • The removal of ResourceOperationResponse is a breaking change; consider adding a note in the changelog under breaking changes to help users migrate.
## 1.2.0b1 (2025-07-17)

sdk/computeschedule/azure-mgmt-computeschedule/azure/mgmt/computeschedule/models/_models.py:1386

  • Consider adding unit tests for serialization and deserialization of RecurringActionsResourceOperationResult to ensure the new model is adequately covered.
class RecurringActionsResourceOperationResult(_Model):

@ChenxiJiang333
Copy link
Member

ChenxiJiang333 commented Jul 17, 2025

Hi @NneOkeke, feel free to merged and release this pr now.

@NneOkeke
Copy link
Member

Hi @NneOkeke, feel free to merged and release this pr now.

Hello @ChenxiJiang333 , I saw this PR created as an update for the update endpoint in the typespec docs, will this affect the Python SDK as well, since the update endpoint is being changed

@ChenxiJiang333
Copy link
Member

Hi @NneOkeke, feel free to merged and release this pr now.

Hello @ChenxiJiang333 , I saw this PR created as an update for the update endpoint in the typespec docs, will this affect the Python SDK as well, since the update endpoint is being changed

got it, would regenerate the sdk after the pr merged

@msyyc msyyc reopened this Jul 18, 2025
@msyyc
Copy link
Member

msyyc commented Jul 18, 2025

@ChenxiJiang333 Let us commit the regenerate change to this PR so that @NneOkeke could still merge this PR with convenience.

@ChenxiJiang333
Copy link
Member

@ChenxiJiang333 Let us commit the regenerate change to this PR so that @NneOkeke could still merge this PR with convenience.

got it

azure-sdk and others added 2 commits July 23, 2025 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants