supabase-postgres.git / summary / log / commit / refs
commit b3f8d2ba5488f11073609e49dce067b5eb8ead91
Author: Márton Boros <martonboros@gmail.com>
Commit: GitHub <noreply@github.com>
Date: Wed Jul 22 13:59:02 2026 +0000
fix(github-matrix): report nix eval errors instead of crashing (#2294)
process_nix_eval_jobs_stdout appended to `errors_list`, but the local
list is named `errors` — so the moment nix-eval-jobs emitted any error
line, the eval job died with `NameError: name 'errors_list' is not
defined` instead of surfacing the real evaluation error and exiting 1.
The downstream error reporting in main() (grouping + GitHub annotation +
sys.exit(1)) was already correct; only this append referenced the wrong
name.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
nix/packages/github-matrix/github_matrix.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nix/packages/github-matrix/github_matrix.py b/nix/packages/github-matrix/github_matrix.py
index 6f6ef30c..ec4f618d 100755
--- a/nix/packages/github-matrix/github_matrix.py
+++ b/nix/packages/github-matrix/github_matrix.py
@@ -187,7 +187,7 @@ def process_nix_eval_jobs_stdout(
for line in stdout.splitlines():
result = parse_nix_eval_line(line, drv_paths)
if result.is_err():
- errors_list.append(result._value)
+ errors.append(result._value)
elif result._value is not None:
packages.append(result._value)
[parent: 2678fc8cd70d]