aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web
Commit message (Collapse)AuthorAge
* Have delete-duplicates/sort! take a equality procedureChristopher Baines2024-01-18
| | | | And change the default, as eq? doesn't always work.
* Fix some select-build-servers callsChristopher Baines2023-12-04
|
* Instrument handling build eventsChristopher Baines2023-11-24
|
* Remove hardcoding of builtin:downloadChristopher Baines2023-11-16
| | | | As this was causing problems with builtin:git-download.
* Set the names of more threadsChristopher Baines2023-11-16
| | | | To help with debugging.
* Try to avoid the metrics timing outChristopher Baines2023-11-09
| | | | As that makes debugging problems harder.
* Include output information in the package page responseChristopher Baines2023-11-05
| | | | | As this will be useful for QA to say whether the package builds reproducibly or not.
* Use fibers when processing new revisionsChristopher Baines2023-11-05
| | | | | | | | Just have one fiber at the moment, but this will enable using fibers for parallelism in the future. Fibers seemed to cause problems with the logging setup, which was a bit odd in the first place. So move logging to the parent process which is better anyway.
* Support polling git repositories for new branches/revisionsChristopher Baines2023-10-09
| | | | | | | | | | | This is mostly a workaround for the occasional problems with the guix-commits mailing list, as it can break and then the data service doesn't learn about new revisions until the problem is fixed. I think it's still a generally good feature though, and allows deploying the data service without it consuming emails to learn about new revisions, and is a step towards integrating some kind of way of notifying the data service to poll.
* Add metrics for ports and file descriptorsChristopher Baines2023-09-07
|
* URI encode some derivation names in linksChristopher Baines2023-09-07
| | | | To handle characters like +.
* Use the connection pool for build eventsChristopher Baines2023-08-23
| | | | | I'm not sure why this wasn't the way it worked previously. This should avoid unconstrained use of PostgreSQL connections.
* Fix issues with with-resource-from-poolChristopher Baines2023-07-26
|
* Fix some uses of select-build-server-urls-by-idChristopher Baines2023-07-20
|
* Fix the repositories pageChristopher Baines2023-07-19
|
* Make fetching metrics work even when having database problemsChristopher Baines2023-07-14
|
* Drop the resource pool timeoutChristopher Baines2023-07-14
| | | | Better to timeout early.
* Reduce the number of threads used by fibersChristopher Baines2023-07-10
| | | | As one thread per core is probably unnecessary.
* Expose resource pool statsChristopher Baines2023-07-10
|
* Stop using a pool of threads for database operationsChristopher Baines2023-07-10
| | | | | | Now that squee cooperates with suspendable ports, this is unnecessary. Use a connection pool to still support running queries in parallel using multiple connections.
* Provide more information about revision processing errorsChristopher Baines2023-06-15
| | | | In the compare package derivations response.
* Query for outputs when build events arriveChristopher Baines2023-06-09
| | | | This will keep the substitute information more up to date.
* Make the build event handling code more genericChristopher Baines2023-06-06
| | | | So that triggering a check for substitutes can be integrated in.
* Extend the invalid parameter handling for more typesChristopher Baines2023-05-22
|
* Have render-compare/package-derivations provide invalid param infoChristopher Baines2023-05-22
| | | | | | So that this can be used by the qa-frontpage. This should be improved and generalised.
* Add Guile internal time metricsChristopher Baines2023-05-14
| | | | As this will help identify when the service restarts.
* Split the thread pool used for database connectionsChristopher Baines2023-04-27
| | | | | | | | In to two thread pools, a default one, and one reserved for essential functionality. There are some pages that use slow queries, so this should help stop those pages block other operations.
* Comparing package derivations: Fix inconsistent verbage.Leo Famulari2023-02-17
| | | | | | | | | | Harmonize "Build change" options between the selection menu and the documentation * guix-data-service/web/compare/html.scm (compare/package-derivations): Replace "Still broken" with "Still failing" in the "Build change" help text. Signed-off-by: Christopher Baines <mail@cbaines.net>
* Include some useful numbers on the package derivations comparisonChristopher Baines2023-02-15
| | | | | As it's frequently useful to know how many packages/builds some change has affected.
* Adjust render procedures to not use procedures for responsesChristopher Baines2023-02-09
| | | | | | | The newer Guile Fibers web server will use the chunked transfer encoding when a procedure is used and the content length is unspecified. This is good for large responses, but unnecessary here. Also, there's a bug with the charset so these changes to respond with correctly encoded bytevectors to avoid that.
* Tweak behaviour when the response body is a procedureChristopher Baines2023-02-09
| | | | | | | | | Newer versions of Guile Fibers will now use chunked encoding when a procedure is used (and no content length is set). This is good, but not always what is wanted, and there's also an issue with the port encoding. This commit switches to responding with a string/bytevector when more appropriate, plus explicitly setting the port encoding where that's needed.
* Enable database connection instrumentation in the serverChristopher Baines2023-01-01
|
* Pull the metrics registry out of the controllerChristopher Baines2023-01-01
| | | | | This will allow for instrumenting low level database functionality, before anything starts using the database.
* Expose metrics from pg_statsChristopher Baines2022-11-29
|
* Render a branch not found page if the branch doesn't existChristopher Baines2022-11-19
|
* Fix quasiquotingChristopher Baines2022-11-19
|
* Better guard against exceptions in the build event handlersChristopher Baines2022-11-19
|
* Include more information about invalid query parametersChristopher Baines2022-11-17
| | | | | | | In the /compare response. This should enable qa.guix.gnu.org to detect when the base revision for a comparison is unknown.
* Remove Build status field from blocking builds pageChristopher Baines2022-11-12
| | | | As this is unused.
* Handle deleting from blocked_builds when builds are scheduledChristopher Baines2022-11-12
| | | | As scheduling a build might unblock others.
* Spawn specific PostgreSQL connections for the blocked_builds updatesChristopher Baines2022-11-12
| | | | So that the queries don't get cancelled by the statement timeout.
* Add a blocking builds pageChristopher Baines2022-11-11
|
* Add support for incrementally tracking blocked buildsChristopher Baines2022-11-11
| | | | | | | | | This will hopefully provide a less expensive way of finding out if a scheduled build is probably blocked by other builds failing or being canceled. By working this out when the build events are recieved, it should be more feasible to include information about whether builds are likely blocked or not in various places (e.g. revision comparisons).
* Fix JSON response for unknown revisionsChristopher Baines2022-10-17
|
* Expose Guile GC metricsChristopher Baines2022-10-09
| | | | | As the guix-data-service process seems to be using excessive amounts of memory, and this will be useful to track it.
* Implement the JSON response for package reproducibilityChristopher Baines2022-09-14
|
* Implement the JSON response for package substitute availabilityChristopher Baines2022-09-14
|
* Include lint warnings in the JSON /compare responseChristopher Baines2022-08-22
|
* Return 503 for the /healthcheck if the service is starting upChristopher Baines2022-07-15
| | | | As this is a little clearer.
* Fix missing NULL variableChristopher Baines2022-07-09
|