From 0127d2f689c765a25f3c6af2fecd2558ceea52c6 Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Mon, 23 Nov 2026 06:42:31 -0600 Subject: [PATCH] fix(pm-stack): pass the laptop's gh path to the quota weekly review unit (#12701) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The job's first live run found that S6's default gh path (/usr/bin/gh) does not exist on the laptop — the proposal-PR step failed with ENOENT before any mutation. The unit now passes the per-user profile gh (/etc/profiles/per-user/user/bin/gh) explicitly via --gh, the flag the job already exposes for exactly this. With that path, the first run opened proposal PR #13265 and posted the first weekly report to epic #12694 (comment 7101452020). --- nixos/services/pm-stack/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/services/pm-stack/default.nix b/nixos/services/pm-stack/default.nix index f704e3e367..749f106152 100644 --- a/nixos/services/pm-stack/default.nix +++ b/nixos/services/pm-stack/default.nix @@ -486,6 +486,7 @@ in "--shadow ${aggState}/quota-shadow-placement.json" "--out-dir ${aggState}/weekly-review" "--repo-root ${home}/git/code" + "--gh /etc/profiles/per-user/user/bin/gh" "--open-prs" "--post" ];