pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tristan Partin <tristan@neon.tech>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Subject: Re: Cirrus-ci is lowering free CI cycles - what to do with cfbot, etc?
Date: Tue, 08 Aug 2023 10:45:46 -0500
Message-ID: <CUNA39XZ9MFW.2E7V98YIQ1IR5@gonk> (raw)
In-Reply-To: <20230808153817.lpcjn5eyzi3z4d3x@awork3.anarazel.de>
References: <20230808021541.7lbzdefvma7qmn3w@awork3.anarazel.de>
	<CUN9O1FGBHA1.3R7SSO36UFF8K@gonk>
	<20230808153817.lpcjn5eyzi3z4d3x@awork3.anarazel.de>

On Tue Aug 8, 2023 at 10:38 AM CDT, Andres Freund wrote:
> Hi,
>
> On 2023-08-08 10:25:52 -0500, Tristan Partin wrote:
> > On Mon Aug 7, 2023 at 9:15 PM CDT, Andres Freund wrote:
> > > FWIW: with the patches applied, the "credit costs" in cirrus CI are roughly
> > > like the following (depends on caching etc):
> > > 
> > > task costs in credits
> > > 	linux-sanity: 0.01
> > > 	linux-compiler-warnings: 0.05
> > > 	linux-meson: 0.07
> > > 	freebsd   : 0.08
> > > 	linux-autoconf: 0.09
> > > 	windows   : 0.18
> > > 	macos     : 0.28
> > > total task runtime is 40.8
> > > cost in credits is 0.76, monthly credits of 50 allow approx 66.10 runs/month
> > 
> > I am not in the loop on the autotools vs meson stuff. How much longer do we
> > anticipate keeping autotools around?
>
> I think it depends in what fashion. We've been talking about supporting
> building out-of-tree modules with "pgxs" for at least a 5 year support
> window. But the replacement isn't yet finished [1], so that clock hasn't yet
> started ticking.
>
>
> > Seems like it could be a good opportunity to reduce some CI usage if
> > autotools were finally dropped, but I know there are still outstanding tasks
> > to complete.
> > 
> > Back of the napkin math says autotools is about 12% of the credit cost,
> > though I haven't looked to see if linux-meson and linux-autotools are 1:1.
>
> The autoconf task is actually doing quite useful stuff right now, leaving the
> use of configure aside, as it builds with address sanitizer. Without that it'd
> be a lot faster. But we'd loose, imo quite important, coverage. The tests
> would run a bit faster with meson, but it'd be overall a difference on the
> margins.
> 
> [1] https://github.com/anarazel/postgres/tree/meson-pkgconfig

Makes sense. Please let me know if I can help you out in anyway for the 
v17 development cycle besides what we have already talked about.

-- 
Tristan Partin
Neon (https://neon.tech)





view thread (39+ messages)  latest in thread

Message-ID: <CUNA39XZ9MFW.2E7V98YIQ1IR5@gonk>
Permalink:  ../CUNA39XZ9MFW.2E7V98YIQ1IR5@gonk/
Also on:    postgresql.org/message-id/CUNA39XZ9MFW.2E7V98YIQ1IR5@gonk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tristan@neon.tech, andres@anarazel.de, thomas.munro@gmail.com, pryzby@telsasoft.com
  Subject: Re: Cirrus-ci is lowering free CI cycles - what to do with cfbot, etc?
  In-Reply-To: <CUNA39XZ9MFW.2E7V98YIQ1IR5@gonk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox