Repository navigation
ci(release): remove unused latest commit lookup - #3239
Merged
Gavin Barron (gavinbarron) merged 1 commit intoNov 20, 2026
Merged
Conversation
Remove the unused GitHub SHA lookup and script so anonymous API rate limits cannot block package deployment. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the removal of the unused release-pipeline commit lookup.
No open issues 🎉
What changed in this PR
Removes an unused commit lookup from the release pipeline, eliminating an unnecessary unauthenticated GitHub API request that caused deployment failures when rate-limited.
Changes:
- Remove the deploy job’s latest-commit lookup task and its PowerShell script.
- Leave version extraction, ESRP publishing, and GitHub asset uploads unchanged; release creation continues to use
$(Build.SourceVersion).
| File | Description |
|---|---|
scripts/GetLatestCommitSHA.ps1 |
Delete the obsolete script that fetched and exported LATEST_COMMIT_SHA. |
.azure-pipelines/ci-build.yml |
Remove the deployment task that invoked the deleted script. |
Review effort: Balanced
Peter Ombwa (peombwa)
approved these changes
Nov 20, 2026
Gavin Barron (gavinbarron)
deleted the
gavinbarron-release-pipeline-failure
branch
November 20, 2026 23:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes proposed in this pull request
main, which failed in production run 266750 after hitting GitHub's anonymous API rate limit.scripts/GetLatestCommitSHA.ps1; itsLATEST_COMMIT_SHAoutput has no remaining consumers. Keep version extraction, ESRP publishing, and GitHub asset uploads unchanged; the GitHub release task already uses$(Build.SourceVersion).git -c core.longpaths=true diff --checkpassed. PowerShell assertions confirmed the pipeline differs only by removal of the obsolete task; the tracked-file reference check found no stale references. The production deployment was not rerun.Other links
Microsoft Reviewers: Open in CodeFlow
BEGIN_COMMIT_OVERRIDE
fix(ci): remove old breaking ci step
END_COMMIT_OVERRIDE