[no subject]

2024-09-18 Thread Ludovic Courtès
branch: main commit 5e5912717957d294de83e5dcea894214ad97ac75 Author: Ludovic Courtès AuthorDate: Wed Sep 18 13:08:37 2024 +0200 database: Synchronously update the status of dependent builds. * src/cuirass/database.scm (db-reschedule-dependent-builds) (db-mark-dependent-builds-as-

[no subject]

2024-09-18 Thread Ludovic Courtès
branch: main commit 8b0c86a7b78173f335258ed9f3a711dedd887dd3 Author: Ludovic Courtès AuthorDate: Wed Sep 18 20:12:45 2024 +0200 database: ‘db-add-build’ returns the build ID. Previously it would return either 1 (the number of rows inserted) or #f. * src/cuirass/database.

[no subject]

2024-09-18 Thread Ludovic Courtès
branch: main commit 6cd1608e644a755dbbfd2937489061ed31eb8bbf Author: Ludovic Courtès AuthorDate: Wed Sep 18 16:50:25 2024 +0200 remote-server: Remove periodic resumable/failed build updates. Fixes a bug introduced with de86524ddb4cef451fee81f680b53f719ea8e47a whereby builds marke

[no subject]

2024-09-18 Thread Ludovic Courtès
branch: main commit 9f63d3ae6f0a9c7185287a8c563cc72201cf7376 Author: Ludovic Courtès AuthorDate: Tue Sep 10 11:20:38 2024 +0200 database: Introduce ‘db-reschedule-stale-builds’ and call it periodically. Doing this task in ‘db-remove-workers’ was inappropriate because that procedu

[no subject]

2024-09-18 Thread Ludovic Courtès
branch: main commit fbd778a5cb4375744517064d13608b85db7e2626 Author: Ludovic Courtès AuthorDate: Wed Sep 18 22:23:34 2024 +0200 remote-server: Create a ‘Builds’ row for failing build dependencies. Previously, since commit de86524ddb4cef451fee81f680b53f719ea8e47a, failing build de

[no subject]

2024-09-09 Thread Ludovic Courtès
branch: main commit 6c5d0eec3c0cf804f4af32484857ded27001bb8c Author: Romain GARBAGE AuthorDate: Mon Sep 9 10:26:04 2024 +0200 doc: Fix parameter name for /api/jobs/history. * doc/cuirass.texi (Web Interface): Fix parameter name. Signed-off-by: Ludovic Courtès --- doc/cuira

[no subject]

2024-09-09 Thread Ludovic Courtès
branch: main commit 94f1df90e679207691b05671811180f6652ea195 Author: Ludovic Courtès AuthorDate: Mon Sep 9 10:34:00 2024 +0200 remote-worker: Fix typo in error message. * src/cuirass/scripts/remote-worker.scm (perform-build): Call ‘worker-name’. --- src/cuirass/scripts/remote-wo

[no subject]

2024-09-09 Thread Ludovic Courtès
branch: main commit 52c5332aff7533d0861555f18ee27175f2fa5a84 Author: Ludovic Courtès AuthorDate: Fri Sep 6 14:52:10 2024 +0200 remote-worker: Stop as soon as a dependency fails to build. * src/cuirass/scripts/remote-worker.scm (perform-build): Raise C from ‘guard’ handlers. (

[no subject]

2024-09-09 Thread Ludovic Courtès
branch: main commit de86524ddb4cef451fee81f680b53f719ea8e47a Author: Ludovic Courtès AuthorDate: Mon Sep 9 11:23:25 2024 +0200 remote-worker: Send ‘build-dependency-failed’ when appropriate. Previously, builds with a failing dependency that does not have a corresponding entry in

[no subject]

2024-09-05 Thread Ludovic Courtès
branch: main commit 7364402a6ce12592c4311c47b109a84867fbf6a7 Author: Ludovic Courtès AuthorDate: Thu Sep 5 11:53:17 2024 +0200 tests: Make random seed more random. * tests/store.scm (%seed): Remove duplication and add PID. --- tests/store.scm | 2 +- 1 file changed, 1 insertion(+),

[no subject]

2024-09-05 Thread Ludovic Courtès
branch: main commit d196010d33dd85c91ae6a9a931fef8f7c2408f6b Author: Romain GARBAGE AuthorDate: Tue Sep 3 10:44:27 2024 +0200 http: Use Gitlab project name to derive spec. Previously the name of the jobset created for a merge request would be computed based on the name of the for

[no subject]

2024-09-03 Thread Ludovic Courtès
branch: main commit 11ed407a5abbc57cca0492805f7f7872f9d0c08b Author: Ludovic Courtès AuthorDate: Fri Aug 30 17:23:13 2024 +0200 http: /admin/specification/add converts channel name to a symbol. * src/cuirass/http.scm (body->specification): Convert channel name to a symbol. *

[no subject]

2024-09-03 Thread Ludovic Courtès
branch: main commit 6daef9c2ecbb738c413ffa39493ef5d38e5f1881 Author: Ludovic Courtès AuthorDate: Tue Sep 3 14:31:14 2024 +0200 tests: No longer require Avahi. This is unnecessary and could lead to confusion or a ‘cuirass remote-server’ startup failure if another instance was runn

[no subject]

2024-09-03 Thread Ludovic Courtès
branch: main commit fbfbc6641cadfa15d3cc05c11b0d46ee1278a6c6 Author: Ludovic Courtès AuthorDate: Mon Sep 2 18:09:15 2024 +0200 remote: ‘receive-message’ gracefully handles messages with wrong encoding. Fixes . * src/cuirass/remote.scm (rece

[no subject]

2024-09-03 Thread Ludovic Courtès
branch: main commit fedd67976352c40240d7f64a348fc6885ff20751 Author: Ludovic Courtès AuthorDate: Fri Aug 30 17:54:42 2024 +0200 remote-worker: Factor out the single-derivation build procedure. * src/cuirass/scripts/remote-worker.scm (perform-build): New procedure, moved from…

[no subject]

2024-09-03 Thread Ludovic Courtès
branch: main commit ef095c134bdbc9d4b3883b8d44213f6e1b256904 Author: Ludovic Courtès AuthorDate: Tue Sep 3 17:11:39 2024 +0200 tests: Factorize build log retrieval. * tests/remote.scm (build-log-file, build-log): New procedures. ("build log for success", "build log for timeout"):

[no subject]

2024-09-03 Thread Ludovic Courtès
branch: main commit 2c726c98b35954ffc567f5156b6ef0a35c6ab3f6 Author: Ludovic Courtès AuthorDate: Tue Sep 3 22:37:37 2024 +0200 remote-worker: Report intermediate builds and distinguish logs. Assume the derivation graph A -> B -> C. Previously, when asked to build A, ‘cuirass rem

[no subject]

2024-08-23 Thread Ludovic Courtès
branch: main commit 0be5fb581b222c89a7532989c42015f51342f0a3 Author: Ludovic Courtès AuthorDate: Fri Aug 23 19:09:08 2024 +0200 tests: Check the presence of build logs for the remote protocol. * tests/remote.scm (dummy-drv): Add explicit “Starting” and “Completing” messages.

[no subject]

2024-08-23 Thread Ludovic Courtès
branch: main commit 59010a5ba32a5f0802d28900908ee9c75f473a66 Author: Ludovic Courtès AuthorDate: Fri Aug 23 19:48:42 2024 +0200 remote: ‘send-log’ uses suspendable ‘make-zlib-output-port’. Fixes . Previously, the file descriptor beneath SOC

[no subject]

2024-07-25 Thread Ludovic Courtès
branch: main commit 19c09d53395bf50810fce679e07187304b9f9a8c Author: Ludovic Courtès AuthorDate: Fri Jul 26 00:41:12 2024 +0200 store: ‘ensure-path/retry’ times out more quickly. * src/cuirass/store.scm (ensure-path/retry): Halve the extra delay at each iteration, going from ~33m

[no subject]

2024-07-25 Thread Ludovic Courtès
branch: main commit 04ef8cab05c213ca0c4c750f0d9d2905672a436a Author: Ludovic Courtès AuthorDate: Thu Jul 25 23:05:31 2024 +0200 store: ‘ensure-path/retry’ catches ‘&nar-error’. This addresses the case where ‘guix substitute’ crashes, as in this case: guix substitute:

[no subject]

2024-07-19 Thread Ludovic Courtès
branch: main commit c78fbcf4ae8fef3550a4e7c955c2ac64b2705d75 Author: Ludovic Courtès AuthorDate: Fri Jul 19 15:49:19 2024 +0200 http: Use a pool of connections to the bridge. Fixes a bug whereby several fibers would concurrently talk to the bridge over the same connection, thus s

[no subject]

2024-07-19 Thread Ludovic Courtès
branch: main commit 770462fc9c9c17f5ccb913abae3c8908038c6717 Author: Ludovic Courtès AuthorDate: Fri Jul 19 16:23:18 2024 +0200 templates: Build page really gracefully handles empty history. This is a followup to 18d3b0328d5ce2ceb01ab7a2338990db177b6319. * src/cuirass/templa

[no subject]

2024-07-19 Thread Ludovic Courtès
branch: main commit 04400648080db7f29c1768dcbf3d5dcbe3c585f5 Author: Ludovic Courtès AuthorDate: Fri Jul 19 15:47:40 2024 +0200 register: Display bridge ports in debugging statements. * src/cuirass/scripts/register.scm (bridge): Display ports in debugging statements. --- src/cui

[no subject]

2024-07-16 Thread Ludovic Courtès
branch: main commit 331c67ab46b41fd7d19007b23fa9f0b0a06408aa Author: Ludovic Courtès AuthorDate: Tue Jul 16 15:07:43 2024 +0200 http: Removing a jobset terminates its monitor. Previously, removing a jobset via the HTTP interface would remove it from the database but it would not

[no subject]

2024-07-16 Thread Ludovic Courtès
branch: main commit 9e6e85a4256319f7e97edb942a583ef703900148 Author: Ludovic Courtès AuthorDate: Tue Jul 16 14:38:40 2024 +0200 remote-worker: Use a non-blocking store for ‘ensure-path/retry’. Previously, ‘ensure-path/retry’ could end up blocking for a while, leading other activi

[no subject]

2024-07-16 Thread Ludovic Courtès
branch: main commit 7e32a9a598feef1eee7ab5edfaf6cf9f33a4671f Author: Ludovic Courtès AuthorDate: Tue Jul 16 14:36:00 2024 +0200 templates: Show duration only for completed or ongoing builds. * src/cuirass/templates.scm (build-details): In “Duration” column, show the duration when

[no subject]

2024-07-16 Thread Ludovic Courtès
branch: main commit d7e546f0340f14cc92b987f2ca622ff195f1c0f4 Author: Ludovic Courtès AuthorDate: Fri Jul 12 18:35:59 2024 +0200 tests: Add basic tests for ‘cuirass register’. * tests/common.scm (%daemon-socket): New variable. (start-guix-daemon, wait-for-bridge): New procedures.

[no subject]

2024-07-16 Thread Ludovic Courtès
branch: main commit 3b5e51924b292fca4ce89faa550a104fcdb3d2fa Author: Ludovic Courtès AuthorDate: Fri Jul 12 13:59:02 2024 +0200 build: Require Guile >= 3.0.9. * tests/remote.scm (spawn?): Remove; it was actually unused. * configure.ac: Require Guile >= 3.0.9. --- configure.ac

[no subject]

2024-07-09 Thread Ludovic Courtès
branch: main commit 0eaf7b69bed87ac8f5ff10ad904a83a025192577 Author: Ludovic Courtès AuthorDate: Wed Jul 10 00:07:16 2024 +0200 remote-worker: Delay initial ping randomly to avoid “ping storms”. * src/cuirass/scripts/remote-worker.scm (spawn-worker-ping): Add ‘sleep’ call. --- s

[no subject]

2024-07-09 Thread Ludovic Courtès
branch: main commit b08e6681a7b5ce34e2a43c4a147483f0360fd314 Author: Ludovic Courtès AuthorDate: Wed Jul 10 00:02:33 2024 +0200 remote-server: Reschedule builds whose result cannot be retrieved. Previously those builds would be marked as successful even though their output hadn’t

[no subject]

2024-07-08 Thread Ludovic Courtès
branch: main commit 0e31e35b708170a679316c71a15d3b877121db5e Author: Ludovic Courtès AuthorDate: Mon Jul 8 10:53:07 2024 +0200 templates: Don’t display negative duration on build page. * src/cuirass/templates.scm (build-details): Check that end time is greater than start time. --

[no subject]

2024-07-08 Thread Ludovic Courtès
branch: main commit 3c4b2fc54acacb8f0ccf29f4182c50f7e594a400 Author: Ludovic Courtès AuthorDate: Mon Jul 8 16:22:56 2024 +0200 utils: Resource pool keeps track of contention. * src/cuirass/utils.scm (make-resource-pool): Add optional ‘name’ argument. Keep track of ‘get’ requests

[no subject]

2024-07-08 Thread Ludovic Courtès
branch: main commit a6df98c2589200242c8cb658d6b0c0b1950c8051 Author: Ludovic Courtès AuthorDate: Mon Jul 8 10:34:37 2024 +0200 database: ‘db-remove-unresponsive-workers’ reschedules stale builds. Previously, builds might remain in ‘submitted’ state indefinitely in case workers th

[no subject]

2024-07-07 Thread Ludovic Courtès
branch: main commit 069d0288055931df41a4d4e1fa55c95b03c15f30 Author: Ludovic Courtès AuthorDate: Sun Jul 7 16:42:51 2024 +0200 database: Check timing of ‘db-add-or-update-worker’. * src/cuirass/database.scm (db-add-or-update-worker): Wrap in ‘with-timing-check’. --- src/cuirass/

[no subject]

2024-07-07 Thread Ludovic Courtès
branch: main commit acbf7786d5b3c895342cf9b6fba7312c6c68aa02 Author: Ludovic Courtès AuthorDate: Sun Jul 7 16:58:39 2024 +0200 remote-server: Process pings in a separate fiber. * src/cuirass/scripts/remote-server.scm (serve-build-requests)[update-worker!]: Wrap in ‘spawn-fiber’.

[no subject]

2024-07-06 Thread Ludovic Courtès
branch: main commit 71426663f6ea32152782645e4632168dd2b18602 Author: Ludovic Courtès AuthorDate: Sat Jul 6 16:21:38 2024 +0200 store: Rename ‘ensure-store-items’ to ‘ensure-path/retry’. * src/cuirass/store.scm (ensure-store-items): Rename to… (ensure-path/retry): … this. Change

[no subject]

2024-07-06 Thread Ludovic Courtès
branch: main commit a909fa99340db5e5cd64612ea4e07e929dc643ad Author: Ludovic Courtès AuthorDate: Sat Jul 6 17:11:41 2024 +0200 remote-worker: Send ‘build-rejected’ message when build cannot be performed. Previously, starting from commit 2365ba786c805477fcbae6eaeb358b0dd0501598, ‘

[no subject]

2024-07-06 Thread Ludovic Courtès
branch: main commit 13fb1f70de45472eacf1901f0fd00f07a3b3e8ad Author: Ludovic Courtès AuthorDate: Sat Jul 6 17:33:21 2024 +0200 remote: Increase worker timeout to 3 minutes. This reduces pressure on incoming messages in ‘cuirass remote-server’. * src/cuirass/remote.scm (%work

[no subject]

2024-07-06 Thread Ludovic Courtès
branch: main commit ef99dc712d164f206f0c912a14305230128b3b52 Author: Ludovic Courtès AuthorDate: Sat Jul 6 15:59:13 2024 +0200 store: ‘ensure-store-items’ use Fibers’ ‘sleep’. Previously ‘ensure-store-items’ would use the non-preemptible ‘sleep’, thus often preventing the ‘ping’

[no subject]

2024-07-06 Thread Ludovic Courtès
branch: main commit 5e8f78ccb2c0441566e7b884905828bf81103665 Author: Ludovic Courtès AuthorDate: Sat Jul 6 16:00:44 2024 +0200 remote-worker: Enable preemption and use up to 8 threads. * src/cuirass/scripts/remote-worker.scm (cuirass-remote-worker): Pass #:hz to ‘run-fibers’. Us

[no subject]

2024-07-06 Thread Ludovic Courtès
branch: main commit 9f8acd473d9bc8a1a55760e9324f6d59f7f135ad Author: Ludovic Courtès AuthorDate: Sat Jul 6 17:24:50 2024 +0200 database: Log the number of unresponsive workers removed. * src/cuirass/database.scm (db-remove-unresponsive-workers): Log the number of workers removed.

[no subject]

2024-07-06 Thread Ludovic Courtès
branch: main commit fdb6bdfa27d9da8d052ed76b6a05b3817ff19777 Author: Ludovic Courtès AuthorDate: Sun Jul 7 01:04:26 2024 +0200 remote-worker: Time out when waiting for “request work” replies. Previously a worker could find itself waiting forever when the server had received the “

[no subject]

2024-07-06 Thread Ludovic Courtès
branch: main commit fa2ad7109a11a21c6fecb6a8bb07765ee5e21135 Author: Ludovic Courtès AuthorDate: Sun Jul 7 01:01:59 2024 +0200 remote: ‘receive-message’ takes a timeout. * src/cuirass/remote.scm (&timeout-error): New error condition type. (wait-until-port-readable): New procedure

[no subject]

2024-07-06 Thread Ludovic Courtès
branch: main commit 9ee2d0daba09758b667a11d139e36223018f3c6b Author: Ludovic Courtès AuthorDate: Sat Jul 6 17:25:52 2024 +0200 remote-worker: Sleep for half of (%worker-timeout) between pings. * src/cuirass/scripts/remote-worker.scm (spawn-worker-ping): Express sleep delay as a f

[no subject]

2024-07-05 Thread Ludovic Courtès
branch: main commit 2365ba786c805477fcbae6eaeb358b0dd0501598 Author: Ludovic Courtès AuthorDate: Fri Jul 5 15:50:58 2024 +0200 remote-worker: Ensure .drv items are available locally before building. Suggested by Chris Baines . :-) * src/cuirass/scripts/remote-worker.scm (ru

[no subject]

2024-07-05 Thread Ludovic Courtès
branch: main commit b69d5dd9b96bef99cdbdbc43d660d1b9415678a9 Author: Ludovic Courtès AuthorDate: Fri Jul 5 15:50:26 2024 +0200 store: Add ‘ensure-store-items’. * src/cuirass/store.scm (ensure-store-items): New procedure. --- src/cuirass/store.scm | 31 +++

[no subject]

2024-07-05 Thread Ludovic Courtès
branch: main commit c3a71ea13fe48be27fd3222655a682218752a279 Author: Romain GARBAGE AuthorDate: Fri Jul 5 13:46:54 2024 +0200 http: Fix type mismatch. Fixes a regression introduced in 1da873b0e23eceb3c239dd6dc6781debf23bec63, where the ‘name’ field of the record type is forc

[no subject]

2024-07-05 Thread Ludovic Courtès
branch: main commit bde190c1e41165b904b9a1aaef5381789b3d2c54 Author: Ludovic Courtès AuthorDate: Fri Jul 5 11:48:29 2024 +0200 database: Redefine ‘with-transaction’ to roll back upon exception. Until now, uncaught exceptions within a transaction could lead to that transaction bei

[no subject]

2024-07-05 Thread Ludovic Courtès
branch: main commit 24564a034547eef0ab4137e6079a15668ee63730 Author: Ludovic Courtès AuthorDate: Fri Jul 5 13:33:19 2024 +0200 templates: Fix type error in evaluation info table. This is a followup to 1da873b0e23eceb3c239dd6dc6781debf23bec63. * src/cuirass/templates.scm (eva

[no subject]

2024-07-04 Thread Ludovic Courtès
branch: main commit 2b2e5084798dcc3152270806c1fe66fb0fde04f6 Author: Ludovic Courtès AuthorDate: Thu Jul 4 15:34:11 2024 +0200 database: ‘db-get-evaluation-summary’ returns the number of builds, not jobs. Fixes a regression introduced in 5de7fa65a2186c424d32686e524de4825f3566cd

[no subject]

2024-07-04 Thread Ludovic Courtès
branch: main commit b7f2c2cc8c6dc023c944d87218e732992c61ca4b Author: Ludovic Courtès AuthorDate: Thu Jul 4 15:37:28 2024 +0200 database: ‘db-get-evaluations-absolute-summary’ handles zero-build evals. Fixes a regression introduced in f60e73b7b1e906349d2355d37807514c6e667f0c where

[no subject]

2024-07-03 Thread Ludovic Courtès
branch: main commit 8262654ef1a58bc1f777fa9a6329480699005404 Author: Ludovic Courtès AuthorDate: Thu Jul 4 00:37:47 2024 +0200 http: /eval/ID passes an integer to ‘db-get-evaluation-summary’ & co. * src/cuirass/http.scm (url-handler): For /eval/ID, convert ID to a number. --- sr

[no subject]

2024-07-03 Thread Ludovic Courtès
branch: main commit cd1a4d75829f5f7f6bb2e5143499a7299ce13c3f Author: Ludovic Courtès AuthorDate: Thu Jul 4 00:24:13 2024 +0200 database: ‘db-get-evaluation-summary’ returns a summary even for zero jobs. This is a followup to 5de7fa65a2186c424d32686e524de4825f3566cd, which change

[no subject]

2024-06-28 Thread Ludovic Courtès
branch: main commit 8d71d3317aef7d5cc832dc893c0cb0b9dbf7ce58 Author: Ludovic Courtès AuthorDate: Fri Jun 28 10:59:16 2024 +0200 database: Check the timing of ‘db-get-evaluation-summary’. * src/cuirass/database.scm (db-get-evaluation-summary): Wrap query in ‘with-timing-check’. --

[no subject]

2024-06-28 Thread Ludovic Courtès
branch: main commit 0910b6bc86c7de3f7477ee71e5cc8ffe15950fc6 Author: Ludovic Courtès AuthorDate: Fri Jun 28 11:12:09 2024 +0200 http: Use vertical line rather than em dash in page titles. * src/cuirass/http.scm (evaluation-html-page, machine-page) (dashboard-page, url-handler): U

[no subject]

2024-06-28 Thread Ludovic Courtès
branch: main commit f60e73b7b1e906349d2355d37807514c6e667f0c Author: Ludovic Courtès AuthorDate: Fri Jun 28 10:21:50 2024 +0200 database: Optimize ‘db-get-evaluations-absolute-summary’. On ci.guix.gnu.org, there are only 26K evaluations compared to 277M jobs. So far the SQL quer

[no subject]

2024-06-28 Thread Ludovic Courtès
branch: main commit 5de7fa65a2186c424d32686e524de4825f3566cd Author: Ludovic Courtès AuthorDate: Fri Jun 28 10:56:21 2024 +0200 database: Optimize ‘db-get-evaluation-summary’. This is a followup to f60e73b7b1e906349d2355d37807514c6e667f0c: since there are possibly orders of magni

[no subject]

2024-06-28 Thread Ludovic Courtès
branch: main commit c1b0e2d42a5c66751253c62bd7f974117ec25b17 Author: Ludovic Courtès AuthorDate: Fri Jun 28 10:31:43 2024 +0200 database: Check the timing of ‘db-get-evaluations-absolute-summary’. * src/cuirass/database.scm (db-get-evaluations-absolute-summary): Wrap query in ‘wi

[no subject]

2024-06-26 Thread Ludovic Courtès
branch: main commit 95a235935c0cc489f50997a873d4e744881fed60 Author: Ludovic Courtès AuthorDate: Wed Jun 26 10:48:56 2024 +0200 database: Add ‘db-remove-old-evaluations’. * src/cuirass/database.scm (db-remove-old-evaluations): New procedure. * tests/database.scm ("db-remove-old-e

[no subject]

2024-06-26 Thread Ludovic Courtès
branch: main commit 73bd827fe1f77a4ff2f1c509774d4d28136a80e6 Author: Ludovic Courtès AuthorDate: Wed Jun 26 10:17:32 2024 +0200 register: Add ‘--parallel-evaluations’. * src/cuirass/scripts/register.scm (show-help, %options): Add ‘--parallel-evaluations’. (cuirass-register):

[no subject]

2024-06-26 Thread Ludovic Courtès
branch: main commit 761f46a491cbeba13a14bf06d81f5071368f6c62 Author: Ludovic Courtès AuthorDate: Wed Jun 26 11:09:42 2024 +0200 register: Periodically delete old evaluations. * src/cuirass/base.scm (spawn-database-cleaner): New procedure. * src/cuirass/scripts/register.scm (show-

[no subject]

2024-06-26 Thread Ludovic Courtès
branch: main commit 48a68ebf85f5c3ef7a480f911893a63f99d4fcce Author: Ludovic Courtès AuthorDate: Wed Jun 26 10:39:27 2024 +0200 database: Remove unused export. * src/cuirass/database.scm: Remove ‘db-delete-events-with-ids-<=-to’ export. --- src/cuirass/database.scm | 1 - 1 file

[no subject]

2024-06-14 Thread Ludovic Courtès
branch: main commit 1da873b0e23eceb3c239dd6dc6781debf23bec63 Author: Romain GARBAGE AuthorDate: Thu Jun 13 13:03:06 2024 +0200 specification: Ensure name is a symbol. * src/cuirass/specification.scm (ensure-symbol): New variable. (specification)[name]: Ensure name is a symbol.

[no subject]

2024-06-14 Thread Ludovic Courtès
branch: main commit 10cf59f2e847604d3baf97a97ec181f4b2844451 Author: Romain GARBAGE AuthorDate: Thu Jun 13 13:03:07 2024 +0200 gitlab: Add module for Gitlab JSON objects definition. * Makefile.am: Add src/cuirass/gitlab.scm. * src/cuirass/gitlab.scm: Add and record types.

[no subject]

2024-06-14 Thread Ludovic Courtès
branch: main commit 6a00f42a76f404f8811b767c92bf923c8428b6c7 Author: Ludovic Courtès AuthorDate: Fri Jun 14 10:13:03 2024 +0200 tests: Test the creation of build product GC roots. * tests/database.scm (%store): New variable. ("set-build-successful! installs GC root for product"):

[no subject]

2024-06-07 Thread Ludovic Courtès
branch: main commit bba03463c49bdd32e6b02c97a5e8ca5126005996 Author: Ludovic Courtès AuthorDate: Fri Jun 7 10:53:33 2024 +0200 Update README. --- README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README b/README index 9b53758..8ef83cf 100644 --- a/README +++ b/READ

[no subject]

2024-06-07 Thread Ludovic Courtès
branch: main commit d35adee789c6e849405c93a81388dfb743e82178 Author: Ludovic Courtès AuthorDate: Fri Jun 7 12:18:08 2024 +0200 templates: “last” → “past”. * src/cuirass/templates.scm (global-metrics-content): Adjust wording. --- src/cuirass/templates.scm | 4 ++-- 1 file changed, 2

[no subject]

2024-06-07 Thread Ludovic Courtès
branch: main commit 9eea7c42bb2d0d17941c69bc6fcd957bcaf3274b Author: Ludovic Courtès AuthorDate: Fri Jun 7 18:08:24 2024 +0200 http: Improve HTML page titles. * src/cuirass/http.scm (evaluation-html-page, metrics-page) (machine-page, dashboard-page, url-handler): Capitalize page

[no subject]

2024-06-07 Thread Ludovic Courtès
branch: main commit 4c61b8ce17a5db7c2971f880071d54bbb4ffd859 Author: Ludovic Courtès AuthorDate: Fri Jun 7 11:52:19 2024 +0200 templates: Right-align column numbers in metrics tables. * src/cuirass/templates.scm (global-metrics-content): Add “text-right” class to ‘tr’ and ‘td’ el

[no subject]

2024-06-07 Thread Ludovic Courtès
branch: main commit fccb8694e6076a6ac6ac1a2fa1f259a7c9b3c518 Author: Ludovic Courtès AuthorDate: Wed Jun 5 17:53:58 2024 +0200 examples: random: Create jobs with non-job dependencies. * examples/random-manifest.scm : Add dependency on non-job derivation. --- examples/random-mani

[no subject]

2024-06-07 Thread Ludovic Courtès
branch: main commit 679d3765ce138af9123217f2a70e9d09d123005b Author: Ludovic Courtès AuthorDate: Fri Jun 7 11:21:58 2024 +0200 templates: Add “Delete” button for disabled jobsets. * src/cuirass/templates.scm (evaluation-info-table): Add “Delete” button. --- src/cuirass/templates.scm

[no subject]

2024-06-07 Thread Ludovic Courtès
branch: main commit 55346d6dbc56637926d099c8e64cccacc59a6614 Author: Ludovic Courtès AuthorDate: Fri Jun 7 11:40:19 2024 +0200 css: Use tabular digits for ‘.badge-counter’. * src/static/css/cuirass.css (.badge-counter): Use tabular digits. --- src/static/css/cuirass.css | 2 ++ 1 fi

[no subject]

2024-06-04 Thread Ludovic Courtès
branch: main commit f35b94e551bb859db04a12697e0dfd2cdbd65f0f Author: Ludovic Courtès AuthorDate: Wed Jun 5 00:33:00 2024 +0200 http: Add /admin/specifications/activate/NAME. * src/cuirass/base.scm (jobset-monitor): Handle 'activate messages. * src/cuirass/http.scm (url-handler):

[no subject]

2024-06-04 Thread Ludovic Courtès
branch: main commit 391d52f35a02690d69fe21eefd8c6c9290f3e945 Author: Ludovic Courtès AuthorDate: Tue Jun 4 16:06:13 2024 +0200 templates: Evaluation page shows whether the job is deactivated. * src/cuirass/base.scm (jobset-monitor): Reply to ‘active?’ messages. * src/cuirass/http

[no subject]

2024-06-04 Thread Ludovic Courtès
branch: main commit c326f6ccbb28916f0b0a6331ed86cab3a0bc3695 Author: Ludovic Courtès AuthorDate: Wed Jun 5 00:34:31 2024 +0200 templates: Show “Activate” button for deactivated jobsets. * src/cuirass/templates.scm (evaluation-info-table): Add “Activate” button. --- src/cuirass/t

[no subject]

2024-06-04 Thread Ludovic Courtès
branch: main commit ab9ee23f35584bca4c46c3aa04171c94307ec447 Author: Ludovic Courtès AuthorDate: Tue Jun 4 15:45:22 2024 +0200 http: Streamline requests sent over the bridge to ‘cuirass register’. * src/cuirass/http.scm (call-bridge): New procedure. (url-handler): Use it for each

[no subject]

2024-06-04 Thread Ludovic Courtès
branch: main commit 60856f312ec6ed9e3c1c047c2196eebe6eaadc65 Author: Ludovic Courtès AuthorDate: Wed Jun 5 00:29:27 2024 +0200 database: Add ‘db-activate-specification’. * src/cuirass/database.scm (db-activate-specification): New procedure. --- src/cuirass/database.scm | 7 +++

[no subject]

2024-06-04 Thread Ludovic Courtès
branch: main commit 9eab1d11155aeddf07f4812714eba414a1b488f2 Author: Ludovic Courtès AuthorDate: Tue Jun 4 15:30:31 2024 +0200 remote-worker: Ensure user GC directory exists before creating subdir. This is necessary when running ‘cuirass remote-worker’ with ‘--user’. * src/c

[no subject]

2024-05-31 Thread Ludovic Courtès
branch: main commit c2061ca845d05694ebeb88935a6ff2254711beb2 Author: Ludovic Courtès AuthorDate: Fri May 31 09:05:02 2024 +0200 database: ‘db-remove-unresponsive-workers’ logs restarted builds. * src/cuirass/database.scm (db-remove-unresponsive-workers): Log the number of restart

[no subject]

2024-05-31 Thread Ludovic Courtès
branch: main commit e4b42065046b5d19d5c16647933326df476b0a79 Author: Ludovic Courtès AuthorDate: Fri May 31 09:51:20 2024 +0200 css: Don’t display search hints on narrow viewpoints. * src/static/css/cuirass.css (#search:focus-within #search-hints): Wrap in @media. --- src/static

[no subject]

2024-05-31 Thread Ludovic Courtès
branch: main commit 34f42b279b001e59e323696b4060e567e0d6bd64 Author: Ludovic Courtès AuthorDate: Fri May 31 09:35:05 2024 +0200 templates: Include search form in collapsable navbar target. Previously, on narrow viewpoints, the search form would still appear next to the burger men

[no subject]

2024-05-31 Thread Ludovic Courtès
branch: main commit c6fe89219721dc2f76f63b571865a87357968e25 Author: Ludovic Courtès AuthorDate: Fri May 31 09:06:12 2024 +0200 tests: Simplify ‘db-get-pending-build’ test. * tests/database.scm ("db-get-pending-build"): Use ‘db-register-builds’ instead of a series of ‘db-add-buil

[no subject]

2024-05-31 Thread Ludovic Courtès
branch: main commit 7c42949c6ed7a25aed3508309a4329904d0aabfb Author: Ludovic Courtès AuthorDate: Fri May 31 09:19:12 2024 +0200 templates: Fix burger menu. Previously clicking on the burger icon (on narrow viewports) would have no effect. * src/cuirass/templates.scm (htm

[no subject]

2024-05-31 Thread Ludovic Courtès
branch: main commit aefc013ed5fa713f16e3228b59c3ea25889fbbb1 Author: Ludovic Courtès AuthorDate: Fri May 31 08:46:15 2024 +0200 Revert "remote-worker: Send pings on each loop iteration." This reverts commit da20c3b653f30649a7e135ba886b948310903e32, which caused workers to not sen

[no subject]

2024-05-30 Thread Ludovic Courtès
branch: main commit 144035878bbde3a4e9642bff117e145512b19e45 Author: Ludovic Courtès AuthorDate: Wed May 29 18:54:59 2024 +0200 database: Log restarted builds. * src/cuirass/database.scm (db-restart-build!): Add logging statement. --- src/cuirass/database.scm | 1 + 1 file changed,

[no subject]

2024-05-30 Thread Ludovic Courtès
branch: main commit 548b86ec00fa730f8b3eb3b5b6481ee4be0664dd Author: Ludovic Courtès AuthorDate: Thu May 30 15:12:34 2024 +0200 remote-server: Add debug logging. * src/cuirass/scripts/remote-server.scm (serve-build-requests): Add ‘log-debug’ statement; add more info in “build sub

[no subject]

2024-05-30 Thread Ludovic Courtès
branch: main commit 8bece6185471040bb89b98660f63bf6b9e9a2bdb Author: Ludovic Courtès AuthorDate: Wed May 29 18:52:10 2024 +0200 http: Provide default /robots.txt. * src/cuirass/http.scm (%robots-txt): New variable. (url-handler): Add handler for GET /robots.txt. --- src/cuirass/

[no subject]

2024-05-28 Thread Ludovic Courtès
branch: main commit 17338588d4862b04e9e405c1244a2ea703b50d98 Author: Ludovic Courtès AuthorDate: Tue May 28 16:12:39 2024 +0200 database: Rewrite query for ‘db-get-pending-build’. Previous query would perform several sequential scans, ending up taking ~50s on a database with 4M r

[no subject]

2024-05-28 Thread Ludovic Courtès
branch: main commit 3a9aedfa1fce783e7bf11bd8d3a682fea67e0f32 Author: Ludovic Courtès AuthorDate: Mon May 27 15:00:29 2024 +0200 utils: ‘call-with-timing-check’ honors its ‘threshold’ argument. * src/cuirass/utils.scm (call-with-timing-check): Honor THRESHOLD. --- src/cuirass/utils.s

[no subject]

2024-05-28 Thread Ludovic Courtès
branch: main commit da20c3b653f30649a7e135ba886b948310903e32 Author: Ludovic Courtès AuthorDate: Tue May 28 16:40:40 2024 +0200 remote-worker: Send pings on each loop iteration. This avoids a situation whereby, if the server is very slow (in particular to process ‘worker-request-

[no subject]

2024-05-28 Thread Ludovic Courtès
branch: main commit a7d94afe1eaae8a82dcbc859bcb94514da458601 Author: Ludovic Courtès AuthorDate: Tue May 28 17:02:23 2024 +0200 remote: Workers send their load and disk space in pings. * src/cuirass/remote.scm (current-load, worker-status-properties): New procedures. (worker-

[no subject]

2024-05-24 Thread Ludovic Courtès
branch: main commit 2c7caf38c1923c8e4237d6a0c9c6cc010a55b870 Author: Ludovic Courtès AuthorDate: Fri May 24 22:12:03 2024 +0200 http: Add /build/ID/restart route. This route restarts short failed builds without further ado and redirects to /admin/build/ID/restart in other cases:

[no subject]

2024-05-24 Thread Ludovic Courtès
branch: main commit 12d79854ee7685b356a72ca374f2a90b8efe5903 Author: Ludovic Courtès AuthorDate: Fri May 24 11:45:49 2024 +0200 database: When registering a build, reschedule it if it was canceled. Fixes a bug whereby, if a build had been canceled as part of a previous evaluation

[no subject]

2024-05-24 Thread Ludovic Courtès
branch: main commit 754e53038b9fd16afcd1ec1e8141989dc31a9145 Author: Ludovic Courtès AuthorDate: Fri May 24 11:09:08 2024 +0200 database: Simplify ‘db-register-builds’. * src/cuirass/database.scm (db-register-builds)[new-outputs?]: Use ‘find’ instead of building a list with ‘filt

[no subject]

2024-05-24 Thread Ludovic Courtès
branch: main commit 20890103eb31d5254cd02f22d573db372171c0f2 Author: Ludovic Courtès AuthorDate: Fri May 24 14:01:06 2024 +0200 examples: random: Update branch name. * examples/random.scm: Add ‘branch’ field to channel. --- examples/random.scm | 1 + 1 file changed, 1 insertion(+)

[no subject]

2024-05-24 Thread Ludovic Courtès
branch: main commit d5ad4bdff8ba37037d6d0372682536441de1c503 Author: Ludovic Courtès AuthorDate: Fri May 24 11:04:25 2024 +0200 README: Update authentication instructions. --- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index a77fb31..9b5375

[no subject]

2024-05-24 Thread Ludovic Courtès
branch: main commit 78bdc15acefbbf3ff5f04d5d7c6edd0a391d689b Author: Ludovic Courtès AuthorDate: Fri May 24 14:22:01 2024 +0200 database: Add ‘timestamp’ field to . * src/cuirass/database.scm ()[timestamp]: New field. (db-get-evaluations-build-summary): Select ‘evaltime’ and ‘tim

[no subject]

2024-05-24 Thread Ludovic Courtès
branch: main commit cc934ed00f620d1dfa61f29ef2e60c5d68137793 Author: Ludovic Courtès AuthorDate: Fri May 24 14:27:40 2024 +0200 templates: Evaluation row now includes a timestamp. * src/cuirass/templates.scm (evaluation-info-table): Show timestamp below the evaluation number. ---

[no subject]

2024-05-24 Thread Ludovic Courtès
branch: main commit 5057938ebdcc87eac1763658aef920c916a9d6ea Author: Ludovic Courtès AuthorDate: Fri Apr 12 16:45:46 2024 +0200 templates: Change “Build history” to “Previous builds”. * src/cuirass/templates.scm (build-details): Disambiguate build history label. --- src/cuirass/

  1   2   3   4   5   6   7   8   9   10   >