John Ericson
3c5636162a
Merge remote-tracking branch 'upstream/master' into split-buildRemote
2023-12-04 09:38:43 -05:00
Janne Heß
874fcae1e8
Merge pull request #1301 from delroth/queue-runner-perf
...
queue-runner: only re-sort runnables by prio once per dispatch cycle
2023-12-04 15:27:14 +01:00
Eelco Dolstra
4dc8fe0b08
Merge pull request #1312 from obsidiansystems/clean-up-deps
...
Cleanup deps
2023-12-04 15:15:09 +01:00
John Ericson
67eeabd518
Merge remote-tracking branch 'upstream/master' into split-buildRemote
2023-12-04 09:12:58 -05:00
John Ericson
622c25e3c4
Sedding prior to merge
2023-12-04 08:56:06 -05:00
Eelco Dolstra
f216bce0e6
Merge pull request #1314 from obsidiansystems/2.19
...
Upgrade to Nix 2.19
2023-12-01 17:07:51 +01:00
Eelco Dolstra
4d1c850512
Merge pull request #1308 from chayleaf/2.18
...
support nix 2.18
2023-12-01 15:10:29 +01:00
John Ericson
c922e73c11
Update to Nix 2.19
...
Flake lock file updates:
• Updated input 'nix':
'github:NixOS/nix/f5f4de6a550327b4b1a06123c2e450f1b92c73b6' (2023-10-02)
→ 'github:NixOS/nix/50f8f1c8bc019a4c0fd098b9ac674b94cfc6af0d' (2023-11-27)
2023-11-30 15:26:46 -05:00
John Ericson
e172461e55
Use const
in for loop
...
As requested by @teh
2023-11-30 12:19:20 -05:00
John Ericson
0917145622
Make new functions not in header static
2023-11-30 12:19:05 -05:00
John Ericson
2bda7ca642
Further use Machine::Connection
to deduplicate
2023-11-30 11:31:58 -05:00
John Ericson
831a2d9bd5
Merge remote-tracking branch 'upstream/master' into split-buildRemote
2023-11-30 11:27:40 -05:00
John Ericson
5db374cb50
Cleanup deps
...
- `nativeBuildInputs` vs `buildInputs`
- narrow down `with`s for clarity
- use `autoreconfHook` not `bootstrap` script
These sorts of changes have also been done in the Nix repo.
2023-11-30 10:48:17 -05:00
chayleaf
e9da80fff6
support nix 2.18
2023-11-21 18:41:52 +07:00
Janne Heß
8f48e4ddec
Merge pull request #1268 from knedlsepp/fix-mime
...
Fix MIME types when serving .js and .css to fix rendering of HTML reports
2023-11-17 22:16:27 +01:00
Janne Heß
33f8a36736
Merge pull request #1304 from stigtsp/crypt-passphrase-argon2-output-len
...
Set output length of C::P::Argon2 hashes to 16
2023-10-20 16:03:18 +02:00
Stig Palmquist
6a5fb9efae
Set output length of C::P::Argon2 hashes to 16
...
Since the default lengths in Crypt::Passphrase::Argon2 changed from 16
to 32 in in 0.009, some tests that expected the passphrase to be
unchanged started failing.
2023-10-20 00:09:28 +02:00
Janne Heß
c1a5ff3959
Merge pull request #1258 from nh2/patch-1
...
`renderInputDiff`: Increase git hash length 6 -> 8
2023-09-09 17:17:43 +02:00
Janne Heß
8520ab1391
Merge pull request #1300 from sternenseemann/doc-eval-builds
...
Document all_builds (/eval/{eval-id}/builds) endpoint
2023-09-09 17:11:52 +02:00
Janne Heß
8a413ce71a
Merge pull request #1293 from arianvp/patch-1
...
Fix docs for /eval/{id} endpoint
2023-09-09 17:10:56 +02:00
Pierre Bourdon
b7c864c515
queue-runner: only re-sort runnables by prio once per dispatch cycle
...
The previous implementation was O(N²lg(N)) due to sorting the full
runnables priority list once per runnable being scheduled. While not
confirmed, this is suspected to cause performance issues and
bottlenecking with the queue runner when the runnable list gets large
enough.
This commit changes the dispatcher to instead only sort runnables per
priority once per dispatch cycle. This has the drawback of being less
reactive to runnable priority changes: the previous code would react
immediately, while this might end up using "old" priorities until the
next dispatch cycle. However, dispatch cycles are not supposed to take
very long (seconds, not minutes/hours), so this is not expected to have
much or any practical impact.
Ideally runnables would be maintained in a sorted data structure instead
of the current approach of copying + sorting in the scheduler. This
would however be a much more invasive change to implement, and might
have to wait until we can confirm where the queue runner bottlenecks
actually lie.
2023-09-08 23:38:30 +02:00
sternenseemann
e2195c46d1
hydra-api.yaml: document all_builds (/eval/{eval-id}/builds)
2023-08-30 15:08:11 +02:00
sternenseemann
113836ebae
hydra-api.yaml: name JobsetEval parameter eval-id
...
This is more accurate since the id space is not shared between build and
eval ids.
2023-08-30 15:06:48 +02:00
Eelco Dolstra
00d30874da
Merge pull request #1296 from DeterminateSystems/nix-2.17
...
Support Nix 2.17
2023-08-23 17:53:14 +02:00
Eelco Dolstra
35ccc9ebb2
Fix indentation
...
Co-authored-by: John Ericson <git@JohnEricson.me>
2023-08-23 17:04:45 +02:00
Linus Heckemann
9f0427385f
Apply LTO fix suggested by Ericson2314
2023-08-20 14:55:56 +02:00
Linus Heckemann
b23431a657
Support Nix 2.17
2023-08-04 15:53:48 +02:00
Eelco Dolstra
60e2c377d3
Merge pull request #1295 from arianvp/patch-3
...
Fix documentation of defaultpath in api docs
2023-08-03 17:09:21 +02:00
Arian van Putten
a78664f1b5
Fix documentation of defaultpath in api docs
2023-07-20 14:43:03 +02:00
Arian van Putten
46246dcae3
Fix docs for /eval/{id} endpoint
...
You need to pass it an eval-id, not a build-id pretty sure
2023-07-19 15:13:25 +02:00
Janne Heß
d135b123cd
Merge pull request #1292 from Ma27/fix-queue-runner-stats
...
hydra-queue-runner: fix stats
2023-07-17 09:56:05 +02:00
Janne Heß
526e8bd744
Merge pull request #1291 from NixOS/update-nix-nixpkgs
2023-06-25 20:53:50 +02:00
Maximilian Bosch
5c35d1be20
hydra-queue-runner: fix stats
2023-06-25 17:28:15 +02:00
Eelco Dolstra
ce001bb142
Relax time interval checks
...
I saw one of these failing randomly.
2023-06-23 15:09:09 +02:00
Eelco Dolstra
9f69bb5c2c
Fix compilation against Nix 2.16
2023-06-23 15:06:55 +02:00
Eelco Dolstra
a0c8440a5c
Update to Nix 2.16 and NixOS 23.05
...
Flake lock file updates:
• Updated input 'nix':
'github:nixos/nix/4acc684ef7b3117c6d6ac12837398a0008a53d85' (2023-02-22)
→ 'github:NixOS/nix/84050709ea18f3285a85d729f40c8f8eddf5008e' (2023-06-06)
• Added input 'nix/flake-compat':
'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17)
• Updated input 'nixpkgs':
follows 'nix/nixpkgs'
→ 'github:NixOS/nixpkgs/ef0bc3976340dab9a4e087a0bcff661a8b2e87f3' (2023-06-21)
2023-06-23 15:06:46 +02:00
Janne Heß
13ef4e3c5d
Merge pull request #1286 from JulienMalka/fix-hydra-eval-jobs-dot
...
hydra-eval-jobs: fix jobs containing a dot being dropped
2023-05-08 14:48:33 +02:00
Julien Malka
b4099df91e
hydra-eval-jobs: fix jobs containing a dot being dropped
2023-04-25 10:37:41 +02:00
Eelco Dolstra
082495e34e
Merge pull request #1275 from Ma27/nix-2.13
...
Nix 2.13 + nixpkgs input update
2023-03-27 13:30:13 +02:00
Graham Christensen
399b61ff67
Merge pull request #1277 from Mindavi/systemd/network-online
...
systemd: hydra-queue-runner: wait for network-online
2023-03-24 09:56:29 -04:00
Graham Christensen
3da6ef0d6d
Merge pull request #1281 from NixOS/rv-google-signin
...
Use new Google for Web signin
2023-03-24 09:55:22 -04:00
Rob Vermaas
f88bef15ed
Use new Google for Web signin, the old way will be deprecated Mar 31st 2023
2023-03-14 09:04:12 +01:00
Rick van Schijndel
a084e204ae
systemd: hydra-queue-runner: wait for network.target too
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-03-07 21:56:20 +01:00
Graham Christensen
ecfa817d30
Merge pull request #1279 from DeterminateSystems/drop-unnecessary-index
...
Drop unused IndexBuildOutputsOnPath index
2023-03-06 11:06:31 -05:00
Cole Helbling
8d53c3ca11
test: use ubuntu-latest
2023-03-06 07:56:05 -08:00
Cole Helbling
810d2e6b51
Drop unused IndexBuildOutputsOnPath index
...
Also it's larger than the actual table it's indexing lol.
-[ RECORD 30 ]----------+-----------------------------------------
table_name | buildoutputs
index_name | indexbuildoutputsonpath
index_scans_count | 0
index_size | 31 GB
table_reads_index_count | 2128699937
table_reads_seq_count | 0
table_reads_count | 2128699937
table_writes_count | 22442976
table_size | 28 GB
2023-03-06 07:56:05 -08:00
Maximilian Bosch
f44d3d6ec9
Update Nix to 2.13.3
...
Includes the following required fixes:
* perl-bindings are correctly initialized: 77d8066e83
* /etc/ must be unwritable in build sandbox: 4acc684ef7
2023-03-04 12:07:34 +01:00
Rick van Schijndel
65c1249227
systemd: hydra-queue-runner: wait for network-online
...
This prevents eval errors when a machine is just started and the network isn't yet online.
I'm running hydra on a laptop and the network takes a bit of time to come online (WLAN),
so it's nice if the evaluator starts only when the network actually goes online.
Otherwise an error like this can happen on the first eval(s):
```
error fetching latest change from git repo at `https://github.com/nixos/nixpkgs.git ':
fatal: unable to access 'https://github.com/nixos/nixpkgs.git/ ': Could not resolve host: github.com
```
2023-02-16 19:24:53 +01:00
Linus Heckemann
73dff15039
tests: ports are numbers
2023-02-04 20:12:30 +01:00
Linus Heckemann
ddd3ac3a4d
name tests
2023-02-04 20:12:30 +01:00