Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Automate Minimum Darc version bump - #6347

#6347
Merged
dkurepa merged 1 commit into
dotnet:maindotnet/arcade-services:mainfrom
dkurepa:dkurepa/AutoMinDarcVersionBumpdkurepa/arcade-services:dkurepa/AutoMinDarcVersionBumpCopy head branch name to clipboard
Jun 3, 2026
Merged

Automate Minimum Darc version bump#6347
dkurepa merged 1 commit into
dotnet:maindotnet/arcade-services:mainfrom
dkurepa:dkurepa/AutoMinDarcVersionBumpdkurepa/arcade-services:dkurepa/AutoMinDarcVersionBumpCopy head branch name to clipboard

Conversation

@dkurepa

@dkurepa dkurepa commented Jun 3, 2026

Copy link
Copy Markdown
Member

Copilot AI review requested due to automatic review settings June 3, 2026 10:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds an opt-in “breaking darc change” signal to the rollout workflow so production deployments can automatically bump the minimum required Darc version when a rollout PR is marked accordingly.

Changes:

  • Extend eng/prepare-rollout.ps1 with a -BreakingDarcChange switch to apply the breaking-darc-change label to the rollout PR.
  • Update the production deploy stage to detect the breaking-darc-change label for the deployed commit and run ProductConstructionService.Cli.exe set-min-darc-version to the current Darc version.
  • Surface the breaking-darc-change selection in the rollout script’s summary output.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
eng/prepare-rollout.ps1 Adds a switch to optionally label the rollout PR as a breaking Darc change and reports that in the summary.
eng/pipelines/templates/stages/deploy.yaml Adds a production-only step that checks PR labels for the deployed commit and bumps the minimum Darc version when breaking-darc-change is present.

Comment thread eng/prepare-rollout.ps1
Comment on lines +10 to +13
### -d, --date <string> Date for the rollout in YYYY-MM-DD format (default: today)
### -b, --BreakingDarcChange Adds the 'breaking-darc-change' label to the rollout PR, which
### triggers an automatic bump of the minimum required darc version
### during the production deployment
Comment thread eng/prepare-rollout.ps1
Comment on lines +202 to +205
} catch {
Write-Warning "Failed to add 'breaking-darc-change' label: $_"
Write-Warning "You may need to manually add the 'breaking-darc-change' label to the PR"
}
- task: AzureCLI@2
displayName: Bump minimum darc version if breaking-darc-change label is present
inputs:
azureSubscription: "Darc: Maestro Production"
}
env:
GH_TOKEN: $(dotnet-bot-arcade-services-content-rw)
continueOnError: true
@dkurepa

dkurepa commented Jun 3, 2026

Copy link
Copy Markdown
Member Author

we can't merge this before #6348

@dkurepa dkurepa changed the title Automate Minimum Darc version bump [DO NOT MERGE] Automate Minimum Darc version bump Jun 3, 2026
@dkurepa
dkurepa marked this pull request as draft June 3, 2026 14:16
@premun

premun commented Jun 3, 2026

Copy link
Copy Markdown
Member

@dkurepa why? we can just not use it?

@dkurepa

dkurepa commented Jun 3, 2026

Copy link
Copy Markdown
Member Author

@dkurepa why? we can just not use it?

oh right, that's true :D

@dkurepa
dkurepa marked this pull request as ready for review June 3, 2026 14:31
@dkurepa
dkurepa merged commit 3933400 into dotnet:main Jun 3, 2026
9 checks passed
@dkurepa dkurepa changed the title [DO NOT MERGE] Automate Minimum Darc version bump Automate Minimum Darc version bump Jun 3, 2026
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.