From: Ricardo Wurmus <rekado@elephly.net>
To: "Jonathan Frederickson" <jonathan@terracrypt.net>
Cc: guix-devel@gnu.org
Subject: Re: Indication of build failure from substitute servers?
Date: Tue, 06 Aug 2024 11:39:01 +0200 [thread overview]
Message-ID: <87zfpqc7nu.fsf@elephly.net> (raw)
In-Reply-To: <d68ed4ae-a8e0-4b23-bcd9-ad8ac8b26514@app.fastmail.com> (Jonathan Frederickson's message of "Mon, 22 Jul 2024 22:38:35 -0400")
"Jonathan Frederickson" <jonathan@terracrypt.net> writes:
> Would it make sense to have some mechanism for substitute servers to be able to provide a sort of "non-existence proof" for a given
> package? Something that the CI system could publish to indicate that its build attempt for that package failed, and that clients could use
> to optionally abort without attempting a local build?
It's something I've been wanting for the past decade. The CI system
knows when a build has failed but when checking for substitutes there is
no endpoint to ask whether the CI build has failed.
In the past we had discussed enhancements to the substitution mechanism
(with the background of making use of information from "guix challenge")
that would allow people to have a bit more control over it. In the
meantime we have added a way to let "guix pull" determine the latest
commit with substitutes for the derivations needed for "guix pull" ---
in the same vein we could enhance the substitution mechanism to check an
endpoint on CI and abort if the remote build has been marked as failed.
If you'd like you could think this through and come up with a minimal
set of proposed changes needed to make it work. Then we could discuss
this here and decide which of the possibile approaches would be most
appropriate.
--
Ricardo
prev parent reply other threads:[~2024-08-06 9:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-23 2:38 Indication of build failure from substitute servers? Jonathan Frederickson
2024-08-02 10:19 ` Marek Paśnikowski
2024-08-06 9:00 ` Ricardo Wurmus
2024-08-06 16:53 ` pelzflorian (Florian Pelz)
2024-08-06 9:39 ` Ricardo Wurmus [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zfpqc7nu.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=guix-devel@gnu.org \
--cc=jonathan@terracrypt.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.