@cryptotaxi247 / infra-1 / commits / 34d66de4

hydra-queue-runner: enforce max output size

The Rust queue-runner that replaced the classic hydra-queue-runner does not read hydra.conf, so its max_output_size was silently unenforced. Bump hydra to the revision adding the maxOutputSize setting, set it to 4 GiB - 1 B (matching the old prod hydra.conf), and drop the now-dead max_output_size from hydra.conf.

Jörg Thalheim committed Jun 17, 2026 at 22:40 UTC 34d66de41d184c105628c67ae3fa80a70a63d279
3 files changed +4 -4
build/hydra-queue-runner.nix
+1
@@ -86,6 +86,7 @@ in
86 machineFreeFn = "DynamicWithMaxJobLimit";
87 stepSortFn = "WithCriticalPath";
88 usePresignedUploads = true;
89 + maxOutputSize = 4294967295; # 4 GiB - 1 B, matches prod hydra.conf max_output_size
90 # TODO: Expose dispatchTriggerTimerInS, defaults to 120s
91 queueTriggerTimerInS = 60;
92 concurrentUploadLimit = 48;
build/hydra.nix
-1
@@ -113,7 +113,6 @@ in
113
114 allow_import_from_derivation = false
115
116 - max_output_size = 4294967295 # 4 GiB - 1 B
116 max_db_connections = 350
117
118 <hydra_notify>
flake.lock
+3 -3
@@ -324,11 +324,11 @@
324 ]
325 },
326 "locked": {
327 - "lastModified": 1781724387,
328 - "narHash": "sha256-FX6IznHKtaO+oPydvNIMeklV7785+e0sA18NFihKeG8=",
327 + "lastModified": 1781728678,
328 + "narHash": "sha256-B8j5zi/ieIitlWjZ9VHO5pb4GpVEYPKeRaIb6C+Uh1c=",
329 "owner": "NixOS",
330 "repo": "hydra",
331 - "rev": "d001b8200bb9996ee5c0558fb82b9a4fff13b5e8",
331 + "rev": "5c46a0b86dd2391b000305fc9d3e8355f4bcdb0d",
332 "type": "github"
333 },
334 "original": {