Received: from fhigh-b7-smtp.messagingengine.com (fhigh-b7-smtp.messagingengine.com [202.12.124.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0CAC823D283 for ; Mon, 10 Aug 2026 06:06:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.158 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786342018; cv=none; b=Tbldo/VtbBnWT9V4M7+x6yoZUXEEx9/fpB05xBN+syV3Rcz10fbf107kOguz6e4U7/amVjj8inNTap4499sSge5HfadhEmPou+n6MMOVPddVw/FfpTp7FLxFKKN1UhsqhIuyzxMRsmnc4E5bscKhHhBk2jG/QaogvQ6msa5cnPk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786342018; c=relaxed/simple; bh=j7BhhX/8aLkRAt1PZiiPDGBqFyA2vXiUVR8zOJGR7ls=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nR+mXQdaXNS6HGSKQFOWCCgTpHJWIYZsN43TOoFtzREAD91atTknvcPoT6KGInHfF2pXn/8VWE+GP0AGzqoCeA+cSOy6AsWX+WWRY5lbIVMovRhJIlEHq5/GFBXKZGG5eoNcCiZolKplh1geXYf/gxblSLDCITv5qyPJGC40C7w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=pks.im; spf=pass smtp.mailfrom=pks.im; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b=A/J+Ezb1; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=jhoWDHuQ; arc=none smtp.client-ip=202.12.124.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=pks.im Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pks.im Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b="A/J+Ezb1"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="jhoWDHuQ" Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id 4CB2F7A0190; Mon, 10 Aug 2026 02:06:56 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Mon, 10 Aug 2026 02:06:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=cc:cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1786342016; x=1786428416; bh=CRgF0htbd6SEwhGPCEWc3EL9xiXuWhKkFMA/RP/dZwk=; b= A/J+Ezb1thrXLhdH3oUSDtwMaivcOziAhnqIZMPlX2pnrJYqSYisc/G5vjMU3Rpi 0CS/2Uk+7oRvAQebgmNVjCapAEwwp8mu+talqhzF8cj3TO4mi3Cq3o9ww0qzVuOc CK4GENVHsKIMqWKO+AAYLChWXVnc3vkNCM7BtU8WsFcOy/wpr2iDZ4pEZ1L35itI DKj/HNwkY0HwPMTwertp/Wzps5uozdTkDzFloAlw/n6SKXuwbCfohyw1SvV3EWhq /dxUW/+vgzDZQgLbPd6niEYGv5h/6fGOZDBt+PPT4tjx9CEuFHKKSCc0D9X3I/gq FQM1otQvResKQKODpCOGDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1786342016; x= 1786428416; bh=CRgF0htbd6SEwhGPCEWc3EL9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jZUO0m0TkTsTqkysA X-ME-Proxy: Feedback-ID: i197146af:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 10 Aug 2026 02:06:55 -0400 (EDT) Received: by mail (OpenSMTPD) with ESMTPSA id 1485b686 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 10 Aug 2026 06:06:54 +0000 (UTC) Date: Mon, 10 Aug 2026 08:06:50 +0200 From: Patrick Steinhardt To: Michael Montalbo Cc: Michael Montalbo via GitGitGadget , git@vger.kernel.org Subject: Re: [PATCH v2 3/3] t/README: document writing concurrency-safe helpers Message-ID: References: Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Aug 07, 2026 at 09:51:34AM -0700, Michael Montalbo wrote: > On Tue, Aug 4, 2026 at 1:03 AM Patrick Steinhardt wrote: > > > > > > > > +Writing concurrency-safe helpers > > > +-------------------------------- > > > > Nit: this paragraph is quite specific to lib-httpd, so it would make > > sense to mention it in the header here. E.g. > > > > Writing concurrency-safe lib-httpd helpers > > > > Originally, I did just have this as a blurb in t/lib-httpd.sh. I ended up moving > it here and trying to make the advice apply more generally, though the only > other existing example I could find in another domain was the > make_symlink() reference. My intention was to make sure someone working > on a test helper with concurrency didn't skip over the section just because > they saw "http" and thought the advice didn't apply to their use case. > > I'm inclined to make the language in the section more http-agnostic rather > than changing the title to be specific to http, but I do not feel very strongly > about it. If we were to frame this as http-specific advice maybe it should go > back to t/lib-httpd.sh instead of t/README? Dunno. I'm not sure there's much value outside of httpd, so I'm still inclined to make it httpd-specific. And if so, moving it into "t/" would make sense. But I don't feel overly strong about this, either, so I won't complain if this section stays as-is. Patrick