Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tmACs-004c2h-3H for pgsql-hackers@arkaria.postgresql.org; Sun, 23 Feb 2025 11:31:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tmABr-009RuZ-Si for pgsql-hackers@arkaria.postgresql.org; Sun, 23 Feb 2025 11:30:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tmABr-009Rs8-GQ for pgsql-hackers@lists.postgresql.org; Sun, 23 Feb 2025 11:30:31 +0000 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tmABo-000JNR-2W for pgsql-hackers@lists.postgresql.org; Sun, 23 Feb 2025 11:30:30 +0000 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-30a2cdb2b98so35256141fa.0 for ; Sun, 23 Feb 2025 03:30:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeltef.nl; s=google; t=1740310227; x=1740915027; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3LjazPDMgvOzOXREnS1qWLONVOb/DRLSmBn+wtnzATc=; b=W1aebvohSDGsiwPnmIYFE+kxRA1HPZu01L1jOh5HAzFHj60VN3EIC8MMqHUVyFtl6k SrCYGydPQwWsp86F3ovqVUrfUHbvubO+sdsXQ5Iu5Yw2Er5YHj+BHoBUGCMKTg/y/l8C MqA06Hsx//wcojI+UUkMb4H8qWi0whYVVgQ5PW7zv+PfvqTGl+yFb3WIxI7n7hjVwSY0 AM+Gr5xzlo4zr0DY9yqEWiFc4h/gSrnbMxmrFrO0+u8d4IZYqALBrLMu9nlxOrUT/tiO gqVkxk891mH3dQIf/Kcmn6rho4ua12KP+KKiBfgkDZXc9+0glFOgkNLa9/tHEKAswdEp rG7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740310227; x=1740915027; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3LjazPDMgvOzOXREnS1qWLONVOb/DRLSmBn+wtnzATc=; b=V9mSXtHr1wkIn0RAEIxqiQTj0rYvfp5XRKN0MRvVERse/AErcQCle6E42KlIihIgMq fEfz/4EEvauCCnnW/0h03lFrdNGqk1oDXlXdMq+4M5CgU0G4evl7XNj4/Y30ypba4IrS 4xs5Du0Gqk8VCPaBy+KgC8tStsToJw2phMYhyP9AN8bZE1Ea++VdcuwXzu3fUKKhIzKj Cc4X3c/hBmkFQQ4r0tCAvDqWSBG1sRaZ+t5G4laDVAyuKaoHEaKWWDzF4vT4a43uFpYM OUDHrPtCmzWgG3mf8CYeOtZFMxLwBbq+RfHxEw0H2DJ6vGhrIYtrJp5y2s8nFhDhiOiK ZvIQ== X-Forwarded-Encrypted: i=1; AJvYcCUxR53DuRLu7w5BiXlfJ1qXn5O9KCz5E2DeBfyeLrnRTXcV2ogGjE0sXylaD3ijB6h13UYHM4BDtsYw+lh+@lists.postgresql.org X-Gm-Message-State: AOJu0YxXmeZ1ysg8gUrpbN8iWOuppndqgxT8ZWpdMR1Aw1HNeRyrqplm IXkc/SMsH/mJlYSz37XASBQEATpxV09NxTi034k94QV7hH0h3ZpZmTtxProx3jAf2nOXCXThCBe XJr6txqRzh5tiTv+aoTe1Dnkyvgj2nDio/07+gQ== X-Gm-Gg: ASbGncsvQoyzUzpPedH+dFzlhuvWepEBW6Jd1Wfs1ddBK5IhxaaYRu8IaPOL6XA+BgR ZMMuynnebIp8M2T7KOo2AuQr0+7J/7i+BAfADwQklrdHZrpp6B8H5hGT60HIX4ggKS2ZYp5XBhn 0KHaaPAYKz X-Google-Smtp-Source: AGHT+IF+keHeWHLEGMNkeg9piDiTBm6UgbQHv2inepb0KHtef3rTEw5kYhUzTZJ1CkztDk51j57/FlSY9f2xTRr6xJs= X-Received: by 2002:a2e:9c8b:0:b0:309:24df:f193 with SMTP id 38308e7fff4ca-30a5b20d927mr32244541fa.28.1740310227186; Sun, 23 Feb 2025 03:30:27 -0800 (PST) MIME-Version: 1.0 References: <01ec86c1-e04b-4cbe-b641-22cae8b87604@tantorlabs.com> <73e2440e-7d8b-4860-974d-931a93326d95@gmail.com> <3737950.1740182671@sss.pgh.pa.us> In-Reply-To: From: Jelte Fennema-Nio Date: Sun, 23 Feb 2025 12:30:16 +0100 X-Gm-Features: AWEUYZkITVZ5JMDKUe5HWVRXaKruYBUjIy-_gu9n8uAY4U4dysw4MgzTrPgMsgg Message-ID: Subject: Re: a very significant fraction of the buildfarm is now pink To: Robert Haas Cc: Andres Freund , Tom Lane , Ilia Evdokimov , Andrei Lepikhov , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This was very painful to read. +1 on making changes. Both for a culture change to require less urgency over the weekend if it's a minor failure, and probably also a tooling change to make this less of a problem in general. On Sat, 22 Feb 2025 at 04:38, Robert Haas wrote: > > On Fri, Feb 21, 2025 at 9:14=E2=80=AFPM Andres Freund wrote: > > I'd also say that breaking CI and BF is probably something I'd consider= more > > urgent, as that could indicate the commit was just generally less well = tested. > > This is possible, but I think we oversell it by quite a lot. It's > quite possible for someone to put hundreds of hours into a patch and > forget to check CI before pushing; ...snip... > Twenty years ago, post-commit testing > was probably the best you could hope for, but today it isn't. 100% agreed. As someone also working on other open source projects, this reads incredibly foreign. This is a problem that simply cannot happen in most projects I've worked on: GitHub will simply not allow you to push to master/main if CI fails (at least not without an explicit override). Postgres is the only project I work on where all these things only run post-push to master. To be clear, I'm not saying that we should be using GitHub for this, although I personally think that would be a good idea given our CI is triggered by pushes to GitHub. But it at least seems like one thing that we need is a process change to make it less likely that people accidentally push broken changes to master. e.g. We create a staging repo (which could be on GitHub) and each committer has their own branch (or branch prefix). Then when a committer pushes there, CI is run and probably also some significant part of the build farm (and maybe a committer could even opt in to running the full build farm). If they pass, then the branch is automatically rebased on top of master and pushed to the production repo its master branch.