Repository navigation
[Epic] Linux & Mac desktop app - #1970
Conversation
|
Backend-first main synchronization requirements before child composition: Merge the current |
|
/merge |
|
🔀 Resolved merge conflicts from Conflicting Files
Resolution SummaryResolved all merge-conflict markers in: Conflict resolutions:
Verification completed:
No commit was created. One infrastructure blocker remains: Git could not stage the resolved files because the linked worktree index is owned by Therefore, the files are resolved on disk, but Git still reports them as 🤖 Resolution Details
System-triggered merge conflict resolution |
Automatically resolved merge conflicts after merging target branch into PR branch. Resolved conflicts in: - package-lock.json - packages/cli/src/commands/taskInspectCommands.test.ts PR: #1970 Model: gpt-5.6-sol
|
Normal ProPR implementation follow-up; do not invoke the specialized Known textual conflicts are exactly Resolution invariants:
Run diff-check, clean lock/install validation, focused auth/route/server/setup/preview tests, API/core/shared/CLI/desktop typechecks, and full suite. Report direct merge parents, all conflict choices, and checks. |
|
ℹ️ Analyzed the follow-up request by @integry Analysis SummaryLock regeneration is slower than usual while npm resolves the expanded Electron/local-setup workspace graph, but it is still active and has not reported an error. The regenerated lock currently retains both mandated secure pins ( No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
Additional mandatory resolution detail for the current main backmerge: |
|
/merge |
|
🔀 Resolved merge conflicts from Conflicting Files
Resolution SummaryThe four direct overlaps are resolved: both API route exports and both server lifecycle variables are retained; authentication keeps the PR’s instance-token-aware signature while preserving 🤖 Resolution Details
System-triggered merge conflict resolution |
Automatically resolved merge conflicts after merging target branch into PR branch. Resolved conflicts in: - package-lock.json - packages/api/auth.ts - packages/api/routes/index.ts - packages/api/server.ts - packages/cli/src/commands/setup/engine.ts PR: #1970 Model: gpt-5.6-sol
|
Scoped correction on exact merged top head
Preserve the true merge ancestry, thin |
|
✅ Applied the requested follow-up changes in commit a2c7173 Summary of ChangesImplemented the two scoped fixes on head
Changed only: Verification passed:
No preview files were created because the changes are not visually perceptible. No commit was made. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Checks FailedValidation failed during setup, tests, CLI packaging, linting, or build checks. View Logs |
…fcc725607f5c48861a6c79f`: Implemented the two scoped fixes on head `4235b1465eeb9bf37fcc725607f5c48861a6c79f`: - Awaited only the async `createApiClient` branch so `client` is always `ApiClient`. - Replaced raw error interpolation with a fixed, non-secret message. - Added adversarial token/Bearer/URL-path/username sentinel coverage for both reporter channels, successful non-blocking health, and exact-once attempts. Changed only: - [engine.ts](/tmp/git-processor/worktrees/integry/propr/pr-1970-followup-2026-09-04T09-11-32/packages/cli/src/commands/setup/engine.ts) - [engine.test.ts](/tmp/git-processor/worktrees/integry/propr/pr-1970-followup-2026-09-04T09-11-32/packages/cli/src/commands/setup/engine.test.ts) Verification passed: - CLI typecheck - Setup engine: 57/57 - Sequential setup: 25/25 - Shared local-setup engine: 7/7 - `git diff --check` No preview files were created because the changes are not visually perceptible. No commit was made. PR: #1970 Comment by: @integry (ID: 5538269509) Model: gpt-5.6-sol
…ry failure a Implemented by ProPR AI using gpt-6-astra model. Implementation completed successfully.
…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
…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
…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
…rm-open-ren-20260911-0142-txi [2328 by GPT-6 Astra] Desktop: fix warm-open renderer delivery failure after tunnel acknowledgement
|
/merge |
|
🔀 Resolved merge conflicts from Conflicting Files
Resolution SummaryResolved all conflict blocks in the three specified files. The repository-wide scan found no remaining unresolved markers.
Validation passed: JSON parsing, TypeScript syntax/transpilation, a focused route-registration check, and Git limitation: Staging failed because creating the worktree’s 🤖 Resolution Details
System-triggered merge conflict resolution |
Automatically resolved merge conflicts after merging target branch into PR branch. Resolved conflicts in: - package.json - packages/api/routes/plannerActionHandlers.ts - packages/api/server.ts PR: #1970 Model: gpt-6-astra
Checks FailedValidation failed during setup, tests, CLI packaging, linting, or build checks. View Logs |
|
✅ Applied the requested follow-up changes in commit eec62b4 Summary of ChangesFixed the MCP workflow CI failure in mcpWorkflows.test.ts. The Redis fixture now accurately models atomic pending-comment claims instead of returning an invalid scalar. Validation passed:
No visual preview was generated because this is test-only behavior. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…(/tmp/git-processor/worktrees/integry/propr/pr-1970-followup-2026-09-11T09-36-09/packages/api/test/mcpWorkflows.test.ts:104). Fixed the MCP workflow CI failure in [mcpWorkflows.test.ts](/tmp/git-processor/worktrees/integry/propr/pr-1970-followup-2026-09-11T09-36-09/packages/api/test/mcpWorkflows.test.ts:104). The Redis fixture now accurately models atomic pending-comment claims instead of returning an invalid scalar. Validation passed: - Full MCP suite: 14/14 - API lint - API typecheck - `git diff --check` No visual preview was generated because this is test-only behavior. PR: #1970 Comment by: @github-actions[bot] (ID: 5632493262) Model: gpt-5.6-sol
|
propr-ui/src/config/runtimeMode.ts Show more details Suggested changeset 1 (1) Show more details Suggested changeset 1 (1) |
|
✅ Applied the requested follow-up changes in commit ef8c926 Summary of ChangesImplemented the CodeQL security fix in runtimeMode.ts.
Validation passed: ESLint, TypeScript typecheck, and all 965 UI tests. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…p/git-processor/worktrees/integry/propr/pr-1970-followup-2026-09-11T09-45-51/propr-ui/src/config/runtimeMode.ts). Implemented the CodeQL security fix in [runtimeMode.ts](/tmp/git-processor/worktrees/integry/propr/pr-1970-followup-2026-09-11T09-45-51/propr-ui/src/config/runtimeMode.ts). - Rejects external, protocol-relative, backslash, and control-character paths. - Requires exact same-origin HTTP(S) navigation. - Preserves valid desktop hash and hosted navigation behavior. - No visual preview needed. Validation passed: ESLint, TypeScript typecheck, and all 965 UI tests. PR: #1970 Comment by: @integry (ID: 5632608762) Model: gpt-5.6-sol
|
/merge |
|
🔀 Resolved merge conflicts from Conflicting Files
Resolution SummaryResolved all conflict blocks, changing only the three specified files:
Validation: TypeScript passed; all 31 tests across six relevant files passed. Repository-wide scanning found no unresolved conflict markers. No commit or PR was created. Staging failed because Git could not create 🤖 Resolution Details
System-triggered merge conflict resolution |
Automatically resolved merge conflicts after merging target branch into PR branch. Resolved conflicts in: - propr-ui/src/pages/AiAgentsPage.tsx - propr-ui/src/pages/SettingsPage/AgentsListSection.tsx - propr-ui/src/pages/SettingsPage/index.tsx PR: #1970 Model: gpt-6-astra
Checks FailedValidation failed during setup, tests, CLI packaging, linting, or build checks. View Logs |
|
✅ Applied the requested follow-up changes in commit 92245e1 Summary of ChangesFixed the failed CI browser gate in repositories-settings.pw.ts. The stubbed user now satisfies the complete Validation:
🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…pw.ts](/home/node/workspace/propr-ui/e2e/repositories-settings.pw.ts:1). Fixed the failed CI browser gate in [repositories-settings.pw.ts](/home/node/workspace/propr-ui/e2e/repositories-settings.pw.ts:1). The stubbed user now satisfies the complete `CurrentUser` authentication contract, restoring repository-management permissions. Validation: - Browser smoke: 36/36 passed - UI typecheck: passed - UI lint: passed with zero warnings - `git diff --check`: passed - No visual preview generated because this is test-only and not user-visible. PR: #1970 Comment by: @github-actions[bot] (ID: 5639880138) Model: gpt-5.6-sol
…sually perceptible — so no preview files are warranted. Summary Root cause: The nightly suite has failed since Sept 12 on two Electron probe tests (`electron-frame-semantics.test.mjs` and `electron-pairing-zstd.test.mjs`, added by the cross-platform desktop epic PR #1970 merged the night of Sept 11→12). On the self-hosted runner both fail with `Electron … fixture failed (127): ` — the runner has `xvfb-run` on PATH, so the existing environment guard in `prepareNativeElectronTest` decides Electron can run, but the downloaded Electron binary cannot actually start on that host (exit 127 is the dynamic-linker/launch failure, e.g. missing Chromium shared libraries), and the fixture error captured no stderr, hiding the cause. I confirmed the same signature in the Sept 12 and Sept 13 artifacts; Sept 10–11 failures were different, already-addressed tests. Fix (in `apps/desktop/scripts/electron-native-test-setup.mjs`): `prepareNativeElectronTest` now runs a launch probe — `electron --version` through the same wrapper the fixtures use (`xvfb-run` when a display wrapper is required, plus `--no-sandbox --disable-gpu` on Linux) — after resolving the binary. If the probe can't start Electron, the helper returns a skip reason that includes the exit code and the probe's stderr tail (e.g. `Electron cannot start on this worker (exit 127: error while loading shared libraries: …)`), so both tests skip cleanly on incapable workers and the nightly TAP output now shows *why*, instead of failing opaquely. Results are cached per command so multiple tests in a process pay for one probe. The probe is injectable (`probeLaunch` parameter) following the file's existing dependency-injection style. Tests (`electron-native-test-setup.test.mjs`): updated the existing setup tests to inject a passing probe stub, and added three new cases — the probe receives the resolved executable and `xvfb-run` wrapper, a failing probe skips the standard path, and a failing probe skips the headless session-only path. All 9 pass. Verification: setup unit tests 9/9 pass; the two probe tests behave correctly in this container (frame test skips for lack of display, zstd test genuinely runs and passes headless — so the probe causes no false skips where Electron works); simulating the runner's exact failure (a binary exiting 127 with a linker error) produces the diagnostic skip; the preflight script and ESLint both pass. One note for follow-up (outside this repo change): the runner itself is still missing whatever Electron needs to launch — the next nightly's skip reasons will state the exact missing dependency, and installing it on the runner would restore real Electron coverage there.
Active delivery checkpoint — 2026-09-11
This checkpoint supersedes historical completion statements below. Epic #1970 remains unmerged to main.
Current delivery checkpoint — 2026-09-09
This section supersedes pending-work statements in the historical checkpoints below.
Desktop release candidate epic
Aggregates desktop child PRs into
1950-epic-cross-platform-dsk. Keep this PR unmerged to main until final acceptance is complete.Closes #1950
Closes #1951
Closes #1962
Delivery scope
Linux and macOS first. Windows-only checks and targeted Windows followups are deferred and do not block Linux/macOS delivery.
Historical integration evidence (2026-09-07; exact commits below)
Combined full test suite passed on final epic commit 1d96a3d: https://github.com/integry/propr/actions/runs/34075469498. Final packaged Linux visual acceptance also passed (12 journeys, 60 captures, no unexpected console errors, zero serious/critical accessibility findings): https://github.com/integry/propr/actions/runs/34075406814/artifacts/10001979539. These are not substitutes for real setup/login acceptance.
Final Linux x64 ZIP was downloaded from run 34075406814, SHA-256 independently verified as b08b1b36ee59e63f4269b65be81270f3e033f9133dd8adb362778839aedf4dd3, and launched on the local Linux desktop with fresh XDG/user-data directories. Renderer/preload readiness and the visible first-run chooser were independently confirmed. No real setup transaction or authenticated pairing was performed.
Remaining gates
Deployment/acceptance boundary
A read-only unauthenticated check on 2026-09-07 found https://api.gitfix.dev/api/desktop/discovery returning HTTP 401 and /api/compatibility returning version 0.8.15 with API/UI compatibility 2026-06-27 but no desktop-authentication capabilities. The currently deployed endpoint is not yet verified for the new desktop pairing flow. No production deployment was performed.
Real local setup must use an approved isolated test environment; private desktop data directories alone do not isolate CLI home configuration or host Docker resources. No personal credentials or existing stack should be reused implicitly.
Do not merge this epic directly to main as part of child-PR integration.
Current acceptance corrections (2026-09-07, updated after integration)
Only the isolated propr-desktop-test stack is in scope for local acceptance deployment. Production endpoints and main remain unchanged. Windows follow-ups remain deferred.
Latest integrated state (2026-09-07, refreshed)
Sidebar integration checkpoint
Current remaining corrections
Latest integration checkpoint (2026-09-07, e8efebe)
All current corrective child PRs through #2211 are merged into this epic, not main. #2206 Claude applicability, #2208 host Codex mapping, and #2211 completion/cancellation race are integrated. Running isolated Linux app/backend a1cf599 verifies stale Claude inbox reconciliation, portable ~/.codex real execution, sidebar instance selector, manual API browser pairing, and saved profile switching. Exact e8efebe runtime/package validation is now underway; do not interpret prior-head evidence as final integrated acceptance. #1962 remains open for final tests and real remote/Connect, queued-task/tray/notification and setup interruption journeys. #2077 retains public release/signing authority work; Windows remains deferred.
Final integrated CI result — e8efebe
All four Linux/macOS native package validations, all four packaged Connect checks, Validate Changes, and full-suite dispatch34168344405 PASSED on e8efebe. Exact Linux app is running with persistent auth/profiles; DEB built and macOS DMG/ZIP checksums independently verified. This supersedes the earlier pending-CI checkpoint. #1962 remains open for unverified real task/tray/notification, remote/Connect and setup-interruption journeys; #2077 remains required for public signed distribution. Awaiting user-controlled test/release resources. Do not merge this epic to main automatically.