aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Support finding blocking builds not including cancelled onesChristopher Baines2021-04-16
| | | | As including cancelled ones can make the query much slower.
* Handle receiving logs as bytevectorsChristopher Baines2021-04-09
| | | | I think this can happen if the log doesn't arrive as a chunked HTTP request.
* Fix the foreign key constraint on setup_failure_missing_inputsChristopher Baines2021-04-08
| | | | It was broken in a previous migration.
* Always join against the derivations tableChristopher Baines2021-04-04
| | | | | As that's now needed for the derivation name in datastore-list-failed-builds-with-blocking-count.
* Truncate the WAL if it exceeds 100MiBChristopher Baines2021-04-04
| | | | As database performance seems to start to drop off around this point.
* Fix tagging buildsChristopher Baines2021-04-02
|
* Always include derivation joinChristopher Baines2021-04-02
|
* FixChristopher Baines2021-03-30
|
* Fix more build id/uuid issuesChristopher Baines2021-03-30
|
* FixChristopher Baines2021-03-30
|
* Fix types in the allocated_builds tableChristopher Baines2021-03-30
|
* Stop quoting number build idsChristopher Baines2021-03-30
|
* Fix more type issuesChristopher Baines2021-03-30
|
* Fix incorrect parameterChristopher Baines2021-03-30
|
* Fix GROUP BYChristopher Baines2021-03-30
|
* Add missing GROUP BYChristopher Baines2021-03-30
| | | | This was removed in error in 57932a3d80ba6e41bb349487372f990cf56063d1.
* Fix datastore-fetch-build-ids... not returnning uuidsChristopher Baines2021-03-30
|
* Fix issue with numeric build IDs in stringsChristopher Baines2021-03-30
|
* Start the allocator and hook threads laterChristopher Baines2021-03-29
| | | | It's important that this code doesn't run until Sqitch has run.
* Use numeric ids for the derivations and buildsChristopher Baines2021-03-29
| | | | | Using natural IDs was nice at the start, but just doesn't scale. This migration cuts the database size, and potentially speeds up queries as well.
* Only show blocking builds which actually block at least one buildChristopher Baines2021-03-29
| | | | Otherwise this turns in to a list of mostly canceled builds.
* Add some error handling for POST buildsChristopher Baines2021-03-27
|
* Include cancelled builds when looking for blocking buildsChristopher Baines2021-03-27
| | | | As a build being cancelled can explain why others can't progress.
* Fix the build-failure-retry-hookChristopher Baines2021-03-26
|
* Add Guile GC related metricsChristopher Baines2021-03-25
| | | | | I'm seeing mmap(PROT_NONE) failed crashes, and maybe these metrics will help in understanding what's going on.
* Fix bug in datastore-fetch-build-to-allocateChristopher Baines2021-03-07
|
* Make the build failure retry hook more flexibleChristopher Baines2021-03-06
| | | | | | | | Now a procedure can be passed in, which should return arguments for the builds to submit. I'm looking at using this to spread retries across a range of machines for example, by specifying different tags for each of the retries.
* Add a new dynamic authentication approachChristopher Baines2021-02-28
| | | | | | This avoids the need to create agents upfront, which could be useful when creating many childhurd VMs or using scheduling tools to dynamically run agents.
* Move request-query-parameters to utilsChristopher Baines2021-02-28
|
* Prepare for the addition of a (guix substitutes) moduleChristopher Baines2021-02-23
| | | | | | | If and when this happens, some proceduces will be moved. This change might avoid things breaking. https://issues.guix.gnu.org/45409
* Ignore canceled builds when considering builds for related derivationsChristopher Baines2021-02-20
|
* Add exception handling for the submit outputs hookChristopher Baines2021-02-18
|
* Fix processing the hook namesChristopher Baines2021-02-18
|
* Stop hardcoding hook names in the argument processingChristopher Baines2021-02-18
|
* Add a hook for determining whether agents should submit outputsChristopher Baines2021-02-17
| | | | | This should make it possible to check properly whether the outputs are needed, instead of just assuming they are not if there's been a successful build.
* Avoid some threads and locks when running on the hurdChristopher Baines2021-02-15
| | | | I've see the process hang on the hurd, and I think this might help.
* Increase the derivation ordered allocator default planned buildsChristopher Baines2021-02-15
| | | | | As the derivation ordered allocator is quite slow when there's a large number of builds to consider.
* Revert "Speed up the explicit WAL checkpoints"Christopher Baines2021-02-14
| | | | | | I'm not sure this is helping. This reverts commit ac6a85af9770fa2e2ac33ac20fbdf91103b32f21.
* Tweak the S3 publish hook to avoid issues for not submitted outputsChristopher Baines2021-02-14
| | | | | | | | | | | | Agents can skip submitting outputs where those outputs have already been received, this saves some work when all the information is communicated in the build status. The publish hook worked with this change, because it checks for narinfo files, and would not bother about the missing outputs if the corresponding narinfo existed. This didn't quite work with the s3 publish hook though, but these changes address that by getting the two hooks to write and check for narinfo files in the same location.
* Show backtraces upon hook errorsChristopher Baines2021-02-14
| | | | | This might not be helpful, but I think it's still worth trying, even if all the line numbers are within Guile itself...
* Add a log message at the end of a buildChristopher Baines2021-02-14
| | | | So it's clearer that it's ended.
* Speed up the explicit WAL checkpointsChristopher Baines2021-02-14
| | | | To try and curtail the WAL growth.
* Remove unused coordinator module from the http agent messaging moduleChristopher Baines2021-02-13
|
* Disable the local agent-messaging backendChristopher Baines2021-02-13
| | | | | It's causing issues with trying to run the agent on the hurd, as it pulls in the datastore and sqlite along with it.
* Remove (guix-build-coordinator datastore) import from agent moduleChristopher Baines2021-02-13
| | | | I'm seeing this pull in sqlite3 unnecessarily on the hurd.
* Adjust guix-dev.scm for more compatability with old Guix versionsChristopher Baines2021-02-12
|
* Fix use of assocChristopher Baines2021-02-12
|
* Tweak trying to safely load the (guix narinfo) moduleChristopher Baines2021-02-10
| | | | | I think the eval-when thing might help given narinfo-references is a syntax thing, rather than a normal procedure.
* Add fallback package for guile-prometheusChristopher Baines2021-02-09
|
* Add fallback package for guile-lzlibChristopher Baines2021-02-09
|