[no subject]

2025-01-09 Thread Ludovic Courtès
branch: wip-event-logging commit d81fa497bfd3690f061846e06bf1d9c0e43b1865 Author: Ludovic Courtès AuthorDate: Thu Jan 9 12:39:53 2025 +0100 base: ‘remote-builder’ listens for notifications from ‘cuirass remote-server’. * src/cuirass/base.scm (%remote-server-socket-file-name): New va

[no subject]

2025-01-06 Thread Ludovic Courtès
branch: main commit 0eeb26c583142f9d7243eefe72a93b62cfcfd9d6 Author: Ludovic Courtès AuthorDate: Mon Jan 6 17:33:34 2025 +0100 utils: Factorize ‘open-unix-listening-socket’. * src/cuirass/utils.scm (open-unix-listening-socket): New procedure. * src/cuirass/scripts/register.scm (o

[no subject]

2025-01-06 Thread Ludovic Courtès
branch: main commit 0df79b33e439f00aba81f9df2038837385dfa57c Author: Ludovic Courtès AuthorDate: Mon Jan 6 17:15:57 2025 +0100 web: server: Drop inactive client connections. * src/web/server/fiberized.scm (input-available?): New procedure. (%client-socket-ttl): New variable.

[no subject]

2025-01-06 Thread Ludovic Courtès
branch: main commit 4da8cc5b69615058b5fdf6dc2579ce563d5904f1 Author: Ludovic Courtès AuthorDate: Mon Jan 6 17:22:34 2025 +0100 web: server: Exit when ‘accept’ throws. * src/web/server/fiberized.scm (socket-loop): Catch 'system-error around ‘accept’. --- src/web/server/fiberized.

[no subject]

2025-01-05 Thread Ludovic Courtès
branch: main commit c263b657908a46aa79d153f26da626afc23e081b Author: Ludovic Courtès AuthorDate: Sun Jan 5 17:27:12 2025 +0100 metrics: Add #:timestamp? to ‘db-get-metrics-with-id’. * src/cuirass/metrics.scm (db-get-metrics-with-id): Add #:timestamp? and honor it. --- src/cuiras

[no subject]

2025-01-05 Thread Ludovic Courtès
branch: main commit dea68d4e795d8f4852f743ca8d4d3026ab6021a6 Author: Ludovic Courtès AuthorDate: Sun Jan 5 19:25:31 2025 +0100 templates: metrics: Show pending builds per system. * src/cuirass/templates.scm (bright-color): New procedure. (global-metrics-content): Add #:pending-bu

[no subject]

2025-01-05 Thread Ludovic Courtès
branch: main commit 1a0ebbdcfe71faf4ef5a43402ebebf190c2caf93 Author: Ludovic Courtès AuthorDate: Sun Jan 5 22:14:45 2025 +0100 templates: Show tooltips on pending builds chart. * src/cuirass/templates.scm (make-line-chart): Add #:tooltips? and honor it. (global-metrics-conten

[no subject]

2025-01-05 Thread Ludovic Courtès
branch: main commit 0a2566b4cdc07d701e813ec3dde7fa9896b52326 Author: Ludovic Courtès AuthorDate: Sun Jan 5 22:16:39 2025 +0100 Bump user-visible copyright years. * src/cuirass/templates.scm (html-page): Bump copyright year in footer. * src/cuirass/ui.scm (show-version): Likewise.

[no subject]

2025-01-05 Thread Ludovic Courtès
branch: main commit 197a45c5226b8e679b3ec95c8f2a273635f99b2b Author: Ludovic Courtès AuthorDate: Sun Jan 5 18:07:16 2025 +0100 metrics: ‘db-get-metrics-with-id’ can restrict to a field value. * src/cuirass/metrics.scm (db-get-metrics-with-id): Add #:value and honor it. Change de

[no subject]

2025-01-05 Thread Ludovic Courtès
branch: main commit d31dc1718fa557fcbbd243ce4b44705e803fae4e Author: Ludovic Courtès AuthorDate: Sun Jan 5 19:27:06 2025 +0100 base: Really run ‘build-queue-cleaner’ in a separate fiber. Fixes a bug introduced in 3665686d1e1997d189059e7583e77464a7dd1e20, whereby ‘build-queue-clea

[no subject]

2025-01-05 Thread Ludovic Courtès
branch: main commit e1338fd2b673021ce2c3cad13c18d16aab22d715 Author: Ludovic Courtès AuthorDate: Sun Jan 5 11:39:33 2025 +0100 systemd: Add “Restart=always” to ‘cuirass-remote-worker.service’. * etc/cuirass-remote-worker.service.in (Restart): Add. --- etc/cuirass-remote-worker.servi

[no subject]

2025-01-05 Thread Ludovic Courtès
branch: main commit 0d2d372eaf73cd656f4d94dc76d2acc0423c6487 Author: Ludovic Courtès AuthorDate: Sun Jan 5 16:13:17 2025 +0100 metrics: Add ‘pending-builds-per-system’ metric. * src/cuirass/metrics.scm (db-pending-builds): Add ‘system’ parameter and honor it. (%metrics): Adju

[no subject]

2025-01-05 Thread Ludovic Courtès
branch: main commit 878af4946d7765d36e864543f43ff72029847b61 Author: Ludovic Courtès AuthorDate: Sun Jan 5 17:25:25 2025 +0100 metrics: Add #:timestamp to ‘db-update-metric’. * src/cuirass/metrics.scm (db-update-metric): Add #:timestamp parameter and honor it. --- src/cuirass/me

[no subject]

2025-01-05 Thread Ludovic Courtès
branch: main commit d38b61ab8b41c1aca36cde171068ab1ca414c9f7 Author: Ludovic Courtès AuthorDate: Sun Jan 5 11:39:05 2025 +0100 database: Remove newline in message. * src/cuirass/database.scm (db-reschedule-builds-without-failed-dependencies): Remove extra newline in message. ---

[no subject]

2025-01-05 Thread Ludovic Courtès
branch: main commit 724bef1703ebda7a807aec0b28184743e4e98901 Author: Ludovic Courtès AuthorDate: Sun Jan 5 22:09:54 2025 +0100 metrics: Change pending builds sampling period to 6h. So far ‘pending-builds’ was effectively sampled every 24h. * src/cuirass/metrics.scm (%pending

[no subject]

2024-12-26 Thread Ludovic Courtès
branch: main commit 13737f2e156617dc74f388e8d6f01bd08f0f231a Author: Ludovic Courtès AuthorDate: Thu Dec 26 14:57:00 2024 +0100 templates: Add missing unquote for pull request info box. * src/cuirass/templates.scm (pull-request-info-box): Add missing unquote. --- src/cuirass/tem

[no subject]

2024-12-26 Thread Ludovic Courtès
branch: main commit f9c951d95d3147eec85f34cd54581ec359af6c65 Author: Ludovic Courtès AuthorDate: Thu Dec 26 15:07:26 2024 +0100 templates: Display pull-request info on evaluation build page. * src/cuirass/templates.scm (evaluation-build-table): Add #:properties. Add call to ‘pull

[no subject]

2024-12-26 Thread Ludovic Courtès
branch: main commit b68a22dad6f7c04015c73c41796c29369de7d0ee Author: Ludovic Courtès AuthorDate: Thu Dec 26 14:59:41 2024 +0100 templates: Really distinguish pull requests in spec list. This is a followup to 774113d13bf6df5bc5d8c5b409ad51add91f4013. * src/cuirass/templates.s

[no subject]

2024-12-20 Thread Ludovic Courtès
branch: main commit 954889784d0cc79dff7e652b3abbe804a87f174a Author: Ludovic Courtès AuthorDate: Fri Dec 20 18:48:20 2024 +0100 gitlab: Add ‘target-branch’ and ‘target’ fields to merge requests. * src/cuirass/forges/gitlab.scm ()[target-branch] [target]: New fields. * tests/g

[no subject]

2024-12-20 Thread Ludovic Courtès
branch: main commit a1c4eaca3cfbf37ed32f61e8d206decabe86978b Author: Ludovic Courtès AuthorDate: Fri Dec 20 18:43:38 2024 +0100 gitlab: Merge into . This is the same schema and in fact the same thing. * src/cuirass/forges/gitlab.scm (): Remove. ()[home-page, repository-

[no subject]

2024-12-20 Thread Ludovic Courtès
branch: main commit 30dabb697c5ce3c56b801469c4153c039ad18773 Author: Ludovic Courtès AuthorDate: Fri Dec 20 22:34:01 2024 +0100 templates: Display pull-request info on jobset dashboards. * src/cuirass/templates.scm (evaluation-dashboard): Add ‘spec’. Call ‘pull-request-info-box’

[no subject]

2024-12-20 Thread Ludovic Courtès
branch: main commit 47d8ca44ed2dc491749b125b9aa303735269b196 Author: Ludovic Courtès AuthorDate: Fri Dec 20 22:01:34 2024 +0100 templates: Display pull-request info on jobset page. * src/cuirass/http.scm (url-handler) : Pass #:properties to ‘evaluation-info-table’. * src/cuir

[no subject]

2024-12-20 Thread Ludovic Courtès
branch: main commit 2895a08f7347139943c2b6972da19e6f245493ce Author: Ludovic Courtès AuthorDate: Fri Dec 20 18:01:44 2024 +0100 gitlab: Capture the project and merge request URLs. * src/cuirass/forges/gitlab.scm ()[http-url]: New field. * src/cuirass/forges/gitlab.scm ()[url]: Ne

[no subject]

2024-12-20 Thread Ludovic Courtès
branch: main commit ecf7e2f060f5978209e9e7f9843deb6b81cade0d Author: Ludovic Courtès AuthorDate: Fri Dec 20 18:58:15 2024 +0100 gitlab: Add provenance properties to merge request specs. * src/cuirass/forges/gitlab.scm (gitlab-merge-request->specification): Add ‘properties’ field.

[no subject]

2024-12-20 Thread Ludovic Courtès
branch: main commit 946d6d51c027bd16549f0f432764b001477009c6 Author: Ludovic Courtès AuthorDate: Fri Dec 20 13:56:38 2024 +0100 database: Add ‘properties’ field for specifications. * src/schema.sql (Specifications): Add ‘properties’ field. * src/sql/upgrade-16.sql: New file.

[no subject]

2024-12-20 Thread Ludovic Courtès
branch: main commit ff7b58f62fbca01fd5325970a98a08882f14abeb Author: Ludovic Courtès AuthorDate: Fri Dec 20 14:31:48 2024 +0100 forgejo: Add ‘url’ to . * src/cuirass/forges/forgejo.scm ()[url]: New field. * tests/forgejo.scm (default-pull-request-json): Add it. --- src/cuira

[no subject]

2024-12-20 Thread Ludovic Courtès
branch: main commit ff60e7b83cac3a62b7eb9a054db3dfd0aed42fd0 Author: Ludovic Courtès AuthorDate: Fri Dec 20 19:53:04 2024 +0100 forgejo: Add provenance properties to pull request specs. * src/cuirass/forges/forgejo.scm (forgejo-pull-request->specification): Add ‘properties’ field

[no subject]

2024-12-20 Thread Ludovic Courtès
branch: main commit 774113d13bf6df5bc5d8c5b409ad51add91f4013 Author: Ludovic Courtès AuthorDate: Fri Dec 20 22:46:19 2024 +0100 templates: Distinguish pull requests from other jobsets in spec list. * src/cuirass/templates.scm (specifications-table)[pull-request?]: New procedure.

[no subject]

2024-12-20 Thread Ludovic Courtès
branch: main commit ecdbdbc2aae9fbd6aff6b025ccf79d04130255cb Author: Ludovic Courtès AuthorDate: Fri Dec 20 19:51:09 2024 +0100 forgejo: Add ‘home-page’ field to repository. * src/cuirass/forges/forgejo.scm ()[home-page]: New field. * tests/http.scm (forgejo-pull-request-json

[no subject]

2024-12-17 Thread Ludovic Courtès
branch: main commit 10d4e5bda8d799ff39835dd7a62fbc941c4e403b Author: Ludovic Courtès AuthorDate: Tue Dec 17 10:00:48 2024 +0100 base: Remove specification metrics when removing a jobset. * src/cuirass/base.scm (remove-jobset): Call ‘db-remove-specification-metrics’. --- src/cuir

[no subject]

2024-12-17 Thread Ludovic Courtès
branch: main commit 57989060ef0324c0313960d680f69158e418d468 Author: Ludovic Courtès AuthorDate: Tue Dec 17 09:59:04 2024 +0100 metrics: Add ‘db-remove-specification-metrics’. * src/cuirass/metrics.scm (db-remove-specification-metrics): New procedure. * tests/metrics.scm ("db

[no subject]

2024-12-17 Thread Ludovic Courtès
branch: main commit 8aecceed000337e6d0892746836f07fecfdc622f Author: Ludovic Courtès AuthorDate: Mon Dec 16 15:18:38 2024 +0100 build: Delete cuirass/forges/*.go upon ‘make clean’. * Makefile.am (CLEANFILES): Add $(nodist_forgesobject_DATA). --- Makefile.am | 1 + 1 file changed, 1

[no subject]

2024-12-17 Thread Ludovic Courtès
branch: main commit 96811bd72ae0840dbadc5fec29b12ac6772342da Author: Ludovic Courtès AuthorDate: Tue Dec 17 09:58:18 2024 +0100 metrics: ‘db-get-metric’ returns #f if not found. * src/cuirass/metrics.scm (db-get-metric): Remove #f if not found. --- src/cuirass/metrics.scm | 12 +

[no subject]

2024-12-17 Thread Ludovic Courtès
branch: main commit 2b29471ef0cd4bb0fbfbc831d02c1c28afbffe6a Author: Ludovic Courtès AuthorDate: Mon Dec 16 17:47:55 2024 +0100 metrics: Distinguish specification names from other strings. * src/cuirass/metrics.scm (define-symbol-validation) (validate-field-type-value): New macro

[no subject]

2024-12-16 Thread Ludovic Courtès
branch: main commit 3665686d1e1997d189059e7583e77464a7dd1e20 Author: Ludovic Courtès AuthorDate: Mon Dec 16 10:45:17 2024 +0100 register: Add ‘--build-expiry’. * src/cuirass/base.scm (build-queue-cleaner, spawn-build-queue-cleaner): New procedures. * src/cuirass/scripts/regis

[no subject]

2024-12-16 Thread Ludovic Courtès
branch: main commit 57bc09edeccb26edf6fd071f5451dc45b85781c3 Author: Ludovic Courtès AuthorDate: Mon Dec 16 10:36:57 2024 +0100 database: Add ‘db-cancel-old-pending-builds’. * src/cuirass/database.scm (db-cancel-old-pending-builds): New procedure. --- src/cuirass/database.scm |

[no subject]

2024-12-13 Thread Ludovic Courtès
branch: main commit f3592213995a1110b1f123362590b71cb1dba9a4 Author: Romain GARBAGE AuthorDate: Thu Dec 12 16:57:52 2024 +0100 forges: Define default values for specifications. * src/cuirass/forges.scm (%default-jobset-options-period, %default-jobset-options-priority, %default-jo

[no subject]

2024-12-13 Thread Ludovic Courtès
branch: main commit b9abd222cd70fbebafca39522d891df20c4a7671 Author: Romain GARBAGE AuthorDate: Thu Dec 12 16:57:49 2024 +0100 tests: Move procedure definition. * tests/common.scm (specifications-equal?): New variable. * tests/gitlab.scm (specifications-equal?): Remove variable.

[no subject]

2024-12-13 Thread Ludovic Courtès
branch: main commit 51efb1380a602bb2bab8f4c9d569b78ffcb5a71d Author: Romain GARBAGE AuthorDate: Thu Dec 12 16:57:50 2024 +0100 tests: Rename specifications-equal? procedure. * tests/common.scm (specifications=?): New variable. (specifications-equal?): Remove variable. * tests

[no subject]

2024-12-13 Thread Ludovic Courtès
branch: main commit 294d50e4130c89e7aad80bcc7d59702bbd897d14 Author: Romain GARBAGE AuthorDate: Thu Dec 12 16:57:51 2024 +0100 forges: Add module for common forges utilities. * Makefile.am: Update module list. * src/cuirass/forges.scm: New module. * src/cuirass/gitlab.scm: Mo

[no subject]

2024-12-13 Thread Ludovic Courtès
branch: main commit c9be27bc68cf42dd1ed2c2daf446171091562fbd Author: Romain GARBAGE AuthorDate: Thu Dec 12 16:57:55 2024 +0100 http: Add admin/forgejo/event. * src/cuirass/http.scm (url-handler): Add "/admin/forgejo/event". * tests/http.scm: Add tests for the "/admin/forgejo/even

[no subject]

2024-12-13 Thread Ludovic Courtès
branch: main commit 6cdb860a404c45d56f3f2ceced1d1041aacb9e11 Author: Romain GARBAGE AuthorDate: Thu Dec 12 16:57:54 2024 +0100 tests: Explicit Gitlab endpoint related variables. * tests/http.scm: Rename mr-* variables to gitlab-merge-request-*. Signed-off-by: Ludovic Courtès

[no subject]

2024-12-13 Thread Ludovic Courtès
branch: main commit 2ddf685a278e9a72dee4c8d3e3b8132bc0340506 Author: Romain GARBAGE AuthorDate: Thu Dec 12 16:57:53 2024 +0100 forgejo: Add module for Forgejo JSON objects definition. * Makefile.am: Add src/cuirass/forges/forgejo.scm and tests/forgejo.scm. * src/cuirass/forges/fo

[no subject]

2024-12-10 Thread Ludovic Courtès
branch: main commit 03c79dc5ad9b4d770d9cde7601c1924ee383a2eb Author: Ludovic Courtès AuthorDate: Mon Nov 25 14:44:21 2024 +0100 templates: Defend against corner case on build page. * src/cuirass/templates.scm (build-details): Protect against ‘find-dependency’ returning #f. --- s

[no subject]

2024-12-10 Thread Ludovic Courtès
branch: main commit 2bbc7a4c408104467d3a30844913877996ae3d57 Author: Ludovic Courtès AuthorDate: Wed Nov 6 17:18:53 2024 +0100 templates: Fix typo error on evaluation pages for inactive jobsets. * src/cuirass/templates.scm (evaluation-info-table): Add ‘assert’. Remove extra ‘symb

[no subject]

2024-12-10 Thread Ludovic Courtès
branch: main commit 25cb98f5413d99dedb06f95067ead9c891deb70b Author: Ludovic Courtès AuthorDate: Sun Dec 1 16:33:29 2024 +0100 remote-worker: Update comment about topological ordering. * src/cuirass/scripts/remote-worker.scm (run-build)[run-build-plan]: Update comment about topol

[no subject]

2024-12-10 Thread Ludovic Courtès
branch: main commit 1331acfdb67678f7d60f88c8ee077ec7c3d1ccb1 Author: Ludovic Courtès AuthorDate: Tue Dec 10 12:09:07 2024 +0100 utils: Add ‘assert’ macro. * src/cuirass/utils.scm (&cuirass-assertion-failure): New exception type. (assert): New macro. --- src/cuirass/utils.scm | 3

[no subject]

2024-10-21 Thread Ludovic Courtès
branch: main commit 304c09badfa6d928a4798507b6ecc7396b05cfd5 Author: Ludovic Courtès AuthorDate: Mon Oct 21 16:57:28 2024 +0200 base: Be more conservative in deciding whether to remove a .drv GC root. Possibly fixes . * src/cuirass/base.scm

[no subject]

2024-10-21 Thread Ludovic Courtès
branch: main commit 3af1abc2a2c241e9707b38c2300c4cd18801db37 Author: Ludovic Courtès AuthorDate: Mon Oct 21 14:48:32 2024 +0200 database: ‘db-get-build’ is no longer in terms of ‘db-get-builds’. This custom query is expected to perform better than the generic one in ‘db-get-build

[no subject]

2024-10-21 Thread Ludovic Courtès
branch: main commit 7bac17de821d0e226ff76222311206a7ed62 Author: Ludovic Courtès AuthorDate: Mon Oct 21 14:00:38 2024 +0200 database: Use ‘list->sql-array’ throughout. * src/cuirass/database.scm (db-get-build-percentages): Use ‘list->sql-array’. (db-get-jobs): Likewise, a

[no subject]

2024-10-21 Thread Ludovic Courtès
branch: main commit fa76aed714526547ea4b15160ab658577905a5b3 Author: Ludovic Courtès AuthorDate: Mon Oct 21 14:16:39 2024 +0200 database: Remove ‘products’ field from . This simplifies ‘db-get-builds’ and the underlying SQL query, hopefully making it faster. The only uses of ‘bu

[no subject]

2024-10-19 Thread Ludovic Courtès
branch: main commit 79190e4352caf38eeb39af23d40fa278bbd2afbf Author: Ludovic Courtès AuthorDate: Fri Oct 18 17:19:57 2024 +0200 remote-server: Move back to rescheduling builds asynchronously. This undoes 5e5912717957d294de83e5dcea894214ad97ac75 and 6cd1608e644a755dbbfd2937489061e

[no subject]

2024-10-19 Thread Ludovic Courtès
branch: main commit 655ba0a0a506e619d574a05d1699ef13bcc9a6fc Author: Ludovic Courtès AuthorDate: Thu Oct 17 21:17:42 2024 +0200 templates: Support commit URLs for codeberg.org (Forgejo). * src/cuirass/templates.scm (%vcs-web-views) (%vcs-web-commit-range-views): Add entry for cod

[no subject]

2024-10-06 Thread Ludovic Courtès
branch: main commit d52a9c56302dc911d7582ab394d11ee21cf1d44f Author: Ludovic Courtès AuthorDate: Sun Oct 6 17:28:06 2024 +0200 base: Go back to marking ‘failed-dependency’ builds asynchronously. This undoes part of 5e5912717957d294de83e5dcea894214ad97ac75 and 6cd1608e644a755dbbfd

[no subject]

2024-10-06 Thread Ludovic Courtès
branch: main commit fc4624cdac28f013e5a31165cb64ecb5e4f6de41 Author: Ludovic Courtès AuthorDate: Sun Oct 6 17:40:52 2024 +0200 templates: Add more ‘uri-encode’ calls for jobset URLs. This is a followup to e53d596ca2fc79e2d669776cc78bfd8c07167a5f. * src/cuirass/templates.scm

[no subject]

2024-10-06 Thread Ludovic Courtès
branch: main commit 35b77821820b966dedd3f0d7df912b8680617dbc Author: Ludovic Courtès AuthorDate: Sun Oct 6 17:35:20 2024 +0200 utils: Add ‘atomic-box-fetch-and-increment!’ and ‘atomic-box-fetch-and-decrement!’. * src/cuirass/scripts/remote-server.scm (atomic-box-fetch-and-update!)

[no subject]

2024-10-05 Thread Ludovic Courtès
branch: main commit e611adcca75f483eab08d4f94c4c985d23ff1696 Author: Ludovic Courtès AuthorDate: Sat Oct 5 17:46:59 2024 +0200 database: Optimize ‘db-get-builds-{min,max}’. This query would be very slow: LOG: duration: 10805.150 ms plan: Query Text: SELECT

[no subject]

2024-10-05 Thread Ludovic Courtès
branch: main commit d894a914f6c7c5b60fda7b61894b21dc146f3143 Author: Ludovic Courtès AuthorDate: Sat Oct 5 12:02:22 2024 +0200 database: Add ‘with-timing-check’ for operations on dependencies. * src/cuirass/database.scm (db-reschedule-dependent-builds): Wrap ‘exec-query/bind’ in

[no subject]

2024-10-05 Thread Ludovic Courtès
branch: main commit eb4771308e6ced0f429f225f30de435a3dbfc0ba Author: Ludovic Courtès AuthorDate: Sat Oct 5 22:17:59 2024 +0200 http: Change /build/ID/restart from ‘GET’ to ‘POST’. Not all crawlers honor ‘robots.txt’ and some could end up restarting random failed builds (not surpr

[no subject]

2024-10-03 Thread Ludovic Courtès
branch: main commit e53d596ca2fc79e2d669776cc78bfd8c07167a5f Author: Romain GARBAGE AuthorDate: Thu Oct 3 09:52:04 2024 +0200 templates: Encode specification name when generating URL. * src/cuirass/templates.scm (specifications-table): Encode specification name when generating URL.

[no subject]

2024-10-03 Thread Ludovic Courtès
branch: main commit 0abf39033c2103f8eeaa81bddbd04d2693f3d531 Author: Ludovic Courtès AuthorDate: Wed Oct 2 16:48:49 2024 +0200 database: Rephrase logged sentence. * src/cuirass/database.scm (db-reschedule-stale-builds): Rephrase. --- src/cuirass/database.scm | 2 +- 1 file changed,

[no subject]

2024-10-03 Thread Ludovic Courtès
branch: main commit 311e861d0e7f5bd7e1abe683e7330a255bde0f40 Author: Ludovic Courtès AuthorDate: Wed Oct 2 16:47:57 2024 +0200 remote-server: Gracefully handle missing dependency derivation. * src/cuirass/scripts/remote-server.scm (insert-build-for-dependency): Catch 'system-erro

[no subject]

2024-09-29 Thread Ludovic Courtès
branch: main commit 5f07b0f3bdbb129fa21f13bd498cabd0d7d6c24b Author: Ludovic Courtès AuthorDate: Sun Sep 29 12:03:00 2024 +0200 database: Fix scalability issue when marking dependents as ‘failed-dependency’. Fixes a performance regression introduced in 5e5912717957d294de83e5dcea

[no subject]

2024-09-29 Thread Ludovic Courtès
branch: main commit 88f85da199bcfeddfdbe4f4ff8cd5900079afd66 Author: Ludovic Courtès AuthorDate: Sun Sep 29 12:11:44 2024 +0200 database: Reschedule when success follows any kind of failure. * src/cuirass/database.scm (db-update-build-status!): Call ‘db-reschedule-dependent-build

[no subject]

2024-09-19 Thread Ludovic Courtès
branch: main commit d55d6e05a7d202d6985f92be052f7722e8be879a Author: Ludovic Courtès AuthorDate: Thu Sep 19 10:57:07 2024 +0200 database: Fail dependents for any kind of failure. * src/cuirass/database.scm (build-failure?): New procedure. (db-update-build-status!): Use it instead

[no subject]

2024-09-19 Thread Ludovic Courtès
branch: main commit c4d9ab1e24aeb29c54a7f6e11a2d19e5092fb65a Author: Ludovic Courtès AuthorDate: Thu Sep 19 10:44:31 2024 +0200 database: Increase ‘%build-submission-timeout’. * src/cuirass/database.scm (%build-submission-timeout): Increase. * src/cuirass/scripts/remote-server.sc

[no subject]

2024-09-19 Thread Ludovic Courtès
branch: main commit 6dc73970d4b16c16a7639ac50da067194837615d Author: Ludovic Courtès AuthorDate: Thu Sep 19 10:41:48 2024 +0200 remote-server: Add build dependency edges unconditionally. This is a followup to fbd778a5cb4375744517064d13608b85db7e2626. * src/cuirass/scripts/re

[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

  1   2   3   4   5   6   7   8   9   10   >