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
Fix Electron readiness probe teardown racing initial page-load completion #2186
Observed on the PR #2185 merged-ref macOS ARM64 validation: job 101827178872 fails Electron BrowserWindow lifecycle semantics with ERR_FAILED (-2) loading propr-readiness-fixture://app/renderer.html. Other desktop tests pass. Fixture apps/desktop/scripts/electron-frame-semantics-probe.cjs schedules window.destroy 50ms after ready IPC while the outer flow still awaits window.loadURL; that fixed delay is not proof navigation has settled. Under runner scheduling this can reject loadURL during teardown and turn otherwise valid readiness/getter evidence into app.exit(1).
Diagnose and make fixture sequencing deterministic: retain the ready-time frame/document observations, wait for initial navigation completion before deliberate destruction, and preserve the destroyed-window getter assertion and natural exit. Do not swallow genuine navigation failures, weaken assertions, widen deadlines, skip macOS, or alter production readiness/shutdown code. Add/run focused regression coverage and verify the actual Electron probe. This is a separate test-only correction to integrated #2176, parallel to #2185 pairing work.
Target 1950-epic-cross-platform-dsk only. Link PR with Closes this issue; Ultrafix and independent root validation before merge. No main merge, publication, deployment, or Windows work. Part of #1962 and #1950.
Please implement the narrow fixture sequencing correction on the labelled epic base. Keep it independent of #2185 production pairing changes, and do not use a larger sleep as the fix.
Root has a working local Electron44/DISPLAY environment and can run the actual fixture immediately after the PR opens. If this task container lacks Xvfb/native libraries, avoid spending substantial time reconstructing that environment: provide focused structural/regression evidence, disclose the runtime limitation, and hand off the narrow PR for root native validation plus macOS CI. Do not claim a skipped Electron probe passed.
Completed by PR #2187, merged into desktop epic branch 1950-epic-cross-platform-dsk at b9aabdd. Explicitly closing because the target is not the default branch. No merge to main.
Activity
propr-dev commentedon Sep 7, 2026
🤖 AI processing has started for this issue using codex agent with gpt-5.6-sol model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-5.6-sol2186/gpt-5.6-sol-fix-electron-readiness-pr-20260907-1751-5hx1950-epic-cross-platform-dskissue-2186-20260907-1751-gpt-5.6-sol-5hx🔍 Track Task Execution
integry commentedon Sep 7, 2026
Please implement the narrow fixture sequencing correction on the labelled epic base. Keep it independent of #2185 production pairing changes, and do not use a larger sleep as the fix.
integry commentedon Sep 7, 2026
Root has a working local Electron44/DISPLAY environment and can run the actual fixture immediately after the PR opens. If this task container lacks Xvfb/native libraries, avoid spending substantial time reconstructing that environment: provide focused structural/regression evidence, disclose the runtime limitation, and hand off the narrow PR for root native validation plus macOS CI. Do not claim a skipped Electron probe passed.
fix(ai): Resolve issue #2186 - Fix Electron readiness probe teardown …
integry commentedon Sep 7, 2026
Completed by PR #2187, merged into desktop epic branch 1950-epic-cross-platform-dsk at b9aabdd. Explicitly closing because the target is not the default branch. No merge to main.