Skip to content

docs: parallel desktop development guide + configurable UI port#4367

Merged
KyleAMathews merged 3 commits into
mainfrom
kyle/parallel-desktop-dev
May 20, 2026
Merged

docs: parallel desktop development guide + configurable UI port#4367
KyleAMathews merged 3 commits into
mainfrom
kyle/parallel-desktop-dev

Conversation

@KyleAMathews
Copy link
Copy Markdown
Contributor

Summary

  • Adds docs/agents-development.md with complete instructions for running a second Electron desktop instance alongside an existing one — isolated Docker Compose project, separate ports, separate Electron user-data directory.
  • Makes the Vite dev server port for the desktop UI configurable via ELECTRIC_DESKTOP_UI_PORT env var (defaults to 5183) so two instances can run simultaneously without port conflicts.

Context

When testing a feature branch while keeping a main-branch desktop running, you need isolated Docker containers, distinct ports, and a separate Electron data directory. This documents the full workflow including the env vars, compose flags, and teardown steps.

Test plan

  • Verify pnpm dev still works with default port 5183 (no env var set)
  • Verify ELECTRIC_DESKTOP_UI_PORT=5184 pnpm dev starts the UI on port 5184
  • Follow the parallel instance guide in docs/agents-development.md end-to-end

🤖 Generated with Claude Code

Add docs/agents-development.md with instructions for running a second
Electron desktop instance alongside an existing one (isolated Docker
Compose project, separate ports, separate Electron user-data dir).

Make the Vite dev server port for the desktop UI configurable via
ELECTRIC_DESKTOP_UI_PORT env var (defaults to 5183) so two instances
can run simultaneously without port conflicts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.86%. Comparing base (20fc6c1) to head (62c5f8f).
⚠️ Report is 4 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4367      +/-   ##
==========================================
+ Coverage   55.82%   59.86%   +4.03%     
==========================================
  Files         245      291      +46     
  Lines       24847    28791    +3944     
  Branches     6874     7793     +919     
==========================================
+ Hits        13872    17236    +3364     
- Misses      10961    11538     +577     
- Partials       14       17       +3     
Flag Coverage Δ
packages/agents 67.70% <ø> (-3.23%) ⬇️
packages/agents-mcp 77.54% <ø> (?)
packages/agents-runtime 81.24% <ø> (+<0.01%) ⬆️
packages/agents-server 73.89% <ø> (-0.04%) ⬇️
packages/agents-server-ui 6.66% <ø> (ø)
packages/electric-ax 42.61% <ø> (ø)
packages/experimental 87.73% <ø> (?)
packages/react-hooks 86.48% <ø> (?)
packages/start 82.83% <ø> (?)
packages/typescript-client 94.44% <ø> (?)
packages/y-electric 56.05% <ø> (?)
typescript 59.86% <ø> (+4.03%) ⬆️
unit-tests 59.86% <ø> (+4.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

KyleAMathews and others added 2 commits May 19, 2026 13:56
agents-runtime depends on agents-mcp, so the documented dependency
chain is: typescript-client → agents-mcp → agents-runtime → (agents-server, agents).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 20, 2026

Electric Agents Desktop Builds

Build artifacts for commit 62c5f8f.

Platform Status Artifact
macOS Apple Silicon Failed Unavailable
macOS Intel Failed Unavailable
Windows x64 Passed Installer
Linux x64 Passed AppImage / deb

Workflow run

@netlify
Copy link
Copy Markdown

netlify Bot commented May 20, 2026

Deploy Preview for electric-next ready!

Name Link
🔨 Latest commit 62c5f8f
🔍 Latest deploy log https://app.netlify.com/projects/electric-next/deploys/6a0ddfe4d9a7670008a1c67f
😎 Deploy Preview https://deploy-preview-4367--electric-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

@samwillis samwillis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@KyleAMathews KyleAMathews merged commit e6a0bff into main May 20, 2026
63 of 64 checks passed
@KyleAMathews KyleAMathews deleted the kyle/parallel-desktop-dev branch May 20, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants