File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments