Repository navigation
[1962 by GPT-5.6 Sol] Complete desktop end-to-end UX, visual polish, and smoke coverage - #2134
Conversation
… polish, and Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully.
|
/ultrafix Validate the focused implementation at e1c3c92, especially terminal child ownership/completion/cancellation and the strict secret-safe console-error classification. Check release-manifest and documentation claims against actual evidence. Do not score-chase or broaden into cosmetic polish. Real production local installation and cancellation/retry are explicitly still unverified because the implementation container lacked Docker/display/terminal; this PR must not be treated as proof that #1962 is fully complete. Preserve that limitation and identify concrete correctness blockers only. |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 10) First action:
|
|
/review Ultrafix activation did not leave a review worker queued. Review current head e1c3c92: focus on terminal authentication completion/cancellation ownership, strict secret-safe console classification, and claims versus actual acceptance evidence. Report concrete blockers; real packaged local installation remains explicitly unverified. |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
|
Please implement a focused correction pass for these demonstrated blockers at e1c3c92; preserve all strict acceptance gates and do not broaden into polish.
Root read the relevant implementation and CI log; independent review corroborated terminal flaws. Ultrafix review is also requested. Run focused regressions and strict packaged acceptance, then publish the correction for review. Real production setup installation is still an explicitly outstanding acceptance requirement. |
🔍 AI Code Review — codex:gpt-5.6-solOverall EvaluationThis PR aligns the acceptance manifest with the four-target release profile and improves secret-safe diagnostics, but the new authentication wrapper breaks interactive input and has multiple lifecycle ownership gaps. It needs significant rework before merge. The current canonical ✅ Secret-safe failure reporting — Unexpected renderer failures expose only bounded counts and categories, not raw messages, URLs, or stacks. ✅ Release-profile alignment — Acceptance evidence now covers exactly Linux/macOS x64/arm64 and excludes Windows consistently. ✅ Server-backed happy-path tracking — The handoff uses command-owned markers instead of treating a successful terminal-launcher exit as authentication completion. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F1: 🔴 Interactive input is disconnected
F2: 🔴 Interrupted wait can orphan authentication
F3: 🔴 Startup timeout abandons the terminal
F4: 🔴 Revoked-error exception is underconstrained
SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Perform real packaged setup validationAfter correcting the blockers, exercise a packaged Linux build with Docker, a graphical terminal, D-Bus/keyring storage, cancellation, retry, and rollback. The supplied tests use controlled fixtures and do not establish real production installation behavior; this remains a follow-up because no additional concrete defect can be inferred solely from the missing environment. ScoreThe PR contains useful release-manifest and diagnostic improvements, but its core interactive authentication path is currently unusable and lifecycle ownership remains unsafe, with a canonical current-head package check also failing. Score: 4/10 🤖 Review Details
🤖 Review by ProPR |
|
✅ Applied the requested follow-up changes in commit ea33c05 Summary of ChangesImplemented the focused correction pass in four files.
Verification:
Strict packaged UI acceptance was attempted but Electron exited before CDP startup because this container lacks an X server/Xvfb; the CI keyring runtime is also unavailable. No gate was bypassed or allowlisted. Real production setup installation and its cancellation/retry journey remain explicitly unverified. The correction is non-visual, so no preview files were created. No commit was made, per instructions. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
/fix F4 After the current correction pass finishes, address remaining review F4 from comment5561107779: correlate the expected revoked-session401 with the exact deliberate recorded request, including expected scope generation and occurrence count. Reject stale, duplicate, and unmatched events; add negative regressions. Current worker output explicitly says the classifier is unchanged, so this is a distinct remaining review finding, not a request to repeat its terminal/API fixture fixes. Keep zero unexpected renderer errors and secret-safe diagnostics. Preserve the ongoing corrections and avoid unrelated polish. |
Implemented the focused correction pass in four files. - [authentication-handoff.ts](/tmp/git-processor/worktrees/integry/propr/pr-2134-followup-2026-09-06T18-03-10/apps/desktop/src/authentication-handoff.ts:28) - Preserves interactive terminal stdin through `/dev/tty`. - Checks `.result` before accepting cancellation. - Removes external signaling based on `.started` PIDs. - Validates child ownership using parent identity and process start time. - Drains/reaps children after TERM/HUP, escalating TERM-resistant children before publishing results or deleting state. - [authentication-handoff.test.ts](/tmp/git-processor/worktrees/integry/propr/pr-2134-followup-2026-09-06T18-03-10/apps/desktop/src/authentication-handoff.test.ts:48) - Adds real PTY TTY/input coverage. - Adds completion/cancellation race coverage. - Covers cancellation and terminal HUP with TERM-resistant children. - [run-packaged-acceptance.mjs](/tmp/git-processor/worktrees/integry/propr/pr-2134-followup-2026-09-06T18-03-10/apps/desktop/scripts/run-packaged-acceptance.mjs:514) - Fixes the hosted `apiLoad` error by returning the paginated drafts shape required by `dashboard-profile-manager`. - The strict zero-unexpected-error classifier remains unchanged. - Added a fixture/consumer regression in [packaged-acceptance-stats.test.mjs](/tmp/git-processor/worktrees/integry/propr/pr-2134-followup-2026-09-06T18-03-10/apps/desktop/scripts/packaged-acceptance-stats.test.mjs:39). Verification: - Desktop typecheck passed. - Full desktop suite passed: 624 tests, 598 passed, 26 platform skips. - Focused correction suite passed: 15/15. - Linux x64 package rebuilt successfully. - Packaged executable/fuse inspection passed. - `git diff --check` passed. Strict packaged UI acceptance was attempted but Electron exited before CDP startup because this container lacks an X server/Xvfb; the CI keyring runtime is also unavailable. No gate was bypassed or allowlisted. Real production setup installation and its cancellation/retry journey remain explicitly unverified. The correction is non-visual, so no preview files were created. No commit was made, per instructions. PR: #2134 Comment by: @integry (ID: 5561083163) Model: gpt-5.6-sol
|
✅ Applied the requested follow-up changes in commit 9242785
Summary of ChangesImplemented F4 only.
Verification:
No preview was created because the change is non-visual. Changes were not committed, as requested. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
/fix F3 Root inspected published ea33c05. Review F3 remains unchanged: the START_TIMEOUT_MS branch returns without terminating the admitted terminal, and finally cleans it up only when signal.aborted. Implement bounded termination AND awaited closure for every owned terminal admission failure/timeout before deleting state, with the requested never-starts-wrapper regression. Preserve the current terminal input/child ownership corrections and ongoing F4 classifier work. This is the remaining numbered finding from review5561107779, not a new broad review cycle. |
|
/fix F1 Complete the remaining controlling-terminal part of review F1 alongside the already pending F3 terminal correction. Independent audit of ea33c05 confirms stdin is now a TTY and plain read works, but setsid detaches the controlling terminal without reacquiring it: a harmless PTY diagnostic shows opening /dev/tty fails in the auth child. The new test checks only test -t/read. Preserve a usable controlling terminal for interactive CLI prompts and add a PTY regression that opens/reads /dev/tty as well as stdin. Preserve parent/start-time ownership checks and TERM/HUP drain/reap behavior. Do not repeat the already fixed API fixture work or broaden into polish. Actual GitHub/agent authentication remains unverified until real-session acceptance. |
Implemented F4 only. - Correlates the revoked-session 401 with exactly one deliberate renderer request, matching journey, scope generation, request occurrence, authorization custody, status, and classification. - Duplicate, stale-generation, wrong-occurrence, and unmatched events remain unexpected renderer errors. - Preserved bounded, secret-safe count-only diagnostics and the zero-unexpected-error gate. - Added focused positive and negative regressions in [packaged-acceptance-current-user.test.mjs](/tmp/git-processor/worktrees/integry/propr/pr-2134-followup-2026-09-06T18-20-18/apps/desktop/scripts/packaged-acceptance-current-user.test.mjs). Verification: - Desktop suite: 628 tests, 602 passed, 26 skipped, 0 failed. - Focused authorization tests: 6 passed. - `git diff --check`: passed. No preview was created because the change is non-visual. Changes were not committed, as requested. PR: #2134 Comment by: @integry (ID: 5561179067) Model: gpt-5.6-sol
|
✅ Applied the requested follow-up changes in commit a683e0a Processed 2 comments:
Summary of ChangesImplemented focused F1 correction only.
Verification:
No visual preview was needed. Real GitHub/agent authentication remains unverified pending real-session acceptance. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
/fix F3 The current batch acknowledges comments5561218762 and5561223036, but its worker explicitly says it will fix only F1 and leave F3 untouched. Therefore run F3 after the current pass: terminate and await closure of the admitted terminal on startup timeout/admission failure before removing runtime state; add the never-starts-wrapper regression. Do not redo the current F1 controlling-terminal fix or completed F4 classifier work. Keep this narrowly scoped to the unresolved original review F3. |
Implemented focused F1 correction only. - Interactive authentication remains in the terminal’s existing session, preserving stdin and a usable `/dev/tty`. - Non-TTY launches retain `setsid` process-group handling. - Added PTY coverage reading separate responses from `/dev/tty` and stdin. - Preserved PID parent/start-time ownership checks and TERM/HUP drain/reap behavior. Verification: - Authentication handoff: 5/5 passed. - Desktop suite: 602 passed, 26 skipped, 0 failed. - Desktop typecheck and `git diff --check` passed. No visual preview was needed. Real GitHub/agent authentication remains unverified pending real-session acceptance. PR: #2134 Comment by: @integry (ID: 5561218762) Comment by: @integry (ID: 5561223036) Model: gpt-5.6-sol
|
✅ Applied the requested follow-up changes in commit 915d32b
Summary of ChangesImplemented the narrowly scoped F3 correction.
Verification:
🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Implemented the narrowly scoped F3 correction. - Startup timeout/admission failure now sends TERM to the detached terminal group, escalates to KILL after a bounded grace period, and awaits closure before deleting runtime state in [authentication-handoff.ts](/tmp/git-processor/worktrees/integry/propr/pr-2134-followup-2026-09-06T18-32-27/apps/desktop/src/authentication-handoff.ts:155). - Added the never-starts-wrapper regression in [authentication-handoff.test.ts](/tmp/git-processor/worktrees/integry/propr/pr-2134-followup-2026-09-06T18-32-27/apps/desktop/src/authentication-handoff.test.ts:87). - Left F1 and F4 unchanged. Verification: - Desktop typecheck passed. - Desktop suite: 629 tests, 603 passed, 26 skipped, 0 failed. - `git diff --check` passed. - No visual preview generated because this lifecycle-only change is not visually perceptible. PR: #2134 Comment by: @integry (ID: 5561255504) Model: gpt-5.6-sol
|
Please fix the concrete macOS ARM CI failure in the authentication completion/cancellation regression. Failed job: https://github.com/integry/propr/actions/runs/34052038227/job/101537435141 (a683e0a), test "lets a published completion win a concurrent cancellation request", AbortError at tryTerminal. Current 915d32b still uses a fixed 150 ms JS busy wait after touching the finish trigger, without proving the wrapper published its result. Replace that timing assumption with deterministic synchronization proving completion is published before cancellation while preserving the intended race assertion. Inspect whether production behavior also needs a correction; do not weaken the assertion, skip the test, or merely lengthen the delay. Preserve F1-F4 fixes and strict console-error acceptance. Run focused handoff tests and desktop suite/typecheck. Keep this correction narrowly scoped. |
|
✅ Applied the requested follow-up changes in commit 0fdce3a Summary of ChangesImplemented the macOS ARM CI regression fix in authentication-handoff.test.ts.
Verification:
🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
One narrowly scoped F3 follow-up from independent inspection of 915d32b, to process AFTER the active macOS test correction (do not restart it): relinquishTerminal currently calls stopProcessGroup(child, SIGTERM) before checking isClosed(), deliberately signaling the stored PID/process-group identifier after the launcher has been reaped. At that point the numeric identifier alone no longer establishes ownership, and the immediate return also does not establish descendant cleanup. Avoid signaling a reaped launcher based only on its stale PID; keep signaling/awaiting of a still-owned live terminal, and preserve F1/F2 wrapper ownership safeguards. Add a focused regression for an already-closed pre-start launcher showing no stale process/group signal. Do not broaden into unrelated cleanup or revise completed console acceptance work. |
…ion-handoff.test.ts](/home/node/workspace/apps/desktop/src/authentication-handoff.test.ts:48).
Implemented the macOS ARM CI regression fix in [authentication-handoff.test.ts](/home/node/workspace/apps/desktop/src/authentication-handoff.test.ts:48).
- Replaced the fixed 150 ms delay with synchronous polling for the wrapper’s exact published `0\n` result.
- Cancellation is requested only after publication, while the handoff’s async poll remains paused.
- Preserved the strict `{ status: 0 }` race assertion.
- Production already checks `.result` before cancellation at each poll, so no production change was needed.
- F1–F4 and console-error classification remain untouched.
Verification:
- Focused handoff suite: 6 passed.
- Desktop suite: 629 tests, 603 passed, 26 skipped.
- Desktop/UI typecheck: passed.
- `git diff --check`: passed.
- No preview generated; this is not visually perceptible.
PR: #2134
Comment by: @integry (ID: 5561328904)
Model: gpt-5.6-sol
|
✅ Applied the requested follow-up changes in commit 0933ea2 Summary of ChangesImplemented the narrowly scoped F3 follow-up.
Files: authentication-handoff.ts, authentication-handoff.test.ts Verification:
No visual preview was created because the change is not user-visible. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Implemented the narrowly scoped F3 follow-up. - `relinquishTerminal` now returns before signaling when the launcher is already closed/reaped, avoiding stale PID/process-group use. - Live owned terminals retain TERM, bounded wait, KILL escalation, and awaited closure. - Added an already-closed pre-start launcher regression proving no stale signal attempt. - Preserved wrapper ownership safeguards and macOS race synchronization. Files: [authentication-handoff.ts](/tmp/git-processor/worktrees/integry/propr/pr-2134-followup-2026-09-06T18-48-08/apps/desktop/src/authentication-handoff.ts:165), [authentication-handoff.test.ts](/tmp/git-processor/worktrees/integry/propr/pr-2134-followup-2026-09-06T18-48-08/apps/desktop/src/authentication-handoff.test.ts:140) Verification: - Focused handoff tests: 7 passed - Desktop suite: 604 passed, 26 skipped, 0 failed - Desktop typecheck: passed - `git diff --check`: passed No visual preview was created because the change is not user-visible. PR: #2134 Comment by: @integry (ID: 5561337575) Model: gpt-5.6-sol
|
/review Final validation of head 0933ea2 under the existing Ultrafix workflow. Verify the original F1-F4 corrections and the focused follow-up changes; report concrete merge-blocking correctness defects only, not optional polish or score-driven refactoring. Independent inspection has covered each correction. Linux packaged visual acceptance on 915d32b produced 12 journeys/60 screenshots, zero unexpected console errors, exactly one correlated expected revoked-401, and no accessibility findings; final-head CI is still required. Real fresh local installation and actual-account authentication remain explicitly unverified, pending isolated test-account approval; do not describe fixture setup journeys as real installation proof. Preserve the epic target, do not merge main, and do not start unrelated implementation. |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — codex:gpt-5.6-solOverall EvaluationThe focused corrections resolve the previously reported terminal ownership, cancellation, startup-timeout, completion-race, and revoked-401 classification defects. No merge-blocking code defect is evident in the supplied final diff. The PR is ready to merge within scope once required final-head CI completes successfully. ✅ Interactive terminal preserved — ✅ Lifecycle races corrected — The wrapper validates child ownership, drains TERM-resistant children, publishes completion only after reaping, and avoids signaling an already-closed launcher. Tests deterministically synchronize completion-before-cancellation and cover startup timeout, cancellation, and HUP. ✅ Strict console acceptance — The expected revoked 401 is correlated to one scoped renderer request with matching generation and occurrence, while every unmatched, duplicate, stale, page, or other console error remains unexpected and fails acceptance. The reported 12-journey/60-screenshot fixture run is useful packaged acceptance evidence, but it is not proof of a fresh real installation or actual-account authentication; those remain explicitly unverified. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to No suggestions. ScoreThe implementation is strong and the previously identified blockers are corrected with focused regression coverage. There are no known current-head failures, but 17 checks remain pending, so merge readiness is conditional on final-head CI completing successfully. Score: 8/10 🤖 Review Details
🤖 Review by ProPR |
AI Implementation Summary
Closes #1962
Branch:
1962/gpt-5.6-sol-complete-desktop-end-to-e-20260906-1620-oy4Commits: ✅ Changes committed (e1c3c92)
AI Processing Completed
Execution Details:
Summary:
Implemented the focused integration fixes for #1962:
Verification passed:
npm run desktop:test— 620 tests, 594 passed, 26 skipped.npm --workspace propr-ui test -- src/desktop— 113 passed.npm run desktop:packageandnpm run desktop:smoke:inspectpassed for Linux x64.npm run desktop:audit— zero runtime or packaging vulnerabilities.git diff --checkpassed.Native limitations are reported rather than replaced with fixture evidence:
npm run desktop:smokecannot launch because this environment has no X display or Xvfb. Docker and a graphical terminal are also unavailable, so the real packaged local-stack installation, cancellation/retry journey, keyring persistence, and production UI screenshots could not be exercised here. macOS launch, signing, and notarization also require native infrastructure and protected credentials. No personal credentials or existing user stack were modified.Detailed Logs:
nullLog files stored at:
/tmp/claude-logs/issue-1962-2026-09-06T16-44-00-679Z-conversation.json/tmp/claude-logs/issue-1962-2026-09-06T16-44-00-679Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #1962.
💡 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!
Visual preview
Desktop application guide
The new supported-platform, first-launch, guided setup, security, troubleshooting, and release documentation.