76cc8d82b9
Only compute derivations if there are any to fix
2025-06-28 09:29:10 +02:00
42e45c0917
Add missing destroy-resource-pool call
2025-06-28 09:29:10 +02:00
4bb6fb172e
Pass ignore arguments to find-broken-derivations-in-revision
2025-06-28 09:29:10 +02:00
7c0779519b
Allow specifying a limit to inferior memory usage
...
To help manage the inferiors that use gigabytes of memory while computing
derivations.
2025-06-28 09:29:10 +02:00
f9770b8d59
Add compute-and-fix-broken-derivations-in-revision
...
It's an uphill struggle to generate these derivaitons to repair them in the
database, so copy lots of the code to try and make this easier.
2025-06-28 09:29:10 +02:00
cdb3669a0a
Add find-broken-derivations-in-revision
2025-06-28 09:29:10 +02:00
0dd14c0a67
Use drain? #t for fibers when loading revisions
...
To check that there's no left over fibers.
2025-06-28 09:29:10 +02:00
f7f4e70d28
Use with-postgresql-transaction always in load-new-guix-revision
2025-06-28 09:29:10 +02:00
5d1233ccd0
More system test loading fixes
2025-06-28 09:29:10 +02:00
8f172c4950
Fix issue with loading system tests
2025-06-28 09:29:10 +02:00
Andreas Enge
c63ba7f09c
Add guix-data-service-request.
...
* guix-data-service/client.scm: New file.
* Makefile.am (SOURCES): Register file.
2025-06-27 17:52:12 +02:00
beede72314
Make package lines and column numbers numbers in the JSON responses
2025-06-24 15:28:13 +02:00
a017cddebc
Include the location in package JSON responses
2025-06-24 15:16:37 +02:00
9b79543a73
Don't hardcode #t to skip system tests
2025-06-23 13:41:14 +01:00
fc715d9613
Fix the system tests page
2025-06-22 14:56:55 +01:00
a75c998739
Avoid calling display when processing sxml
...
As I think this could cause suspendable ports issues.
2025-06-19 09:53:06 +01:00
9f431462db
Improve render procedures
2025-06-19 09:40:01 +01:00
41c0d76a3d
Avoid error when commit-range-link-url-templates is '()
2025-06-19 09:35:28 +01:00
Ludovic Courtès
254998a561
forgejo: Support deletion of branches when a pull request is closed.
2025-05-27 11:51:53 +02:00
Ludovic Courtès
8e7da32f55
Add #:create-if-missing? to ‘git-repository-url->git-repository-id’.
2025-05-27 11:51:53 +02:00
Ludovic Courtès
30b2d91bfb
Add support for Forgejo web hooks.
...
Populate the ‘git_repositories’ and ‘load_new_guix_revision_jobs’ table
when receiving a POST request corresponding to a Forgejo pull-request
webhook.
2025-05-27 11:51:50 +02:00
Ludovic Courtès
ff7697477f
Add #:authenticate? parameter to ‘git-repository-url->git-repository-id’.
2025-05-27 11:00:23 +02:00
Ludovic Courtès
53710e73b3
Augment ‘.gitignore’.
2025-05-27 11:00:23 +02:00
dfbfc846d6
Fix retrying code
2025-05-25 18:00:24 +01:00
d183573f58
Retry updating cached checkouts
2025-05-25 16:35:18 +01:00
0e09e5af2e
Shift setup and add more logging for polling git repositories
2025-05-25 16:10:58 +01:00
cf912ed933
Log when specifying repositories
2025-05-25 13:08:27 +01:00
3c6ad21285
Update Guile Knots
2025-05-25 13:08:27 +01:00
5717ce82ce
Move away from cgit to more flexible linking to repositories
2025-05-25 13:08:27 +01:00
36f30551cb
Update .dir-locals.el
2025-05-25 13:08:27 +01:00
d8ae6062b1
Retry computing channel instance manifests
...
On readlink errors.
2025-05-25 13:08:27 +01:00
961441cab0
Reliably perform the background processing for build events
...
Insert the build ids to a table and remove the ids once processed. If the data
service is restarted and the in memory queue is lost, process all the items
from the database queue.
2025-05-25 13:08:27 +01:00
04f427bcab
Update the Makefile for the README name change
2025-05-25 13:08:27 +01:00
6c56b8354f
Set Git timeouts
...
In an attempt to avoid Git operations hanging.
2025-05-25 13:08:27 +01:00
Zheng Junjie
79099bd34e
Update repo url.
2025-05-13 17:33:33 +08:00
14437d295e
Rename the README
...
So it shows up better on Codeberg.
2025-05-09 12:22:57 +01:00
ca80a051ff
Guard against too many pool waiters
...
As I think this is happening when there are an excessive number of requests,
and that in turn causes issues with file descriptor limits.
2025-04-27 11:40:44 +01:00
cde34344f8
Update knots
2025-04-27 11:19:45 +01:00
36d34e03fc
Encode unicode in JSON responses
...
To guard against package definitions and other things including unicode or
other characters.
2025-04-27 11:11:31 +01:00
d00b539483
Increase the open file limit
2025-04-24 09:36:54 +01:00
2430bc4307
Guard against nested transactions
...
Not sure how to do this in PostgreSQL, so use a parameter.
2025-04-19 15:52:44 +01:00
982121c308
Remove some commented out code
2025-04-19 13:18:15 +01:00
ce01df5211
Tweak some post extract-information-from actions
...
Move update-package-derivations-table further on since it locks a table, and
use let for the guix-revision-id.
2025-04-19 13:05:16 +01:00
1c0b216067
Revert "Update the package derivations table in a transaction"
...
This is already in a transaction.
This reverts commit 1da2a09cfb .
2025-04-19 12:52:00 +01:00
818bd54cc6
Remove argument in incorrect position
2025-04-19 09:26:02 +01:00
d4cd94f185
Workaround fibers getting stuck handling exceptions
2025-04-18 13:20:20 +01:00
fd2a3ad6c1
Clear the derivation-ids-hash-table when holding the db connection
2025-04-18 11:01:44 +01:00
273a2127ed
Improve logging for error when computing derivation
2025-04-18 11:01:20 +01:00
af377a96b2
Fix copy/paste error in retry-on-missing-derivation-output
2025-04-18 11:01:04 +01:00
f5614dd75d
Remove redundant branch from retry-on-missing-store-item
...
I think #:unwind-for-type prevents this condition.
2025-04-18 11:00:35 +01:00