Repository navigation
[2328 by GPT-6 Astra] Desktop: fix warm-open renderer delivery failure after tunnel acknowledgement - #2329
Conversation
…ry failure a Implemented by ProPR AI using gpt-6-astra model. Implementation completed successfully.
Checks FailedValidation failed during setup, tests, CLI packaging, linting, or build checks. View Logs |
|
✅ Applied the requested follow-up changes in commit 2db0e8f Summary of ChangesFixed both CI-blocking lint warnings and updated the discovery test harness for the startup readiness handshake. Validation passed: UI lint with zero warnings, desktop/UI typechecks, UI build, and all 116 desktop experience tests. Changes remain uncommitted. No visual previews were needed because appearance is unchanged. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…ery test harness for the startup readiness handshake. Fixed both CI-blocking lint warnings and updated the discovery test harness for the startup readiness handshake. Validation passed: UI lint with zero warnings, desktop/UI typechecks, UI build, and all 116 desktop experience tests. Changes remain uncommitted. No visual previews were needed because appearance is unchanged. PR: #2329 Comment by: @github-actions[bot] (ID: 5628249707) Model: gpt-6-astra
|
Verified follow-up head 2db0e8f locally: both browser tests still fail. Please correct these through ProPR before merge. Repro: node --test apps/desktop/scripts/desktop-native-menu.test.mjs apps/desktop/scripts/macos-window-chrome.test.mjs (Node 22, Chromium installed). Both throw TypeError: Cannot read properties of undefined (reading hasStartupConnectIntent) in createElectronDesktopAdapters, then timeout waiting for Choose an instance. Both renderer fixtures call createElectronDesktopAdapters({ discovery: { supported: false } } as never) solely for platform detection; this incomplete bridge now lacks app. Also inspect desktop-native-menu fixture: it uses real bridge.app, but fake invoke never returns the new deepLinkConsumerReady reply, and must register the actual deep-link consumer so startup readiness resolves. Keep production handshake semantics and existing browser assertions; fix fixture setup faithfully, run both browser tests with Chromium (not skipped), plus existing startup regression tests. The lint/discovery follow-up did not touch these fixtures. CI evidence: previous Linux package job 103117700452; root reproduced same two failures on latest head. |
|
✅ Applied the requested follow-up changes in commit e8c3980 Summary of ChangesFixed both fixtures using complete preload bridges, valid readiness replies, and real deep-link inbox consumers. Production handshake semantics and browser assertions remain unchanged.
Changes remain uncommitted. No visual previews needed for test-only changes. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…eadiness replies, and real deep-link inbox consumers. Production handshake semantics and browser assertions remain unchanged. Fixed both fixtures using complete preload bridges, valid readiness replies, and real deep-link inbox consumers. Production handshake semantics and browser assertions remain unchanged. - Both browser tests passed with Chromium on Node 22.23.1. - All 112 targeted regression tests passed. - Native macOS capture skipped on Linux. - Diff check passed; ESLint excludes the TSX fixtures. Changes remain uncommitted. No visual previews needed for test-only changes. PR: #2329 Comment by: @integry (ID: 5628295126) Model: gpt-6-astra
|
Independent root verification of e8c3980: reviewed the three fixture-only file changes; complete bridges, readiness reply and inbox subscription preserve production handshake semantics. Re-ran node --test apps/desktop/scripts/desktop-native-menu.test.mjs apps/desktop/scripts/macos-window-chrome.test.mjs on Node 22 with real Chromium: both browser tests PASS, 0 failures; native macOS composed capture explicitly skipped on Linux. Earlier focused startup/accounts/discovery/prefill run passed all 37 tests on parent 2db0e8f. Awaiting latest Linux/macOS package/lifecycle and full validation before merging into the epic; epic remains unmerged to main. |
|
ℹ️ Analyzed the follow-up request by @integry Analysis SummaryReviewed head Working tree remains unchanged; no commits, merges, or previews created. Linux/macOS package/lifecycle checks and full validation remain pending per the supplied comment. No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
Full Test Suite ResultsValidation failed during: Full test suite.
View Test Output |
|
✅ Applied the requested follow-up changes in commit f39b63d Summary of ChangesFixed the incomplete bridge fixture in Validation: all 965 UI tests pass, plus Docker-context checks, UI typecheck, and focused lint. The repository-wide suite was not rerun. Changes remain uncommitted. No visual changes. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
Full suite 34553268636 finished: 963 UI tests pass, only 2 failures in propr-ui/src/desktop/electronAdapters.localSetup.test.ts (lines 32 and 40), both TypeError reading hasStartupConnectIntent in electronAdapters.ts:104 because the test bridge lacks app. Please fix this remaining incomplete fixture and audit all createElectronDesktopAdapters call sites in tests/fixtures for the same stub problem, preserving the production handshake. Run the entire propr-ui Vitest suite, not only DesktopExperience tests, to avoid another partial-fixture round. Mac ARM64 and Intel complete native package/lifecycle jobs now PASS on e8c3980 (103120656478, 103120656446), Linux ARM64 PASS, so retain that production correction unchanged unless evidence requires otherwise. Root also independently verified 60 latest packaged Linux screenshots/accessibility/OCR. Keep scope to the remaining fixture correction. |
…calSetup.test.ts` using the production preload bridge and proper type checking. Fixed the incomplete bridge fixture in `electronAdapters.localSetup.test.ts` using the production preload bridge and proper type checking. Validation: all 965 UI tests pass, plus Docker-context checks, UI typecheck, and focused lint. The repository-wide suite was not rerun. Changes remain uncommitted. No visual changes. PR: #2329 Comment by: @github-actions[bot] (ID: 5628485708) Model: gpt-6-astra
|
ℹ️ Analyzed the follow-up request by @integry Analysis SummaryThe fixture correction is already present in Validation passed:
Production handshake remains unchanged. No additional edits, commits, or visual previews were needed. No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
AI Implementation Summary
Closes #2328
Branch:
2328/gpt-6-astra-desktop-fix-warm-open-ren-20260911-0142-txiCommits: ✅ Changes committed (7ff7a83)
AI Processing Completed
Execution Details:
Summary:
Implemented the startup race fix: pending Connect intent now prevents automatic reconnect from clearing the account needed by warm-open delivery.
Regression coverage reproduces the failure without the fix and passes with it. Targeted tests and both typechecks pass; dispatch, acknowledgement, and account-isolation safeguards remain intact.
Packaged Intel Mac validation remains outstanding. The shared Mac was untouched.
Closes #2328. References #2323.
Detailed Logs:
01a08e21-c99f-7f53-be33-ed3e63fa71b2Log files stored at:
/tmp/claude-logs/issue-2328-2026-09-11T01-50-38-557Z-conversation.json/tmp/claude-logs/issue-2328-2026-09-11T01-50-38-557Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #2328.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!