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 1sHuOj-00BVT2-Oa for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Jun 2024 00:02:29 +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 1sHuOh-009rgj-Gj for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Jun 2024 00:02:28 +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 1sHuOh-009rgb-5Z for pgsql-hackers@lists.postgresql.org; Fri, 14 Jun 2024 00:02:28 +0000 Received: from mail-qv1-xf29.google.com ([2607:f8b0:4864:20::f29]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sHuOf-001Y3X-3S for pgsql-hackers@postgresql.org; Fri, 14 Jun 2024 00:02:26 +0000 Received: by mail-qv1-xf29.google.com with SMTP id 6a1803df08f44-6b05e504bceso12062786d6.2 for ; Thu, 13 Jun 2024 17:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1718323342; x=1718928142; darn=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=+pNhqrx28BpPg+nD7/zppu+grSOuQGp3/gw+K15A5mk=; b=fk7qd7srnFtB0KW+uU2FZpU7p204Ml3SR+0j771rfhdDZbJDIk05TkvmVAi/avUDpo BA1sM0VZcnd7IPp5LPXHMaJjarSJASNfLfxD+B9KXWwPj2nNtCq2+eYp4gVQZzFIv5PD U/oRy6WjWTnX5MhqCFA5WPihDV/MUk3S3xRICC6cBPdIMtwLC0BdiiqVQK1grpJJTDzL iOHC9bZcn44afsGdSt9B4NfEQgeJig+fXZFSFhETg8mDKJRmvMB/qWEGy5Esh0GZyAhi uZCL02RydD0Cackh9qkGKa9jGsyqsgyEPk1m311HgjWH6y7ASJAwc6/INFTAHVZbsqF2 7zJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718323342; x=1718928142; 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=+pNhqrx28BpPg+nD7/zppu+grSOuQGp3/gw+K15A5mk=; b=qpJ9HMJwU9o5jepsrXbs+MgSx43CIb+B3LJKkGikAm0jtCc+PocNvwYk/BWk3F5Q1l 44RYo2Mhkn6xRVsw7//BI6HsHO+7bVoQ5Ntl3ynWEF3crt1a6gThldpSznJ6aWPaK9Yv tPQY1dDuP2AxDx6gqyiA3i7txHyPir7It7kaPDrWcV7zshNo3E42oTSkr6JaSm9dcqe2 KScMEtHBfFsqb5GnEZRPNWlDfoURxNwCDONGskVgqnZlhM6xvFshJ+aWb8uBPfXCIlWG kvItIzt+WNDc9HrM1I3iHEvzLxgu3j61fDMI11npLd5esFJ7Ox0IpQpFYC1sm0pAbqyL DvnA== X-Forwarded-Encrypted: i=1; AJvYcCUuQsQQF8b2K+saKCOrvhdd+fZOp2RJtdDoFZm4qUcsw5fO2szoVBWx/d9vpjB5gYT9i8JCHW2fd07X83ct5VG2TOca5S3ZO8DF8TCh X-Gm-Message-State: AOJu0YxZiyNzonM04kr0C+dTJrN1yVRst3c1TQBXakEaSHqZzHovE/mc kYnHzISzeBqrElbgVaPEMB3Po6Hhe2/ky/wtjA61jKo0RLbv8yJi9GHJ+5Hc9SEbgKzq0Nb0up7 6tq2+d1nSUMfn5CqRAJn/lcHviHMotj41ER8x X-Google-Smtp-Source: AGHT+IEPZBt/VTXOg9vr9NVJx7ZLYVIxIIn+5hR1XlbVH/Im6BgoatZNW2wbAjOohirbavvdiIl7bMSd/Gmqzw6vK7I= X-Received: by 2002:a05:6214:292:b0:6b0:660f:c5c7 with SMTP id 6a1803df08f44-6b2afd6154dmr10821306d6.47.1718323342356; Thu, 13 Jun 2024 17:02:22 -0700 (PDT) MIME-Version: 1.0 References: <20240610200411.byj6sv2vpgol6wcf@awork3.anarazel.de> <20240612155040.u6cvatdb5tiwcxci@awork3.anarazel.de> In-Reply-To: From: Jacob Champion Date: Thu, 13 Jun 2024 17:02:11 -0700 Message-ID: Subject: Re: RFC: adding pytest as a supported test framework To: Robert Haas Cc: Jelte Fennema-Nio , Daniel Gustafsson , Andres Freund , 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 On Thu, Jun 13, 2024 at 1:04=E2=80=AFPM Robert Haas = wrote: > One caveat here, > perhaps, is that the focus of the work you've done up until now and > the things that I and other community members may want as a condition > of merging stuff may be somewhat distinct. You will have naturally > been focused on your goals rather than other people's goals, or so I > assume. Right. That's a risk I knew I was taking when I wrote it, so it's not going to offend me when I need to rewrite things. > I would be a bit wary of splitting it up over > too many different threads. It may well make sense to split it up, but > it will probably be easier to review if the core work to enable this > is one patch set on one thread where someone can read just that one > thread and understand the situation, rather than many threads where > you have to read them all. I'll try to avoid too many threads. But right now there is indeed just one thread (OAUTHBEARER) and it's way too much: - the introduction of pytest - a Construct-based manipulation of the wire protocol, including Wireshark-style network traces on failure - pytest fixtures which spin up libpq and the server in isolation from each other, relying on the Construct implementation to complete the seam - OAuth, which was one of the motivating use cases (but not the only one) for all of the previous items I really don't want to derail this thread with those. There are other people here with their own hopes and dreams (see: unconference notes), and I want to give them a platform too. > > That doesn't mean I want to > > do this without a plan; it just means that the plan can involve saying > > "this is not working and we can undo it" which makes the uncertainty > > easier to take. > > As a community, we're really bad at this. [...] I will carry the response to this to the next email. Thanks, --Jacob