aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Log the derivation substitute urls when failing to fetch derivationsChristopher Baines2023-03-13
| | | | This might make it clearer when there's a configuration issue.
* Add a combined variant of the post-publish-hookChristopher Baines2023-03-13
| | | | | | | | | To the build-success-publish-hook. This should make it possible to pass all nars and narinfo's to the nar-herder in one go, which in turn should make it possible to have the nar-herder validate referential integrity, even in the case where one build has multiple outputs which have circular references.
* Add COPYING fileChristopher Baines2023-03-13
|
* Support skipping updating derived priorities when cancelling buildsChristopher Baines2023-02-21
| | | | | | Since this is quite expensive and can be unnecessary when you're cancelling a specific batch of builds where you know the prioritisation won't affect the remaining builds.
* Tweak updating derived priorities when canceling buildsChristopher Baines2023-02-21
| | | | | Move the action in to the coordinator module, so that it happens outside of the main write transaction.
* Rework canceling buildsChristopher Baines2023-02-21
| | | | | | | | | Previously there were some protections introduced against canceling builds that were required by other builds, but this change wasn't quite complete as at least the command line interface wasn't updated to take this in to account. This commit updates the command line interface, as well as improving the controller.
* Provide a mechanism to gracefully abort transactionsChristopher Baines2023-02-21
|
* Port datastore-call-with-transaction improvements from the nar-herderChristopher Baines2023-02-21
| | | | | | This makes write transactions immediate by default, which is helpful since database-call-with-transaction then can handle when the transaction is blocked. These changes should also improve the exception handling.
* Support multiple return values in call-with-time-trackingChristopher Baines2023-02-21
|
* Don't double quote the common build filtering default optionsChristopher Baines2023-02-15
|
* Fix setting the lzip nar size for source file narinfosChristopher Baines2023-02-01
|
* Tweak error handing around reading derivaitons when submitting buildsChristopher Baines2023-01-30
| | | | | I don't think the alarm based with-timeout was working, so remove that and make the exception handling more general.
* Try to improve protections against getting stuck when substitutingChristopher Baines2023-01-30
| | | | | | | I think the agent and coordinator can get stuck when talking to the guix-daemon to substitute things, potentially because the Guile code involved on the daemon side isn't guarding against getting stuck. Try to work around this here by setting timeouts on the connection to the daemon.
* Support publishing referenced source filesChristopher Baines2023-01-30
| | | | | Build outputs can reference derivation source files. This change to the publish hook enables publishing these referenced source files.
* Stop signing the information about compressed files in narinfosChristopher Baines2022-11-25
| | | | | This matches up with the now not so recent change in guix publish where this code comes from.
* Use port timeouts when fetching build inputsChristopher Baines2022-11-10
| | | | As this seems to hang sometimes, and maybe port timeouts will help with this.
* Store build and build results counts in the databaseChristopher Baines2022-10-28
| | | | | | Rather than trying to count all builds and build results at startup. This should speed up the coordinator starting up, as currently it gets slower the more builds and build results are in the database.
* Switch to using = for testing numerical equalityChristopher Baines2022-10-22
| | | | As I think I've been abusing eq?.
* Clean up some loggingChristopher Baines2022-10-22
|
* Log when output files are renamedChristopher Baines2022-10-22
|
* Add more logging when output files are deletedChristopher Baines2022-10-22
|
* Log the time for parts of the datastore metric initialisationChristopher Baines2022-10-21
|
* Tweak upload handling againChristopher Baines2022-10-21
| | | | | | This partially reverts some recent changes. There should now be better handling of when all the bytes have been sent, but the hash hasn't yet been computed.
* Copy upload error handling to the partial routeChristopher Baines2022-10-21
|
* Log the file size and md5 hash on the agent sideChristopher Baines2022-10-21
| | | | When errors occur during upload.
* Include the file size and md5 hash in error messagesChristopher Baines2022-10-21
| | | | | When an error occurs while trying to compute the hash, as I hope this information will help to identify where things have gone wrong.
* Tweak output uploading codeChristopher Baines2022-10-19
| | | | Force sending the file from the start the first time the upload is attempted.
* Move SIGPIPE handling in to the scriptChristopher Baines2022-10-19
| | | | Just in case there's places where the previous handling didn't catch it.
* Increase priority for i586-pc-gnu buildsChristopher Baines2022-10-18
| | | | | In the queue builds script, as these derivations are needed for building the childhurd VMs.
* Raise exceptions when port-poll times outChristopher Baines2022-10-16
| | | | Otherwise port-poll will just be called again.
* Use suspendable ports for the agent, with timeoutsChristopher Baines2022-10-16
| | | | | | | | This seems like a way of making the Guile internals for doing network I/O reliable. Currently, there are problems where things on the network timeout, but the Guile code for reading/writing just sits there, hung. This seems like it might help.
* Fix queuing up revisions to be processed in the queue builds scriptChristopher Baines2022-10-16
|
* Throttle calling alarmChristopher Baines2022-10-15
| | | | Just in case calling it frequently causes problems.
* Reset the upload progress when appropriateChristopher Baines2022-10-14
|
* Add more logging around file uploadsChristopher Baines2022-10-14
|
* Shorten timeout when submitting outputsChristopher Baines2022-10-14
| | | | By resetting the timeout while the file is being uploaded.
* Tweak output upload timeoutChristopher Baines2022-10-14
| | | | | Make it longer to avoid timeouts for large files, and increase the delay before restarting the upload.
* Add some more logging when agents submit outputsChristopher Baines2022-10-14
|
* Fix missing list in queue builds scriptChristopher Baines2022-10-11
|
* Fix tags datastructure in the queue builds scriptChristopher Baines2022-10-11
|
* Guard against canceling builds required by othersChristopher Baines2022-10-11
|
* Support listing builds and including/excluding builds by relationshipChristopher Baines2022-10-11
| | | | | This is to help cancel builds, but where you want to avoid builds that are still needed by others.
* Allow specifying the maximum number of allocated buildsChristopher Baines2022-10-10
| | | | For an agent.
* Tag builds when submitting themChristopher Baines2022-10-10
| | | | | In the queue builds from guix-data-service script. This is to help identifying the source of the build.
* Add system information in to listing the build allocation planChristopher Baines2022-10-10
|
* Include priority information in the allocation plan outputChristopher Baines2022-10-09
| | | | Also switch derivation-name to use an underscore.
* Improve listing agent build allocation plansChristopher Baines2022-10-09
|
* Tweak hardcoded derivation prioritiesChristopher Baines2022-10-08
| | | | To separate the build priorities out a bit more.
* Don't crash on chunked input exceptionsChristopher Baines2022-10-08
|
* Check the dynamic auth token before creating new agentsChristopher Baines2022-10-08
|