Skip to content

reconsider posting CI comments on every test failure #3621

Open
@BenTheElder

Description

@BenTheElder

Currently Kubernetes PRs get a lot of comments from @k8s-ci-robot, many of which are to notify of failing tests. This tends to drown out actual human interactions.

I know this came up at some point in the past, but I'm having difficulty finding why we do this and I'd like to revisit it.

Right now prow deletes it's job-results comment every time results change, and posts a new comment if there are any failures. This can be very spammy (see below), and punishes reviewers and approvers for being subscribed to PRs with tons of excess notifications.

Most (all?) other CI on GitHub merely post to the "status" or "checks" APIs (https://help.github.com/en/articles/about-status-checks) which Prow / @k8s-ci-robot also does. We should consider only doing this instead of posting comments on every failure to reduce pressure on developers's notifications.

Additionally, the comments can be misleading with stale state in them kubernetes/test-infra#4602

If we agree that this is reasonable, it should be relatively straightforward to make it possible in test-infra.

Metadata

Metadata

Labels

kind/bugCategorizes issue or PR as related to a bug.kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.kind/featureCategorizes issue or PR as related to a new feature.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.sig/contributor-experienceCategorizes an issue or PR as relevant to SIG Contributor Experience.sig/testingCategorizes an issue or PR as relevant to SIG Testing.sig/usabilityCategorizes an issue or PR as relevant to SIG Usability.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions