From 7635ef69d844654aa9f5b12c31079b169855dbb8 Mon Sep 17 00:00:00 2001 From: Vincent Haupert Date: Thu, 22 May 2025 12:59:32 +0200 Subject: [PATCH] github-runner: 2.323.0 -> 2.324.0 In `Debug` builds, the log level is more verbose. Some tests read the logs to check for succeess. Setting the `GITHUB_ACTIONS_RUNNER_TRACE` environment variable results in the same log level. The test `AuthMigrationAutoReset` depends on a `#Debug` preprocessor macro and, hence, cannot work. I have disabled the test. --- pkgs/by-name/gi/github-runner/deps.json | 36 +++++++++++------------ pkgs/by-name/gi/github-runner/package.nix | 11 +++++-- 2 files changed, 27 insertions(+), 20 deletions(-) diff --git a/pkgs/by-name/gi/github-runner/deps.json b/pkgs/by-name/gi/github-runner/deps.json index 04e678ffef63..cc73b54f8081 100644 --- a/pkgs/by-name/gi/github-runner/deps.json +++ b/pkgs/by-name/gi/github-runner/deps.json @@ -6,13 +6,13 @@ }, { "pname": "Azure.Storage.Blobs", - "version": "12.23.0", - "hash": "sha256-SMSelOQaPwRTv4qrgM1oIW0122KaMt4nBhHW1EzQg7Q=" + "version": "12.24.0", + "hash": "sha256-PcI3Jf9VrDfkr0YfoR89us45HE1DE8g5J3ZpZ8vZkLs=" }, { "pname": "Azure.Storage.Common", - "version": "12.22.0", - "hash": "sha256-mgE5u4uqEN/qxSE2K6d/nr3uIW9ZBXFkBKBUKWJwzwM=" + "version": "12.23.0", + "hash": "sha256-DAMzFlls76hH5jtXtU89SvbQWhhELaQq+PfG4SK7W+Q=" }, { "pname": "Castle.Core", @@ -31,13 +31,13 @@ }, { "pname": "Microsoft.CodeCoverage", - "version": "17.12.0", - "hash": "sha256-lGjifppD0OBMBp28pjUfPipaeXg739n8cPhtHWoo5RE=" + "version": "17.13.0", + "hash": "sha256-GKrIxeyQo5Az1mztfQgea1kGtJwonnNOrXK/0ULfu8o=" }, { "pname": "Microsoft.NET.Test.Sdk", - "version": "17.12.0", - "hash": "sha256-DKFEbhh2wPzahNeHdEoFig8tZh/LEVrFc5+zpT43Btg=" + "version": "17.13.0", + "hash": "sha256-sc2wvyV8cGm1FrNP2GGHEI584RCvRPu15erYCsgw5QY=" }, { "pname": "Microsoft.NETCore.Platforms", @@ -96,13 +96,13 @@ }, { "pname": "Microsoft.TestPlatform.ObjectModel", - "version": "17.12.0", - "hash": "sha256-3XBHBSuCxggAIlHXmKNQNlPqMqwFlM952Av6RrLw1/w=" + "version": "17.13.0", + "hash": "sha256-6S0fjfj8vA+h6dJVNwLi6oZhYDO/I/6hBZaq2VTW+Uk=" }, { "pname": "Microsoft.TestPlatform.TestHost", - "version": "17.12.0", - "hash": "sha256-rf8Sh0fQq44Sneuvs64unkkIHg8kOjDGWE35j9iLx5I=" + "version": "17.13.0", + "hash": "sha256-L/CJzou7dhmShUgXq3aXL3CaLTJll17Q+JY2DBdUUpo=" }, { "pname": "Microsoft.Win32.Primitives", @@ -481,8 +481,8 @@ }, { "pname": "System.Diagnostics.EventLog", - "version": "8.0.0", - "hash": "sha256-rt8xc3kddpQY4HEdghlBeOK4gdw5yIj4mcZhAVtk2/Y=" + "version": "8.0.1", + "hash": "sha256-zvqd72pwgcGoa1nH3ZT1C0mP9k53vFLJ69r5MCQ1saA=" }, { "pname": "System.Diagnostics.Tools", @@ -836,8 +836,8 @@ }, { "pname": "System.ServiceProcess.ServiceController", - "version": "8.0.0", - "hash": "sha256-mq/Qm8JeMUvitHf32/F8uvw1YJGx4prGnEI/VzdaFAI=" + "version": "8.0.1", + "hash": "sha256-2cXTzNOyXqJinFPzdVJ9Gu6qrFtycfivu7RHDzBJic8=" }, { "pname": "System.Text.Encoding", @@ -971,8 +971,8 @@ }, { "pname": "xunit.runner.visualstudio", - "version": "2.5.8", - "hash": "sha256-71EXxeR3yiZTAWCVnjIx9o4Lme6MVY04KXch9qZETQU=" + "version": "2.8.2", + "hash": "sha256-UlfK348r8kJuraywfdCtpJJxHkv04wPNzpUaz4UM/60=" }, { "pname": "YamlDotNet.Signed", diff --git a/pkgs/by-name/gi/github-runner/package.nix b/pkgs/by-name/gi/github-runner/package.nix index 8287fac05aa5..70513147d8bc 100644 --- a/pkgs/by-name/gi/github-runner/package.nix +++ b/pkgs/by-name/gi/github-runner/package.nix @@ -25,13 +25,13 @@ assert builtins.all (x: builtins.elem x [ "node20" ]) nodeRuntimes; buildDotnetModule (finalAttrs: { pname = "github-runner"; - version = "2.323.0"; + version = "2.324.0"; src = fetchFromGitHub { owner = "actions"; repo = "runner"; tag = "v${finalAttrs.version}"; - hash = "sha256-3KdNkQKmFR1999e99I4qKsM/10QW8G+7eUK44RisQr8="; + hash = "sha256-/ssjVM1Ujgp5JgeKZ7Tmngyy4V/bFcxTfakbPhnp6Co="; leaveDotGit = true; postFetch = '' git -C $out rev-parse --short HEAD > $out/.git-revision @@ -199,6 +199,11 @@ buildDotnetModule (finalAttrs: { "RunnerLayoutParts_CheckExternalsHash" "RunnerLayoutParts_CheckDotnetRuntimeHash" ] + # Strictly require a Debug configuration to work + ++ [ + # https://github.com/actions/runner/blob/da3412e/src/Runner.Common/HostContext.cs#L260-L266 + "GitHub.Runner.Common.Tests.HostContextL0.AuthMigrationAutoReset" + ] ++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [ # "JavaScript Actions in Alpine containers are only supported on x64 Linux runners. Detected Linux Arm64" "GitHub.Runner.Common.Tests.Worker.StepHostL0.DetermineNodeRuntimeVersionInAlpineContainerAsync" @@ -217,6 +222,8 @@ buildDotnetModule (finalAttrs: { preCheck = '' + # Required by some tests + export GITHUB_ACTIONS_RUNNER_TRACE=1 mkdir -p _layout/externals '' + lib.optionalString (lib.elem "node20" nodeRuntimes) ''