Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Restart app-server per workspace without full app restart (for account switching)

Open
#602 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
tauri, typescript
Domain
ai, desktop

Research direction

Trace how each workspace starts and owns its persistent codex app-server process, then inspect the workspace sidebar actions for an appropriate entry point. The implementation should provide a per-workspace reconnect or restart action that uses the current ~/.codex account without restarting the whole app; verify that subsequent requests use the refreshed process.

Written by the indexing model from the issue text.

Description

Problem

When using multiple Codex accounts via a tool like Codex Switcher, switching accounts updates ~/.codex but does not affect already-running workspace sessions in CodexMonitor. Each workspace has a persistent codex app-server process started at launch with the original account. After switching accounts externally, all requests continue to use the old session and fail with usageLimitExceeded.

The only workaround currently is a full app restart (Cmd+Q and reopen).

Expected Behavior

A way to restart the app-server for a specific workspace from within CodexMonitor — either via:

  • A right-click context menu on the workspace
  • A button in workspace settings
  • Automatic detection of account changes in ~/.codex

Debug Log Evidence

Both workspaces return the same rate limit error after account switch:

"codexErrorInfo": "usageLimitExceeded"
"willRetry": false

Even after switching accounts externally, new turn/start requests go to the same exhausted session.

Suggested Fix

Add a Reconnect or Restart app-server option per workspace in the sidebar context menu. This would kill the current app-server process and spawn a fresh one, picking up whatever account is active in ~/.codex at that moment.

Dominant language
TypeScript
Stars
4.3k
Forks
416
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Dimillian/CodexMonitor

All issues in Dimillian/CodexMonitor

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.