Skip to content

Prow does not wait for all tests to pass before merging following a /lgtm #1588

@jljaco

Description

@jljaco

Consider this example PR from the code-generator repo: aws-controllers-k8s/code-generator#378

In this case, @a-hilaly issued an /lgtm comment before all of the e2e tests had passed, and ack-bot triggered a merge of the PR immediately. The results of the e2e tests were never successfully reported in the PR (as it happens, one or more of them ended up failing).

Steps to reproduce

  1. Create a PR in any Prow-managed repo
  2. Get an OWNER to issue /lgtm well before e2e tests have completed
  3. See that the merge happens immediately, before all tests have completed.

Expected outcome
We expect for Prow to wait until all tests pass before merging the PR.

Environment

Prod Prow cluster

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/infraIssues or PRs as related to our testing infrastructure, prow/flux configuration etc...area/prowIssues or PRs related to Prowkind/enhancementCategorizes issue or PR as related to existing feature enhancements.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions