Skip to content

Commit 0c07ba1

Browse files
authored
Set fixed Omnipkg Environment ID for CI
Replaced the step to discover Omnipkg ENV_ID with a fixed ID for CI runs.
1 parent 0779936 commit 0c07ba1

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/windows-concurrency-test.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,15 @@ jobs:
4444
pip install -e .
4545
4646
# --- CRITICAL: Discover the Env ID so we can track logs/pids accurately ---
47-
- name: Discover Omnipkg ENV_ID
47+
# --- REPLACE THE DISCOVERY STEP WITH THIS ---
48+
- name: Set Omnipkg Environment ID
4849
shell: pwsh
4950
run: |
50-
# Import from omnipkg.core since ConfigManager is defined there
51-
$envId = python -c "from omnipkg.core import ConfigManager; cm = ConfigManager(suppress_init_messages=True); print(cm.env_id)"
52-
echo "OMNIPKG_ENV_ID=$envId" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
53-
Write-Host "✅ Discovered Omnipkg ENV_ID: $envId"
51+
# We set a fixed ID for this CI run.
52+
# This ensures logs, sockets, and config all use the same folder.
53+
echo "OMNIPKG_ENV_ID_OVERRIDE=ci-test" >> $env:GITHUB_ENV
54+
echo "OMNIPKG_ENV_ID=ci-test" >> $env:GITHUB_ENV
55+
Write-Host "✅ Omnipkg environment locked to: ci-test"
5456
5557
- name: Configure omnipkg for non-interactive use
5658
shell: pwsh

0 commit comments

Comments
 (0)