Use local checkout for fetching package.json instead of accessing github directly#9447
Open
dibarbet wants to merge 3 commits into
Open
Use local checkout for fetching package.json instead of accessing github directly#9447dibarbet wants to merge 3 commits into
dibarbet wants to merge 3 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the release tagging task to avoid fetching package.json from raw.githubusercontent.com (which can be blocked in restricted networks) by reading package.json from the locally checked-out repository or via git show for the specified release commit.
Changes:
- Replaces remote
fetchofpackage.jsonwith local resolution viagit rev-parse HEAD+git show <commit>:package.json. - Removes the dependency on
githubPATfor determining the Roslyn component commit (NuGet inspection now only needs local repo access). - Adds small git helper utilities (
getPackageJsonFromReleaseCommit,getGitOutput) to support local reads.
Show a summary per file
| File | Description |
|---|---|
| tasks/tags/createTags.ts | Switches tag-generation inputs from GitHub raw content fetching to local checkout/git-object reads for package.json. |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 1
jasonmalinowski
approved these changes
Jun 18, 2026
1163299 to
be401d2
Compare
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.
Release pipeline is failing to access raw.githubusercontent.com due to network blocks when generating tags. This modifies the pipeline to use the local checkout instead (note that the pipeline checks out vscode-csharp at the commit that is being released)