aboutsummaryrefslogtreecommitdiff
path: root/guix-build-coordinator/datastore
Commit message (Collapse)AuthorAge
* Fix datastore-find-derivation-for-outputChristopher Baines2021-05-27
|
* Fix datastore-list-unbuilt-derivation-outputsChristopher Baines2021-05-27
|
* Fix datastore-list-build-outputs for the new outputs tableChristopher Baines2021-05-27
|
* Return #f from datastore-find-derivation-outputs if none are foundChristopher Baines2021-05-21
| | | | As this is clearer than '().
* Allow datastore-find-derivation-system to return #fChristopher Baines2021-05-21
| | | | If the derivation doesn't exist.
* Enable foreign key checkingChristopher Baines2021-05-21
| | | | I thought this would be on by default, but apparently not.
* Introduce a systems tableChristopher Baines2021-05-21
|
* Introduce an outputs tableChristopher Baines2021-05-21
|
* Remove non-existent exportChristopher Baines2021-04-20
|
* Make some SQLite related improvementsChristopher Baines2021-04-20
| | | | | Don't keep database connections around forever as this relates to cached query plans, and also run the optimize pragma when closing connections.
* Support finding blocking builds not including cancelled onesChristopher Baines2021-04-16
| | | | As including cancelled ones can make the query much slower.
* 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
|
* 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
|
* 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.
* Include cancelled builds when looking for blocking buildsChristopher Baines2021-03-27
| | | | As a build being cancelled can explain why others can't progress.
* Fix bug in datastore-fetch-build-to-allocateChristopher Baines2021-03-07
|
* 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.
* Ignore canceled builds when considering builds for related derivationsChristopher Baines2021-02-20
|
* Revert "Speed up the explicit WAL checkpoints"Christopher Baines2021-02-14
| | | | | | I'm not sure this is helping. This reverts commit ac6a85af9770fa2e2ac33ac20fbdf91103b32f21.
* Speed up the explicit WAL checkpointsChristopher Baines2021-02-14
| | | | To try and curtail the WAL growth.
* Trigger build allocations when necessary for deferred buildsChristopher Baines2021-02-06
|
* Fix datastore-list-builds failing if systems isn't specifiedChristopher Baines2021-02-05
|
* Filter out not-tags which don't existChristopher Baines2021-02-05
|
* Make it possible to look for blocking builds for a specific systemChristopher Baines2021-02-02
|
* Fix ignoring builds with no tags in datastore-list-buildsChristopher Baines2021-01-31
|
* Support listing and canceling builds by derivation systemChristopher Baines2021-01-31
|
* Exclude allocated builds from setup failuresChristopher Baines2021-01-26
| | | | As I think this is causing the allocator to crash.
* Fix up a load of the tag related codeChristopher Baines2021-01-17
| | | | | Turns out vector-fold and vector-map don't work like I'd expected them to, like fold and map for vectors.
* Stop treating collections of tags as alistsChristopher Baines2021-01-17
| | | | | | | This translates poorly to JSON, as you can't have multiple values for one name in a JSON object. Is also is risky in terms of assoc-ref being used, and not considering more than one key. Using a vector of pairs should help in both situations.
* Add tags for agentsChristopher Baines2021-01-17
| | | | | This will allow doing things like restricting builds by matching up there tags to the tags of the agents.
* Exclude allocated builds from the basic allocatorChristopher Baines2021-01-17
|
* Tweak datastore-list-unbuilt-derivation-outputsChristopher Baines2021-01-16
| | | | So it works with the code in handle-build-result.
* Start migrating derivation-inputs to derivation_inputsChristopher Baines2021-01-16
| | | | As I think underscores are more idiomatic in JSON.
* Add datastore-list-unbuilt-derivation-outputsChristopher Baines2021-01-16
|
* Allow nesting transactions in codeChristopher Baines2021-01-16
| | | | | You can't actually nest transactions, so just track if one is in progress, and don't attempt to start a transaction if that's the case.
* Use a readonly transaction for datastore-fetch-build-to-allocateChristopher Baines2021-01-16
| | | | As it doesn't write to the database.
* Fix some sqlite datastore slot referencesChristopher Baines2021-01-16
|