Repository navigation
[2269 by GPT-6 Astra] Desktop and web: multiple saved GitHub accounts with isolated account switching - #2271
Conversation
…ession and r Implemented by ProPR AI using gpt-6-astra model. Implementation completed successfully.
… accounts wi 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 a1b7ad3 Summary of ChangesFixed the validation failure and a subsequent lint blocker:
Verified: Docker-context checks, 160 targeted UI tests, desktop/UI typechecks, strict UI lint, and UI build. Changes are uncommitted. No visual changes. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Fixed the validation failure and a subsequent lint blocker: - Made account imports explicitly type-only. - Moved an existing handler to keep `DesktopExperience.tsx` within the lint limit. Verified: Docker-context checks, 160 targeted UI tests, desktop/UI typechecks, strict UI lint, and UI build. Changes are uncommitted. No visual changes. PR: #2271 Comment by: @github-actions[bot] (ID: 5625040119) Model: gpt-6-astra
…est files: corrected response fixtures, stale-response cancellation expectations, Docker assertions, and temporary-directory setup. Fixed all reported failures with changes limited to three test files: corrected response fixtures, stale-response cancellation expectations, Docker assertions, and temporary-directory setup. Validated: 868 UI tests, 26 Node tests, and UI TypeScript checks passed. The full 449-run suite wasn’t rerun because Redis is unavailable locally. Changes remain uncommitted. PR: #2270 Comment by: @github-actions[bot] (ID: 5625064773) Model: gpt-6-astra
|
Implementation follow-up: user goal is make sure account switching actually works. Integrate scoped logout PR #2270 exact head 3d0dba0 into this account-switching branch (true merge with semantic conflict resolution; do not merge epic into main). Read both implementations first. Independent review found critical overlap in apiClient.ts: both PRs add AbortControllers and non-configurable Object.defineProperty wrappers for Response body methods. Consolidate into ONE controller/response guard; retaining both layers causes Cannot redefine property json. Preserve logout no-active-scope rejection/event semantics, switching setApiBaseUrl invalidation, stale-body rejection and cleanup. Preserve each saved account credential and identity; logout A must not revoke B. Add combined end-to-end regression for two users same endpoint: pair A/B, activate A, delayed REST/body/socket response, switch B, reject all late A results, logout B offline, reload stays signed out, A remains usable, reauthorize B with wrong GitHub identity rejected. Exercise actual renderer-to-main bridge and real HTTP/socket fixture rather than only separate mocks; run packaged synthetic two-account smoke if feasible. Preserve desktop frame and transparent wordmark. Document web and independent-window gaps honestly; do not claim those implemented. Keep fixes scoped, no remote deployment or user credential resets. Root is separately reviewing standalone logout PR before epic integration. Report actual test commands and remaining real-account smoke requirements. |
|
✅ Applied the requested follow-up changes in commit 4d5daa6 Summary of ChangesCode integration and tests are ready, but the true merge remains blocked: root-owned Git metadata prevented writing
Native regression command: Packaged runtime smoke failed on SUID sandbox configuration. Real GitHub/OS-keychain, notification, and frame smoke remain required. Web switching and independent windows remain deferred. Validation documentation and exact commands include the remaining merge and release requirements. Visual previewSigned out of the selected accountProduction DesktopExperience after the scoped logout event, using a synthetic Bob account. The connected account UI is replaced by explicit sign-in and account chooser actions. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Full Test Suite ResultsValidation failed during: Full test suite.
View Test Output |
|
Additional integration finding from root: logout PR #2270 Linux x64 package job 103040668539 failed before packaging because run-native-durability.mjs still expects 126 total tests while scoped logout adds 3: actual executed=129 passed=129 failed=0 cancelled=0 skipped=0, child code=0. Evidence: https://github.com/integry/propr/actions/runs/34527622187/job/103040668539 . During current integration, update the explicit native durability inventory/count for genuinely added tests, preserving strict missing/skipped-test enforcement (do not simply remove the count gate). Recalculate for final combined branch if additional tests land. This is Linux-relevant and not signing or a Windows blocker. Root independently passed 89 credential/pairing/lifecycle tests and 16 UI/account/pairing tests on a1b7ad3; these do not yet cover the uncommitted combined integration. Keep current implementation run intact; do not restart it. |
…remains blocked**: root-owned Git metadata prevented writing `ORIG_HEAD.lock`. No commits were created. Code integration and tests are ready, but the **true merge remains blocked**: root-owned Git metadata prevented writing `ORIG_HEAD.lock`. No commits were created. - Consolidated to one controller/response guard. - Made offline logout atomically retire the credential and clear active selection. - Verified the combined two-account flow through real Electron IPC and HTTP/Socket.IO. - Passed 60 UI tests, 152 desktop/storage tests, 26 imported Node tests, typechecks, lint, packaging, and artifact inspection. Native regression command: `DISPLAY=:93 node apps/desktop/scripts/smoke-two-accounts.mjs`. Packaged runtime smoke failed on SUID sandbox configuration. Real GitHub/OS-keychain, notification, and frame smoke remain required. Web switching and independent windows remain deferred. [Validation documentation and exact commands](/home/node/workspace/docs/docs/operations/desktop-application.md:54) include the remaining merge and release requirements. PR: #2271 Comment by: @integry (ID: 5625211804) Model: gpt-6-astra
|
✅ Applied the requested follow-up changes in commit 31a38ef Processed 2 comments:
Summary of ChangesUpdated Validation passed:
Full suite was not rerun. Changes remain uncommitted. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
Root completed the true merge locally and pushed merge commit a0c75f8. Its parents are 4d5daa6 and exact logout head 3d0dba0. Inspected the three conflicts and retained your semantic resolutions, including atomic signed-out selection and ONE response guard. The merge tree is byte-for-byte identical to 4d5daa6. Active follow-up worker: fetch/reconcile this commit before publishing; do not discard merge ancestry. Root is now running local combined tests and packaging. The Linux native durability inventory correction reported above still needs completion. Update docs to remove the now-resolved missing merge-parent blocker, but retain honest packaged/real-account smoke limitations until verified. |
…-service tests, totaling 129. Strict missing/skipped-test enforcement remains intact. Updated `run-native-durability.mjs` to expect 75 credential-service tests, totaling 129. Strict missing/skipped-test enforcement remains intact. Validation passed: - Native durability: 129/129, zero skips. - Previously failing CI files: 26/26; fixes already existed on this branch. - Nine incomplete/failure scenarios correctly rejected. Full suite was not rerun. Changes remain uncommitted. PR: #2271 Comment by: @github-actions[bot] (ID: 5625274174) Comment by: @integry (ID: 5625293899) Model: gpt-6-astra
|
✅ Applied the requested follow-up changes in commit 68dfb0b Summary of ChangesUpdated the docs to record the completed merge and remove the obsolete blocker. Packaged acceptance and real-account smoke limitations remain.
Changes remain uncommitted. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…he obsolete blocker. Packaged acceptance and real-account smoke limitations remain. Updated the docs to record the completed merge and remove the obsolete blocker. Packaged acceptance and real-account smoke limitations remain. - Merge ancestry verified; remote tip matches checkout. Fetch itself was permission-blocked. - Inventory correction already present: 129/129 durability tests passed, zero skips; strict gates preserved. - Docs typecheck and build passed. Changes remain uncommitted. PR: #2271 Comment by: @integry (ID: 5625477234) Model: gpt-6-astra

AI Implementation Summary
Closes #2269
Branch:
2269/gpt-6-astra-desktop-and-web-multiple--20260910-2009-dydCommits: ✅ Changes committed (c97762f)
AI Processing Completed
Execution Details:
Summary:
Implemented saved GitHub accounts with one active account per desktop window, same-instance support, native identity confirmation, and stale-response isolation.
Typechecks and targeted account, socket, IPC, tray, and notification tests pass. Preview captured.
Web switching and independent windows are documented follow-ups. Real GitHub/OS smoke testing and integration with the separate logout fix remain outstanding.
Detailed Logs:
01a08cf0-feb2-7353-a45f-90eb2728cd0dLog files stored at:
/tmp/claude-logs/issue-2269-2026-09-10T20-30-25-136Z-conversation.json/tmp/claude-logs/issue-2269-2026-09-10T20-30-25-136Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #2269.
💡 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
Saved GitHub accounts
Desktop chooser with two fictional GitHub accounts on the same instance and an Add account action.