Skip to content

Conversation

konrad-jamrozik
Copy link

@konrad-jamrozik konrad-jamrozik commented Jun 25, 2023

This is a PR made by the Azure SDK Engineering System team.

Original description 6/24/2023

This PR removes armapireview from assignees as it appears to be misconfigured. Likely it doesn't have access. I.e. probably this user https://github.com/armapireview should be given permissions to be assignable to the repositories. This doc might be helpful here.

For context, see this Teams discussion.

This Kusto query (from this doc) shows the affected PRs since 6/10/2023.

14 pull requests were affected. Even though our logs show the assignment was successful, it actually wasn't.

Here is the list of the PRs:

Update 6/25/2023

Per @rkmanda request, I removed all reviewers (not only armapireview) for the ARM paths except him.

Update 7/6/2023

Info from @weshaggard:

you cannot add non-FTE linked accounts into the Azure org do to the SSO sign-in requirements for the org. So, I don’t think it is possible to use a bot for that purpose.

@openapi-workflow-bot
Copy link

Hi, @konrad-jamrozik Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected]

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 25, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️~[Staging] ServiceAPIReadinessTest succeeded [Detail] [Expand]
    Validation passes for ServiceAPIReadinessTest.
    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️CadlAPIView succeeded [Detail] [Expand]
    ️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️TypeSpec Validation succeeded [Detail] [Expand]
    Validation passes for TypeSpec Validation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 25, 2023

    Swagger pipeline restarted successfully, please wait for status update in this comment.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 25, 2023

    Swagger pipeline restarted successfully. If there is ApiView generated, it will be updated in this comment.

    @konrad-jamrozik konrad-jamrozik changed the title Update pull_request_assignment.yml: remove armapireview as it is misconfigured. Update pull_request_assignment.yml: remove armapireview as it is misconfigured. Jun 25, 2023
    @konrad-jamrozik konrad-jamrozik requested a review from rkmanda June 25, 2023 00:00
    @konrad-jamrozik
    Copy link
    Author

    konrad-jamrozik commented Jun 25, 2023

    @rkmanda we should either merge this PR ASAP, or an admin of armapireview should follow these instructions to give it access. This (hopefully!) should make the assignment work. We could test it works by trying to assign armapireview to a PR by hand - currently it is not possible, as it doesn't even appear in the list of suggested assignees.

    Copy link
    Member

    @rkmanda rkmanda left a comment

    Choose a reason for hiding this comment

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

    🕐

    @konrad-jamrozik konrad-jamrozik changed the title Update pull_request_assignment.yml: remove armapireview as it is misconfigured. Update pull_request_assignment.yml: remove armapireview and other reviewers for ARM paths, except rkmanda. Jun 26, 2023
    @konrad-jamrozik konrad-jamrozik requested a review from rkmanda June 26, 2023 06:41
    Removed all other assignees for mgmt. plane PR.
    Moved the default mgmt. PR assignment rule.
    Copy link
    Member

    @rkmanda rkmanda left a comment

    Choose a reason for hiding this comment

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

    :shipit:

    @raych1 raych1 merged commit b67eccd into main Jun 27, 2023
    @raych1 raych1 deleted the konrad-jamrozik-patch-2 branch June 27, 2023 01:08
    harryli0108 pushed a commit to harryli0108/azure-rest-api-specs that referenced this pull request Jul 28, 2023
    … reviewers for ARM paths, except `rkmanda`. (Azure#24566)
    
    * Update pull_request_assignment.yml: remove armapireview as it is misconfigured
    
    * Update pull_request_assignment.yml
    
    Removed all other assignees for mgmt. plane PR.
    
    * Update pull_request_assignment.yml
    
    Moved the default mgmt. PR assignment rule.
    
    ---------
    
    Co-authored-by: Ray Chen <[email protected]>
    @konrad-jamrozik konrad-jamrozik added the Central-EngSys This issue is owned by the Engineering System team. label Aug 1, 2023
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Central-EngSys This issue is owned by the Engineering System team.
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants