You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: Windows packaged startup probes the owned window only once before shutdown #1412
Release run39113292145 at fc4ccf6 passed every build, Rust/C compatibility suite, AppImage runtime test and macOS/Windows ARM64 packaged startup. Windows x64 packaged startup job117636755657 failed during the migrate-default scenario, after fresh succeeded.
The package passed PE dependency/version checks and started successfully. Both scenarios reached WebSocket readiness, capture/profile validation, GPU status and screenshot checks. test/packaged-startup.py:546 immediately enumerates visible windows exactly once, then raises cannot find the owned frontend window for clean shutdown. The harness does not wait for an owned visible HWND. Fixture cleanup subsequently reports WinError32 on the running app's log.
The runtime-DLL errors earlier in the log are an expected deliberate missing-runtime mutation, not an actual package dependency failure.
Proposed fix / failing-test sketch
Keep the owned PID, visible HWND, WM_CLOSE, zero exit and timeout requirements. Wait for the owned frontend window within a bounded deadline, failing on premature process exit or enumeration errors; log enumerated ownership/visibility if it never appears. Add a Win32 API fake that initially has no visible owned window and exposes it on the next enumeration; the old immediate probe fails. Also prove an unrelated PID or a permanently absent window cannot pass.
This is a potential startup observation race in the harness; packaged runtime validation must establish whether waiting resolves the actual release failure. Do not bypass or relax the real shutdown gate.
Claiming: packaged Windows window-detection wait. 1. Add RED Win32 fakes covering delayed visibility, wrong PID and permanent absence. 2. Add bounded owned-window discovery with useful timeout diagnostics, preserving WM_CLOSE and clean-exit requirements. 3. Run focused tests/lint/review, merge through queue, then validate actual Windows packages through the release pipeline. First PR shortly.
Merged #1413 as 065fa7d after green PR CI39114641778 and merge queue39114854028. The Windows probe now waits for the owned PID’s visible HWND, with a 30-second limit, early-process-exit/API errors fatal, and owned-window visibility diagnostics on timeout. WM_CLOSE and zero exit remain mandatory. All32 focused checks, full lint and independent review passed. A fresh release run will confirm the actual package; this remains the integration confirmation rather than a claim that the original observation timing is proven.
Activity
zackees commentedon Oct 18, 2026
Claiming: packaged Windows window-detection wait. 1. Add RED Win32 fakes covering delayed visibility, wrong PID and permanent absence. 2. Add bounded owned-window discovery with useful timeout diagnostics, preserving WM_CLOSE and clean-exit requirements. 3. Run focused tests/lint/review, merge through queue, then validate actual Windows packages through the release pipeline. First PR shortly.
zackees commentedon Oct 18, 2026
Merged #1413 as 065fa7d after green PR CI39114641778 and merge queue39114854028. The Windows probe now waits for the owned PID’s visible HWND, with a 30-second limit, early-process-exit/API errors fatal, and owned-window visibility diagnostics on timeout. WM_CLOSE and zero exit remain mandatory. All32 focused checks, full lint and independent review passed. A fresh release run will confirm the actual package; this remains the integration confirmation rather than a claim that the original observation timing is proven.
test: wait for the owned Windows frontend window before shutdown (obs…
zackees commentedon Oct 18, 2026
Packaged integration confirmation is now green: release run 39115087613 passed Windows x64 and ARM64 startup across fresh, migrate-default, migrate-custom and existing configurations, including saved capture profiles, screenshots, clean shutdown, and negative missing-runtime/camera checks. Both macOS DMG checks and all other release gates passed too. Published release: https://github.com/obs-rust/obs-studio/releases/tag/obs-studio-rust-v0.1.0-beta.20261018 at 065fa7d. No remaining work for this harness fix.