git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick Steinhardt <ps@pks.im>
To: Jeff King <peff@peff.net>
Cc: "Rubén Justo" <rjusto@gmail.com>, "Git List" <git@vger.kernel.org>
Subject: Re: [PATCH] t0613: mark as leak-free
Date: Mon, 22 Jul 2024 11:02:24 +0200	[thread overview]
Message-ID: <Zp4gILfskdpc6RUk@tanuki> (raw)
In-Reply-To: <20240701035759.GF610406@coredump.intra.peff.net>

[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]

On Sun, Jun 30, 2024 at 11:57:59PM -0400, Jeff King wrote:
> On Sun, Jun 30, 2024 at 08:46:38AM +0200, Rubén Justo wrote:
> 
> > We can mark t0613 as leak-free:
> > [...]
> > I'm not sure why this simple change has fallen through the cracks.
> > Therefore, it's possible that I'm missing something.
> > 
> > I'd appreciate if someone could double-check.
> 
> I'd noticed it, too, while doing recent leak fixes. But since Patrick
> has been working on leaks and is the go-to person for reftables, I
> assumed he had already seen it and there was something clever going on. ;)

Nah, you assumed too much :) I just forgot to mark this as leak-free and
the topic crossed with my memory-leak-fix topics, so I didn't yet find
the time to fix it.

It does highlight an issue though: I think memory leak checks should be
opt-out rather than opt-in by now. Most of our tests run just fine with
the memory leak checker enabled, and that's also where we want to be
headed. So making tests opt-out would likely raise more eyebrows when
new tests are being added that explicitly opt out.

The only reason I didn't send a patch like this yet is that it would of
course create quite a bit of churn in our tests. I'm not sure whether
that churn is really worth it, or whether we should instead just
continue fixing tests until we can get rid of this marking altogether
because all of our tests pass.

Patrick

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2024-07-22  9:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-30  6:46 [PATCH] t0613: mark as leak-free Rubén Justo
2024-07-01  3:57 ` Jeff King
2024-07-01 19:35   ` Rubén Justo
2024-07-01 19:38     ` t0612: " Rubén Justo
2024-07-01 19:40       ` Eric Sunshine
2024-07-01 19:44     ` [PATCH] " Rubén Justo
2024-07-22  9:02   ` Patrick Steinhardt [this message]
2024-07-23 21:03     ` [PATCH] t0613: " Jeff King
2024-07-23 23:07       ` Re* " Rubén Justo
2024-07-24  5:16         ` Patrick Steinhardt
2024-07-24  6:45           ` Rubén Justo

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=Zp4gILfskdpc6RUk@tanuki \
    --to=ps@pks.im \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    --cc=rjusto@gmail.com \
    /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).