From: Dan Carpenter <dan.carpenter@oracle.com>
To: Johan Hovold <johan@kernel.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Matthew Wilcox <willy@infradead.org>,
kbuild-all@lists.01.org, Jonathan Corbet <corbet@lwn.net>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
Florian Eckert <fe@dev.tdt.de>
Subject: Re: [PATCH v1 1/1] docs: process: submitting-patches: Clarify the Reported-by usage
Date: Thu, 3 Mar 2022 12:54:32 +0300 [thread overview]
Message-ID: <20220303095432.GB9912@kili> (raw)
In-Reply-To: <Yfj0lb50vS3ssrsn@hovoldconsulting.com>
On Tue, Feb 01, 2022 at 09:51:33AM +0100, Johan Hovold wrote:
> On Mon, Jan 31, 2022 at 08:16:42PM +0200, Andy Shevchenko wrote:
> > On Mon, Jan 31, 2022 at 05:47:32PM +0100, Johan Hovold wrote:
> > > On Mon, Jan 31, 2022 at 05:34:35PM +0200, Andy Shevchenko wrote:
> > > > On Mon, Jan 31, 2022 at 04:18:30PM +0100, Johan Hovold wrote:
> > > > > On Fri, Jan 28, 2022 at 01:44:20PM +0000, Matthew Wilcox wrote:
> > >
> > > > > > I think this misunderstands the problem that Andy is trying to fix.
> > > > > >
> > > > > > The situation: I write a patch. I post it for review. A bot does
> > > > > > something and finds a bug (could be compile-error, could be boot
> > > > > > problem). That bot sends a bug report with a suggestion to add
> > > > > > Reported-by:. That suggestion is inappropriate because the bug never
> > > > > > made it upstream, so it looks like the bot reported the "problem"
> > > > > > that the patch "fixes".
> > > > > >
> > > > > > It's not unique to "new feature" patches. If I'm fixing a bug and
> > > > > > my fix also contains a bug spotted by a bot, adding Reported-by
> > > > > > makes it look like the bot spotted the original bug, rather than
> > > > > > spotting a bug in the fix.
> > > > > >
> > > > > > The best thing to do in this case is nothing. Do not credit the bot.
> > > > > > Maybe add a Checked-by:, but that would be a new trailer and I really
> > > > > > don't think we need a new kind of trailer to get wrong.
> > > > >
> > > > > It seems like the only way to fix this is to fix the bots. Adding more
> > > > > documentation is unlikely to help in this case.
> > > >
> > > > Links to the documentation at least may clarify the point in case of a
> > > > review.
> > >
> > > Sure.
> > >
> > > > > Can't we file a bug to whoever is running the bots (Intel?) and ask them
> > > > > to remove the suggestion to add a Reported-by when the bot is testing a
> > > > > patch (as opposed to mainline or even -next)?
> > > >
> > > > The granularity here is not a repo. It's a code itself and in some cases
> > > > it might be easy to distinguish new feature from the code modifications,
> > > > but when code is already there and feature is just an extension of the
> > > > existing file(s), it's hard to tell. And it might be true or not.
> > >
> > > Not sure I understand what you're saying here. Perhaps you and Matthew
> > > are talking about different things after all.
> >
> > I'm talking about your suggestion to fix the bots. It's not easy.
> > The problem is the same as Matthew explained.
>
> Perhaps I'm missing something, but if you re-read Mathews description
> above, it still seems to me like the issue is that the bots are trying
> to claim credit for finding things that haven't been merged yet.
>
> Your suggestion is to document that the bots should be ignored. My
> suggestion is to fix the bots.
Originally the kbuild bot used to not have that notice but adding it
meant that kbuild bot got a lot more visibility. The truth is that
managers love metrics and it helps people get paid.
The whole point of kbuild-bot was to search the lists and test code
before it gets merged. If they just waited and tested linux-next they
would get their reported by tags because most trees don't rebase. But
we're punishing them for being better at their job. It's a perverse
incentive.
We should create a new tag for finding bugs during review.
regards,
dan carpenter
next prev parent reply other threads:[~2022-03-03 9:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-27 15:53 [PATCH v1 1/1] docs: process: submitting-patches: Clarify the Reported-by usage Andy Shevchenko
2022-01-27 16:08 ` Jonathan Corbet
2022-01-27 16:28 ` Andy Shevchenko
2022-01-28 9:31 ` Alexander Dahl
2022-01-28 13:44 ` Matthew Wilcox
2022-01-31 15:18 ` Johan Hovold
2022-01-31 15:34 ` Andy Shevchenko
2022-01-31 16:47 ` Johan Hovold
2022-01-31 18:16 ` Andy Shevchenko
2022-02-01 8:51 ` Johan Hovold
2022-03-03 9:54 ` Dan Carpenter [this message]
2022-03-03 13:27 ` Johan Hovold
2022-03-03 13:51 ` Dan Carpenter
2022-03-03 9:45 ` Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220303095432.GB9912@kili \
--to=dan.carpenter@oracle.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=corbet@lwn.net \
--cc=fe@dev.tdt.de \
--cc=johan@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).