Test-infra: SQ constantly comments approval-handler messages every loop

Created on 25 Jul 2017  路  17Comments  路  Source: kubernetes/test-infra

I am deploying submit-queue for istio, everything looks fine except when I enable approval-handler, sq keeps commenting with the same message about approval notification pr
foxish pointed me to this issue, so I tried to replace the botName with our bot except test files, but still get the same problem.
By the way, I can't build mungegithub binary with "make mungegithub" so I use bazel build to get binary and build docker image, I guess it doesn't affect everything but just want you guys know.
Any idea?

Most helpful comment

OK, I think I figured out how to teach mungegithub recognize our bot name. I am going to create a pr to make bot name configurable.

All 17 comments

@foxish @apelisse

cc/ @cjwagner

The bot names should definitely be parameterized. Did you change https://github.com/kubernetes/test-infra/blob/master/mungegithub/mungers/matchers/comment/interactions.go#L67?

Hrm, can we move those into the munger config?

@stevekuznetsov fyi

OK, I think I figured out how to teach mungegithub recognize our bot name. I am going to create a pr to make bot name configurable.

@yutongz we've got a PR in the works as well -- if you have not yet started, it may save you time. We will try to deliver it soon

@stevekuznetsov that will be awesome, thanks!

/assign stevekuznetsov

@kargakis: GitHub didn't allow me to assign the following users: stevekuznetsov.

Note that only kubernetes members can be assigned.

In response to this:

/assign stevekuznetsov

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

This is still an issue ...

/assign @cjwagner @BenTheElder

@kargakis were you able to determine why?

Haven't looked yet, no. I want to setup a test cluster but won't get to it before Monday morning.

I think these also need to be configurable

There's a couple of those:

mungegithub/mungers/matchers/comment/interactions.go:67:    return AuthorLogin("k8s-merge-robot")
mungegithub/mungers/matchers/event/event.go:110:    return Actor("k8s-merge-robot")
mungegithub/mungers/matchers/interactions.go:96:    return AuthorLogin("k8s-merge-robot")

Hmm, it looks like there are two very different ways to match comments and my PR only addressed one of them. I'll work on that.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xiangpengzhao picture xiangpengzhao  路  3Comments

spzala picture spzala  路  4Comments

stevekuznetsov picture stevekuznetsov  路  4Comments

BenTheElder picture BenTheElder  路  4Comments

zacharysarah picture zacharysarah  路  3Comments