Skip to content

OneLocBuild erroneously sets AutoCompletePr to true  #9048

@peterwald

Description

@peterwald
  • This issue is blocking
  • This issue is causing unreasonable pain

Our servicing branch builds are failing because OneLocBuild is trying to auto complete the loc PR, but it doesn't have permissions to complete it (and we don't want it to).

Here is a link to an example build task.

The error we are getting in the log is:

OneLocBuildClient.exe Information: 0 : Pull request created with ID '392951'.
OneLocBuildClient.exe Information: 0 : Completing the pull request...
OneLocBuildClient.exe Error: 0 : Microsoft.VisualStudio.Services.Common.VssServiceException: TF401027: You need the Git 'GenericContribute' permission to perform this action. Details: identity 'Build\011b8bdf-6d56-4f87-be0d-0092136884d9', scope 'branch'.

At the top of the log, I see one of the arguments listed is:

OneLocBuildClient.exe Information: 0 : /autocompletepr: True

However, we have not set AutoCompletePR, and it is still set to false in the template file loaded from the arcade folder.

/cc @AbhitejJohn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions