From 5ce7af2d2cbf1161212ff6da82f136dfe3efebf5 Mon Sep 17 00:00:00 2001 From: rabbitblood Date: Sun, 26 Apr 2026 01:59:56 -0700 Subject: [PATCH] fix(ci): set WORKSPACE_ID for the runtime-pin smoke import MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit platform_auth.py validates WORKSPACE_ID at module load — EC2 user-data sets it from cloud-init, but the CI smoke-test was missing it and failed with 'WORKSPACE_ID is empty'. Set a placeholder UUID so the import gate exercises only the dep-resolution path. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/runtime-pin-compat.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/runtime-pin-compat.yml b/.github/workflows/runtime-pin-compat.yml index a1aeb7cd..976c3194 100644 --- a/.github/workflows/runtime-pin-compat.yml +++ b/.github/workflows/runtime-pin-compat.yml @@ -68,5 +68,10 @@ jobs: /tmp/venv/bin/pip show molecule-ai-workspace-runtime a2a-sdk \ | grep -E '^(Name|Version):' - name: Smoke import — fail if metadata declares deps that don't satisfy real imports + # WORKSPACE_ID is validated at import time by platform_auth.py — EC2 + # user-data sets it from the cloud-init template; set a placeholder + # here so the import smoke doesn't trip on the env-var guard. + env: + WORKSPACE_ID: 00000000-0000-0000-0000-000000000001 run: | /tmp/venv/bin/python -c "from molecule_runtime.main import main_sync; print('runtime imports OK')"