Skip to content

Conversation

@dibarbet
Copy link
Member

@dibarbet dibarbet commented Jul 22, 2025

Likely other jobs on the machine are causing rate limits. Avoid querying github until we can figure out the correct way to authenticate.

@dibarbet dibarbet force-pushed the dev/dibarbet/pr_val branch from eba600b to e85d47f Compare July 22, 2025 19:13
@dibarbet dibarbet changed the title Fix auth issue in PR val builds Prevent auth issue in PR val builds Jul 22, 2025
@dibarbet dibarbet marked this pull request as ready for review July 22, 2025 19:22
@dibarbet dibarbet requested a review from a team as a code owner July 22, 2025 19:22
arguments: "-sourceBranchName $(SourceBranchName) -prNumber ${{ parameters.PRNumber }} -commitSHA ${{ parameters.CommitSHA }} -enforceLatestCommit ${{ iif(parameters.EnforceLatestCommit, '1', '0') }}"
condition: succeeded()

- task: Powershell@2
Copy link
Member

Choose a reason for hiding this comment

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

Is the intent that if this fails, at least we already got the PR out for now?

Copy link
Member

Choose a reason for hiding this comment

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

(maybe add a comment to that effect)

Copy link
Member Author

Choose a reason for hiding this comment

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

not sure exactly what you mean - I moved it because in order to get the commit details, we need to have it checked out. I guess I could continue on failure, but I suspect it would fail in followup steps when we try to reset the build number.

This shouldn't fail anymore since its just reading the local git repo and not making a github API request.

arguments: "-sourceBranchName $(SourceBranchName) -prNumber ${{ parameters.PRNumber }} -commitSHA ${{ parameters.CommitSHA }} -enforceLatestCommit ${{ iif(parameters.EnforceLatestCommit, '1', '0') }}"
condition: succeeded()

- task: Powershell@2
Copy link
Member

Choose a reason for hiding this comment

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

(maybe add a comment to that effect)

@dibarbet
Copy link
Member Author

@dibarbet dibarbet merged commit dfdacfd into main Jul 22, 2025
4 of 5 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jul 22, 2025
@akhera99
Copy link
Member

/backport to release/dev17.14

@github-actions
Copy link
Contributor

Started backporting to release/dev17.14: https://github.com/dotnet/roslyn/actions/runs/16891686067

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants