From 2736278ae7b627bf604cb8035951e44c52e81a44 Mon Sep 17 00:00:00 2001 From: Daniel Naab Date: Thu, 3 Dec 2026 16:56:05 -0600 Subject: [PATCH 1/3] infra(nixos): authorize Mac SSH key for root Only the pve key could log in as root, so the server was unreachable from the work laptop for operational lookups (e.g. vetting access requests). Add the dnaab@flexion.us ed25519 key alongside it. Pot-Run: 9e13 --- infrastructure/nixos/modules/users.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/infrastructure/nixos/modules/users.nix b/infrastructure/nixos/modules/users.nix index 3f4dd37ec..e0bdb2dc0 100644 --- a/infrastructure/nixos/modules/users.nix +++ b/infrastructure/nixos/modules/users.nix @@ -3,5 +3,6 @@ { users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFzeSniNbg+JvwI93ehqMNWdF1d4WWHDeY8rFHmufek0 daniel@pve" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOD2V8Db+8Z3gaND+8WL68ynAG8noIeiQvhAOKXAo4BK dnaab@flexion.us" ]; } From 81882d4de32b50cc088d1ba80f06ed3612399c4b Mon Sep 17 00:00:00 2001 From: Daniel Naab Date: Thu, 3 Dec 2026 16:57:38 -0600 Subject: [PATCH 2/3] ci: pin runners to ubuntu-24.04 ubuntu-latest now resolves to Ubuntu 26.04, which Playwright 1.59.1 cannot install chromium dependencies for, so the Test job fails on every PR. Pin to 24.04 until Playwright supports the newer image. Pot-Run: 9e13 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/smoke-check.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6c6ee5da..e07f1ebef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: jobs: test: name: Test - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout code @@ -56,7 +56,7 @@ jobs: lint: name: Lint - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout code diff --git a/.github/workflows/smoke-check.yml b/.github/workflows/smoke-check.yml index 04bdbb83b..b897b9611 100644 --- a/.github/workflows/smoke-check.yml +++ b/.github/workflows/smoke-check.yml @@ -15,7 +15,7 @@ on: jobs: smoke: name: Smoke Check - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 env: DEPLOY_BRANCH: ${{ inputs.branch || github.event.client_payload.branch }} DEPLOY_URL: ${{ inputs.base_url || github.event.client_payload.base_url }} From fc63c25f3b5465dae214b76730dd0dde3f405233 Mon Sep 17 00:00:00 2001 From: Daniel Naab Date: Thu, 3 Dec 2026 17:18:33 -0600 Subject: [PATCH 3/3] test(unit): restore BASE_PATH without leaking "undefined" Since Bun 1.4, assigning undefined to process.env stores the string "undefined" (matching Node). base-path.test.ts restored an unset BASE_PATH that way, so every later test file resolved URLs under /undefined/. CI installs the latest Bun, which exposed it. Pot-Run: 9e13 --- test/base-path.test.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/test/base-path.test.ts b/test/base-path.test.ts index cafe1cdd0..d32dfbcdf 100644 --- a/test/base-path.test.ts +++ b/test/base-path.test.ts @@ -5,7 +5,10 @@ describe('getBasePath', () => { const originalEnv = process.env.BASE_PATH afterEach(() => { - process.env.BASE_PATH = originalEnv + // Assigning undefined stores the string "undefined" (Node, Bun >= 1.4), + // which would leak a bogus base path into later test files. + if (originalEnv === undefined) delete process.env.BASE_PATH + else process.env.BASE_PATH = originalEnv }) it('returns "/" when BASE_PATH is not set', () => { @@ -43,7 +46,10 @@ describe('resolveUrl', () => { const originalEnv = process.env.BASE_PATH afterEach(() => { - process.env.BASE_PATH = originalEnv + // Assigning undefined stores the string "undefined" (Node, Bun >= 1.4), + // which would leak a bogus base path into later test files. + if (originalEnv === undefined) delete process.env.BASE_PATH + else process.env.BASE_PATH = originalEnv }) it('returns path as-is when base path is "/"', () => {