From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MBojFYinD2SlAgEASxT56A (envelope-from ) for ; Mon, 13 Mar 2023 23:45:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EFQ2FYinD2Tr9gAAauVa8A (envelope-from ) for ; Mon, 13 Mar 2023 23:45:28 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ED52D1EF5B for ; Mon, 13 Mar 2023 23:45:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbqub-0006Ym-1O; Mon, 13 Mar 2023 18:45:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbquX-0006YR-AW for guix-devel@gnu.org; Mon, 13 Mar 2023 18:44:57 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbquV-0003mu-Fw for guix-devel@gnu.org; Mon, 13 Mar 2023 18:44:57 -0400 Date: Mon, 13 Mar 2023 22:44:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1678747492; x=1679006692; bh=fmY+a1hv+0LVwo9eM6U8hqlEcYq4hytc2i15ETRDVSA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=fzoF00O3wGiDe6hb4hTMci0p2FK/rCFkvTwGHGK5VhCb3hY9F2D0d4g6745H7oCa/ Gbq3nXQHkTg253jcgkMso7fPxGYH2Y4uIUOUbYrF6KF/UK+LvfOi7+6h12Q7BbREdE QeT3Icsv3tib9y97BY863K8PtVaaB1ydo21NtBvwhAqJOANQU7BRXhtrMOF94XpqhF 3txRzscKZJ2lSMTOMykBMK3mjHmzm4YOGFmWk6sSsCC30b0wmeYzSYFM7IuJ0WgVua 7i+lrWy4mj89hXGmtH7jAo9KUTJ22piiNXSz9SWQyUlrPePoATahrkKXZUETsbW2wI FP0wNn4ufNFhA== To: Josselin Poiret From: Ryan Prior Cc: "Dr. Arne Babenhauserheide" , guix-devel@gnu.org Subject: Re: Caching test results separately? Message-ID: In-Reply-To: <871qlsi97h.fsf@jpoiret.xyz> References: <878rg0o5zy.fsf@web.de> <871qlsi97h.fsf@jpoiret.xyz> Feedback-ID: 7396961:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.22; envelope-from=rprior@protonmail.com; helo=mail-4322.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=fzoF00O3; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=protonmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678747528; a=rsa-sha256; cv=none; b=vDQ3YiPIG9A9jDS6uoA0QS/5N7c+iLzYaSRuzGH0mn/VT0veOD48bcsQvAdpOdlUzzOfm3 La1b8aut+aIQDfueE9gK61RDuLUFEBOubFg2M+qfmHrBzmR+IOaVQxUxw8HOluIG+v5Ues cpqcSiRLy91fEDT++LWDiT7E+TBL8Y0Avw66IEj0W7GV1dwHCpGxKnuYVhn5Y3/Px/lDTF fwpHXFdkGytudl25SOxMtLzymg7u2+C5UAxU/YTsEyS+7BNFw6jpnUUtvD4X6l29cY2FAI CI06yTDITPpSJgDed6GuwY1PM7Mtes+eKPN/B47ByfkQRtMmEIQOh0lchJKUfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678747528; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=fmY+a1hv+0LVwo9eM6U8hqlEcYq4hytc2i15ETRDVSA=; b=lDN52BcxxHCO3jFrZSc3uXSyXRBduDRC5ySXs40JhIa79pkVm8i0uZ0dJVjUHMHjWHzc0A KdKjs0S1PA9HWHA95mXIw+xuV2dwGXSreQQH0/rgUvp8SF5ClfhrBphPVckMC19p9USSp6 dK+z4YXbXqMbb+p1ysuh6KUmDp17NHLRB+FDhbl6BRMKljxoLWvnG8HEOX6GGSGFZzOw/h W26d8INrhA4d+GU+h+LIIuGvLfWdiGwOtm79TjemRs4ntnQSUrI2+/mN77gDEqkbH4pmII ElrRFZEXcyeF0Be9atrcAQOKguwbcmnPJBzBjwp0/STC47xainwZTT9UhiRnzw== X-Migadu-Spam-Score: -5.45 X-Spam-Score: -5.45 X-Migadu-Queue-Id: ED52D1EF5B X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=fzoF00O3; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=protonmail.com X-TUID: 7CwPuQjqhVz+ ------- Original Message ------- On Monday, March 13th, 2023 at 10:21 PM, Josselin Poiret = wrote: > But I would really like for tests to move out of build phases I've mentioned this previously in IRC as well. Fundamentally, it strikes me= as wrong that a change which only affects tests, leaving the installed pac= kage the same byte for byte, should require a full package re-build. An improvement would be to treat tests, and their pass/fail status, are met= adata separate from package builds. In Eelco's thesis, testing is described= as a major motivator for nix: but in his construction, nix's role is to pr= oduce package builds, and then you run tests on the outputs to decide wheth= er to promote a build into production or not. We should use Guix to create = testing, staging and production deployments, not to gatekeep and prevent pa= ckages with failing tests from building. Many packages I've created or upgraded had some or all tests disabled becau= se they require a network stack, eg a client library for postgres requires = a postgres server. This should be easy to model using Guile and Guix. I wou= ld love to contribute to development in this direction. Ryan