Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFqlY-0001ob-Vz for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Feb 2022 05:04:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nFqlX-0003Mt-KM for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Feb 2022 05:04:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFqlX-0003Mk-At for pgsql-hackers@lists.postgresql.org; Fri, 04 Feb 2022 05:04:11 +0000 Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nFqlT-00013n-QW for pgsql-hackers@postgresql.org; Fri, 04 Feb 2022 05:04:11 +0000 Received: by mail-il1-x12e.google.com with SMTP id 15so3917612ilg.8 for ; Thu, 03 Feb 2022 21:04:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Y1iVQBK5VIlpQFnLg8fbU7IZKqMfZQT9nOo+DNyvkJM=; b=XTfvd/IA3cqUIY9Idce5pdtwa1arvhrcBJZX/H83LKILGcu32mVTRglygIFuEtS2or vlzhLGICI22gRhBymSQMvWFvoT+wtff4SCB3FZ8UCYDTiG3VdbfEToU27kLDPbr+joBD 7wXOMyLnBR3BVI0qo5kSltyGIs56iRxMQCnGhs17pJla1zNv2RFLwjouTvhm8M3LoBXi qQN0z525NW6ekF/LW0NY20bQil5bhFWXSuiQlxKK8dJSXmP6D+yHnMkIrYOtK0VSRaBC 2dJ0/6JIVgeKmB8xUTmEEhsP3wcvIHNTA2O13E5dYwufSnfqCUTpnvbobleR++L64N1B 5HWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Y1iVQBK5VIlpQFnLg8fbU7IZKqMfZQT9nOo+DNyvkJM=; b=VfdpZP/jv2RrmvRCX7mNAh/ey2HDsMwItSZpkX9DqOu3wSDmNXrVndKdprEki2bXVE r+A+OO9L8cCKm2cNrBIsMUDZPJLqk2UBjeLvT6lwtp+hIypsqOl9u1MGD3yb12/DSrXa z6EiHqawLqvOSwgxTcKSKzrHIOIWFSmG4dwv4iT2bOh1SdvmGtXqHhBGFbUVhBTnTbnp SP20OzsAv5vPIE/QmZCnM5OIWKDP02swLvUDWGY+5im1NT2R0UCgCI7psHc7A/0WHnuJ 1jKsY5l9/cv+Nm4nMl5hlAvS0s2vYxQ5EBevm/PwjcvgkYssC30bSSCyGAp41/PkIzaG miUg== X-Gm-Message-State: AOAM5304ViX//G1pi97EDq616v3949k8yZH828O+xYPBOl3OCmyCjzc8 VufoBf8ow1uhdicoWJ1PKfiVTw== X-Google-Smtp-Source: ABdhPJzwNQBDE/W6qxQRrh165d5xQzrMdhmlKUsxfE2Fqviq1XZ6OGnjYas7v288V2hSt6u5iKQ3wA== X-Received: by 2002:a05:6e02:180e:: with SMTP id a14mr665328ilv.230.1643951045783; Thu, 03 Feb 2022 21:04:05 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id x4sm488481ilv.2.2022.02.03.21.04.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Feb 2022 21:04:05 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 3156D80076A; Thu, 3 Feb 2022 23:04:04 -0600 (CST) Date: Thu, 3 Feb 2022 23:04:04 -0600 From: Justin Pryzby To: Andres Freund Cc: Tom Lane , Robert Haas , Andrew Dunstan , pgsql-hackers@postgresql.org, Thomas Munro , Melanie Plageman , Peter Eisentraut , Daniel Gustafsson Subject: Re: Adding CI to our tree Message-ID: <20220204050403.GL23027@telsasoft.com> References: <20220114235457.GQ14051@telsasoft.com> <87a81b91-87bf-c0bc-7e4f-06dffadcf737@dunslane.net> <20220117181946.bmvubqpzqxlvmgeh@alap3.anarazel.de> <20220117192510.txue5mihjaxlngep@alap3.anarazel.de> <85428.1642447853@sss.pgh.pa.us> <20220117201619.3ltudwhgk2krmoki@alap3.anarazel.de> <20220118210847.GC23027@telsasoft.com> <20220203035827.GG23027@telsasoft.com> <20220203195718.smqo5xg4ygp5qktq@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220203195718.smqo5xg4ygp5qktq@alap3.anarazel.de> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Feb 03, 2022 at 11:57:18AM -0800, Andres Freund wrote: > On 2022-02-02 21:58:28 -0600, Justin Pryzby wrote: > > FYI: I've rebased these against your cirrus/windows changes. > > Did you put then on a dedicated branch, or only intermixed with other changes? Yes it's intermixed (because I have too many branches, and because in this case it's useful to show the doc builds and coverage artifacts). > > A recent cirrus result is here; this has other stuff in the branch, so you can > > see the artifacts with HTML docs and code coverage. > > I'm a bit worried about the increased storage and runtime overhead due to the > docs changes. We probably can make it a good bit cheaper though. If you mean overhead of additional disk operations, it shouldn't be an issue, since the git clone uses shared references (not even hardlinks). If you meant storage capacity, I'm only uploading the *changed* docs as artifacts. The motivation being that it's a lot more convenient to look though a single .html, and not hundreds. > What's the idea behind > #echo 'deb http://deb.debian.org/debian bullseye main' >>/etc/apt/sources.list > That's already in sources.list, so I'm not sure what this shows? At one point I thought I needed it - maybe all I needed was "apt-get update".. > > 9d0f03d3450 wip: cirrus: code coverage > > I don't think it's good to just unconditionally reference the master branch > here. It'll do bogus stuff once 15 is branched off. It works for cfbot, but > not other uses. That's only used for filtering changed files. It uses git diff --cherry-pick postgres/master..., which would *try* to avoid showing anything which is also in master. > Is looking at the .c files in the change really a reliable predictor of where > code coverage changes? I'm doubtful. Consider stuff like removing the last > user of some infrastructure or such. Or adding the first. You're right that it isn't particularly accurate, but it's a step forward if lots of patches use it to check/improve coverge of new code. In addition to the HTML generated for changed .c files, it's possible to create a coverage.gcov output for everything, which could be retrieved to generate full HTML locally. It's ~8MB (or 2MB after gzip). > > bff64e8b998 cirrus: upload html docs as artifacts > > 80f52c3b172 wip: only upload changed docs > > Similar to the above. Do you mean it's not reliable ? This is looking at which .html have changed (not sgml). Surely that's reliable ? > > 654b6375401 wip: vcsregress: add alltaptests > > I assume this doesn't yet work to a meaningful degree? Last time I checked > there were quite a few tests that needed to be invoked in a specific > directory. It works - tap_check() does chdir(). But it's slow, and maybe should try to implement a check-world target. It currently fails in 027_stream_regress.pl, although I keep hoping that it had been fixed... https://cirrus-ci.com/task/6116235950686208 (BTW, I just realized that that commit should also remove the recoverycheck call.) -- Justin