From 875a8ef952a21909b9af09dad075de0d2a9d8cbd Mon Sep 17 00:00:00 2001 From: Molecule AI Infra-SRE Date: Tue, 21 Apr 2026 00:54:41 +0000 Subject: [PATCH] fix(CI): set WORKSPACE_ID env var for test job PR #29 introduced WORKSPACE_ID validation at module import time (platform_auth.py). The CI environment did not set WORKSPACE_ID, causing 8 failures + 13 errors on every main push. Add a dummy CI-only value so imports succeed without affecting real workspaces. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ed96e9..ac11400 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,10 @@ on: jobs: test: runs-on: ubuntu-latest + env: + # Required by platform_auth.validate_workspace_id() (PR #29 / issue #14). + # Valid format: lowercase alphanumeric + hyphens (matches UUIDs and org IDs). + WORKSPACE_ID: ci-test-workspace steps: - uses: actions/checkout@v4