Skip to content

Commit 693dd9b

Browse files
authored
Remove daemon pre-start probing steps
Removed pre-start probing steps for the daemon.
1 parent d905616 commit 693dd9b

1 file changed

Lines changed: 0 additions & 63 deletions

File tree

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

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -57,69 +57,6 @@ jobs:
5757
@{ interactive = $false; auto_confirm = $true } | ConvertTo-Json | Out-File -FilePath "$configDir\config.json" -Encoding utf8
5858
Write-Host "✅ Omnipkg configured"
5959
60-
- name: Pre-start and deeply probe the Daemon
61-
shell: pwsh
62-
run: |
63-
Write-Host "=================================================="
64-
Write-Host "1. Spawning daemon with FULL OUTPUT CAPTURE..."
65-
Write-Host "=================================================="
66-
67-
# Create the directory first to ensure redirection doesn't fail
68-
$tempDir = "$env:TEMP\omnipkg"
69-
if (!(Test-Path $tempDir)) { New-Item -ItemType Directory -Path $tempDir -Force }
70-
71-
# We use 'cmd /c' to launch and redirect stdout/stderr to a file.
72-
# This captures the CRASH if 8pkg fails to even start.
73-
Write-Host "Launching: cmd /c 'set OMNIPKG_DEBUG=1 && 8pkg daemon start > $tempDir\daemon_launcher_stdout.log 2>&1'"
74-
Start-Process cmd -ArgumentList "/c set OMNIPKG_DEBUG=1 && 8pkg daemon start > $tempDir\daemon_launcher_stdout.log 2>&1" -WindowStyle Hidden
75-
76-
Write-Host "Waiting 15 seconds for daemon to initialize..."
77-
Start-Sleep -Seconds 15
78-
79-
Write-Host "`n=================================================="
80-
Write-Host "2. Checking if Launcher crashed (stdout/stderr)..."
81-
Write-Host "=================================================="
82-
$launcherLog = "$tempDir\daemon_launcher_stdout.log"
83-
if (Test-Path $launcherLog) {
84-
Write-Host "📄 Launcher Output Found:"
85-
Get-Content $launcherLog
86-
} else {
87-
Write-Host "❌ Launcher log NOT found. The process might have failed before it could even write to the file."
88-
}
89-
90-
Write-Host "`n=================================================="
91-
Write-Host "3. Checking Network / Socket bindings (TCP 5678)..."
92-
Write-Host "=================================================="
93-
netstat -ano | findstr ":5678"
94-
95-
Write-Host "`n=================================================="
96-
Write-Host "4. Testing Python Connection & Registry Discovery..."
97-
Write-Host "=================================================="
98-
python -c "
99-
import os, sys, json
100-
try:
101-
from omnipkg.isolation.worker_daemon import DaemonClient
102-
client = DaemonClient()
103-
status = client.status()
104-
print(f'✅ DAEMON RESPONDED: {json.dumps(status, indent=2)}')
105-
except Exception as e:
106-
print(f'❌ DAEMON CONNECTION FAILED: {e}')
107-
"
108-
109-
Write-Host "`n=================================================="
110-
Write-Host "5. Dumping ALL logs in TEMP (Recursive)..."
111-
Write-Host "=================================================="
112-
$logFiles = Get-ChildItem -Path "$env:TEMP\omnipkg" -Filter "omnipkg_daemon.log" -Recurse -ErrorAction SilentlyContinue
113-
if ($logFiles.Count -eq 0) {
114-
Write-Host "❌ No daemon logs found. Directory structure:"
115-
Get-ChildItem -Path "$env:TEMP\omnipkg" -Recurse | Select-Object FullName
116-
} else {
117-
foreach ($file in $logFiles) {
118-
Write-Host "`n--- LOG: $($file.FullName) ---"
119-
Get-Content $file.FullName
120-
}
121-
}
122-
12360
- name: Run Demo (Option 8 - Quantum Multiverse)
12461
shell: cmd
12562
run: omnipkg demo 8 --non-interactive

0 commit comments

Comments
 (0)