Skip to content

Move release maintenance workflows to Azure Pipelines - #65663

Merged
Jake Bailey (jakebailey) merged 5 commits into
microsoft:mainfrom
jakebailey:new-azure-pipelines
Nov 25, 2026
Merged

Jake Bailey (jakebailey) merged 5 commits into
microsoft:mainfrom
jakebailey:new-azure-pipelines

Conversation

@jakebailey

@jakebailey Jake Bailey (jakebailey) commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Most of this is bot triggered, but the AzDO UI will need to be used for the vscode extension version bumper.

Copilot AI balanced review requested due to automatic review settings November 24, 2026 23:53
@github-project-automation github-project-automation Bot moved this to Not started in PR Backlog Nov 24, 2026
@typescript-automation typescript-automation Bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Nov 24, 2026

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.

🟡 Changes recommended

Deleting the four workflows will break the bot’s existing dispatch commands unless all command mappings are migrated and deployed together or compatibility workflows are retained.

1 open issue
What changed in this PR

Moves TypeScript’s release maintenance automation from four GitHub Actions workflows into a shared Azure Pipeline and Node.js script.

Changes:

  • Consolidates cherry-picking, release branch creation, version updates, and branch synchronization.
  • Uses shared pipeline templates for tool setup and GitHub App authentication.
  • Moves bot result reporting into the maintenance script and removes the previous workflows.
File Description
tools/​scripts/​release-maintenance.mjs Implements release operations and bot result reporting.
tools/​pipelines/​release-maintenance.yml Orchestrates preparation, validation, publishing, and reporting.
.github/​workflows/​sync-branch.yaml Removes the GitHub Actions branch-sync workflow.
.github/​workflows/​set-version.yaml Removes the GitHub Actions version-update workflow.
.github/​workflows/​new-release-branch.yaml Removes the GitHub Actions release-branch creation workflow.
.github/​workflows/​create-cherry-pick-pr.yml Removes the GitHub Actions cherry-pick workflow.

Review effort: Balanced

Comment thread tools/pipelines/release-maintenance.yml Resolved

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.

🔵 Needs a closer look

Missing proxy enablement in the Bash consumers and Go setup before switching to the validated worktree can cause publication/reporting failures and validation with the wrong toolchain.

No open issues 🎉

2 previously missed issues

In code that hasn't changed since last review

Medium severity Set up Go after switching to the target branch

tools/​pipelines/​release-maintenance.yml:96

setup-go.yml reads tsc/go.mod from the current worktree, but it runs before prepare switches away from main. When a release or target branch requires a different Go minor version, validation and baseline recovery use main's toolchain instead and can fail or disagree with release builds. Move Go setup after prepare so it reads the tree being validated.

Medium severity Enable environment proxy support for publication and result reporting

tools/​pipelines/​release-maintenance.yml:133

The token template enables NODE_USE_ENV_PROXY=1 only on its own tasks, not these Bash consumers. On agents that require HTTPS_PROXY, native fetch calls in cherry-pick publication and result reporting can fail even when token creation succeeds. Enable the flag in both consumer environments; the same issue affects post-result at tools/pipelines/release-maintenance.yml:132–133.

1 resolved since last review

Review effort: Max

@github-project-automation github-project-automation Bot moved this from Not started to Needs merge in PR Backlog Nov 25, 2026
@jakebailey
Jake Bailey (jakebailey) added this pull request to the merge queue Nov 25, 2026
run("git", "config", "user.name", botName);
run("git", "config", "core.hooksPath", "/dev/null");

const changed = operation.prepare();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Kind of hate that these are all capturing operation instead of taking it as a parameter but it's fine I guess.

Merged via the queue into microsoft:main with commit 502a981 Nov 25, 2026
34 checks passed
@jakebailey
Jake Bailey (jakebailey) deleted the new-azure-pipelines branch November 25, 2026 01:22
@github-project-automation github-project-automation Bot moved this from Needs merge to Done in PR Backlog Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants