Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Add a couple of roadmap items | Christopher Baines | 2022-02-09 | |
| | ||||
* | Switch to guile-fibers@1.1 | Christopher Baines | 2022-02-09 | |
| | | | | | I think the main change required is just to stop accessing the now missing current-fiber parameter. | |||
* | Allow overriding the success publish hook skip publishing behaviour | Christopher Baines | 2022-02-04 | |
| | | | | | | This means that when using the nar-herder, you can get it to check for the presence of the nar in the database, rather than relying on the narinfo on the disk. | |||
* | Only use GC protection when gnutls won't internally retry | Christopher Baines | 2022-02-04 | |
| | ||||
* | Fix binding the agent_id when querying for output conflicts | Christopher Baines | 2022-02-02 | |
| | ||||
* | Prioritise aarch64-linux builds over armhf-linux builds | Christopher Baines | 2022-02-02 | |
| | | | | | It's not great that this script hardcodes priorities, but since it does, just update it. | |||
* | Move priority-for-derivation | Christopher Baines | 2022-02-02 | |
| | | | | So that it's easier to incorporate the options into this. | |||
* | Fix the threshold for metrics delay logging | Christopher Baines | 2022-02-01 | |
| | ||||
* | Rewrite datastore-fetch-builds-to-allocate | Christopher Baines | 2022-02-01 | |
| | | | | | | | To avoid querying all of the builds in the allocation plan for the agent. This also fixes a regression with the ordering introduced in 5d6eb372ecda14df0d678a75194c607635095d04. | |||
* | Fix the selecting of builds from the allocation plan | Christopher Baines | 2022-01-31 | |
| | | | | | I believe this was changed in error in f70c97b6c79b9e91b16dfa9685fef6985682d6f0. | |||
* | More efficiently filter and select builds in the allocator | Christopher Baines | 2022-01-31 | |
| | | | | Specifically the derivation ordered allocator. | |||
* | Add extra logging around the last failed attempt | Christopher Baines | 2022-01-20 | |
| | | | | To make it easier to find the backtraces. | |||
* | Fix retry logging message | Christopher Baines | 2022-01-20 | |
| | ||||
* | Use the chunked-input-ended-prematurely exception type properly | Christopher Baines | 2022-01-20 | |
| | ||||
* | Unwind on hook logging exceptions | Christopher Baines | 2022-01-20 | |
| | | | | To make sure they're handled. | |||
* | Tweak metrics delay logging | Christopher Baines | 2022-01-20 | |
| | | | | | Just instrument the update-managed-metrics! function, and move some code around so this is clearer in the logs. | |||
* | Fix log message | Christopher Baines | 2022-01-19 | |
| | ||||
* | Tweak retrying code to not catch the exception on the last try | Christopher Baines | 2022-01-19 | |
| | | | | This might make it easier to see backtraces. | |||
* | Don't use the SQLite shared cache | Christopher Baines | 2022-01-19 | |
| | | | | | This seems to cause some locking issues when lots of activity is happening, disable this until it can be investigated further. | |||
* | Add some extra exception handling around processing hook events | Christopher Baines | 2022-01-19 | |
| | | | | | As hook processing can get stuck if one of the weird "conversion to port encoding failed" errors occurs. | |||
* | Switch around some SQLite stuff | Christopher Baines | 2022-01-19 | |
| | | | | | | | | Use SQLITE_OPEN_SHAREDCACHE for all connections, and create the writer thread first to allow this. I think this addresses some weridness I was seeing locally, where hooks would get processed multiple times. | |||
* | Delete processed hook events using a prepared statement | Christopher Baines | 2022-01-19 | |
| | ||||
* | Actually increment the build counts when submitting builds | Christopher Baines | 2022-01-19 | |
| | ||||
* | Improve the speed of initialising metrics | Christopher Baines | 2022-01-19 | |
| | | | | | Do the allocation metrics at the start of the relevant thread, and do the initialisation in parallel via fibers. | |||
* | Add letpar& | Christopher Baines | 2022-01-19 | |
| | | | | Mostly copied from the Guix Data Service. | |||
* | Don't require reading the derivation after the build has happened | Christopher Baines | 2022-01-19 | |
| | | | | As it might have been garbage collected. | |||
* | Add some extra delay logging | Christopher Baines | 2022-01-12 | |
| | ||||
* | Fix the get-derived-priority query | Christopher Baines | 2022-01-12 | |
| | | | | It was just broken before. | |||
* | Add some delay logging when inserting derivations | Christopher Baines | 2022-01-11 | |
| | | | | As this could benefit from a little optimising. | |||
* | Add correct guard to deleting compressed outputs | Christopher Baines | 2022-01-09 | |
| | ||||
* | Move UUID generation out of the insert builds transaction | Christopher Baines | 2022-01-07 | |
| | ||||
* | Remove use of last-insert-rowid in insert-build | Christopher Baines | 2022-01-07 | |
| | | | | This can be done through RETURNING now. | |||
* | Skip updating other build priorities for some builds | Christopher Baines | 2022-01-07 | |
| | | | | | | | | The builds submitted to ensure all related derivation outputs have builds. Submitting these builds won't cause the priority of any related builds to be updated, since they have a priority of 0, so this expensive part of submitting the builds can be skipped. | |||
* | Add LIMIT 1 to a couple of queries | Christopher Baines | 2022-01-07 | |
| | | | | Where only the first row is checked for. | |||
* | Fix insert-derivation-outputs returning the wrong ids | Christopher Baines | 2022-01-04 | |
| | | | | | It's expected to return an alist containing the derivation output ids, not the output ids. | |||
* | Don't create the guix-build-coordinator script for a minimal build | Christopher Baines | 2022-01-02 | |
| | ||||
* | Hack the autotools stuff to try and allow minimal builds | Christopher Baines | 2022-01-02 | |
| | | | | | | | | | No idea what this stuff is, but modify it with the intent of allowing building just the sources related to the agent, if guile-fibers is missing. This should make it easier to avoid problems in Guix where things like guile-fibers are currently broken for aarch64-linux, and also avoid having a load of perl dependencies for the agent, which doesn't use sqitch. | |||
* | Make some SQLite configuration tweaks | Christopher Baines | 2021-12-30 | |
| | | | | I think these help to improve performance, no concrete data through. | |||
* | Optimise inserting derivations | Christopher Baines | 2021-12-30 | |
| | | | | | | Avoid some queries by just moving around the values being queried for better. Also cache the outputs for a derivation so that doesn't have to be looked up. | |||
* | Delete compressed outputs after a build finishes successfully | Christopher Baines | 2021-12-27 | |
| | | | | Otherwise these files just build up. | |||
* | Remove bodies from responses to HEAD requests | Christopher Baines | 2021-12-27 | |
| | ||||
* | Have the agent add temporary roots on various store items | Christopher Baines | 2021-12-24 | |
| | | | | So that it's hopefully not affected by garbage collection activity. | |||
* | Log unknown store protocol error messages | Christopher Baines | 2021-12-24 | |
| | ||||
* | Fix route for getting the bytes uploaded for an output | Christopher Baines | 2021-12-24 | |
| | ||||
* | Improve still more to send log message | Christopher Baines | 2021-12-22 | |
| | ||||
* | Only show delay lines where the time is non 0 | Christopher Baines | 2021-12-22 | |
| | ||||
* | Fix unprocessed_builds_with_derived_priorities | Christopher Baines | 2021-12-22 | |
| | | | | A couple of the queries were wrong, this fixes it. | |||
* | Store a build before storing builds that it depends on | Christopher Baines | 2021-12-22 | |
| | | | | | So that the priority of the other builds can be set the first time, rather than being set incorrectly then updated. | |||
* | Improve logging when submitting outputs | Christopher Baines | 2021-12-22 | |
| | ||||
* | Increase parallelism for the substitutes worker thread channel | Christopher Baines | 2021-12-21 | |
| | | | | Just in case there's times where requests get stuck waiting for a thread. |