Skip to content

Fix release pipeline tests and workflow - #64831

Merged
Jake Bailey (jakebailey) merged 2 commits into
microsoft:mainfrom
jakebailey:resilient-release-tests
Oct 15, 2026
Merged

Jake Bailey (jakebailey) merged 2 commits into
microsoft:mainfrom
jakebailey:resilient-release-tests

Conversation

@jakebailey

Copy link
Copy Markdown
Member
  • The version swap breaks a help test; fix it
  • The token perms requested were not enough, and had odd errors on pipeline failure.

Release version bumps change the help header's padding even after its
version text is normalized. This makes release creation fail solely
because the new version has a different length.

Keep normalized headers aligned so development and release versions can
share the same baseline.
Failures before token creation leave the result-reporting action without
a token, preventing the bot from explaining what went wrong. Three of
the workflows also omit the issue permission needed to post results.

Allow reporting authentication after earlier failures without allowing
branch pushes or PR creation to proceed on failure.
Copilot AI balanced review requested due to automatic review settings October 15, 2026 17:54
@github-project-automation github-project-automation Bot moved this to Not started in PR Backlog Oct 15, 2026
@typescript-automation typescript-automation Bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Oct 15, 2026
@github-project-automation github-project-automation Bot moved this from Not started to Needs merge in PR Backlog Oct 15, 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.

🟢 Approval recommended

The focused changes include regression coverage, and no blocking issues were identified.

0 open findings

What changed in this PR

Fixes release pipeline failures by stabilizing compiler help baselines across version changes and correcting workflow authentication.

Changes:

  • Preserve help-header padding when sanitizing version strings.
  • Add regression tests and update the help baseline.
  • Allow authentication after earlier workflow failures and grant issue-write permissions where needed.
File Description
tsc/​testdata/​baselines/​reference/​tsc/​commandLine/​show-help-with-ExitStatus.DiagnosticsPresent_OutputsSkipped.js Update expected header padding.
tsc/​internal/​execute/​tsctests/​tsc_test.go Test localized version replacement and padding.
tsc/​internal/​execute/​tsctests/​sys.go Preserve padded width during version sanitization.
.github/​workflows/​sync-branch.yaml Adjust authentication conditions and issue permissions.
.github/​workflows/​set-version.yaml Adjust authentication conditions and issue permissions.
.github/​workflows/​new-release-branch.yaml Adjust authentication conditions and issue permissions.
.github/​workflows/​create-cherry-pick-pr.yml Allow authentication after earlier failures.

🧠 Review effort: Balanced


💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@jakebailey
Jake Bailey (jakebailey) added this pull request to the merge queue Oct 15, 2026
Merged via the queue into microsoft:main with commit 0ee0284 Oct 15, 2026
29 checks passed
@jakebailey
Jake Bailey (jakebailey) deleted the resilient-release-tests branch October 15, 2026 18:35
@github-project-automation github-project-automation Bot moved this from Needs merge to Done in PR Backlog Oct 15, 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.

3 participants