Skip to content

Add desktop app packaging and CI publishing workflows#4300

Draft
samwillis wants to merge 27 commits intomainfrom
samwillis/desktop-app-publish
Draft

Add desktop app packaging and CI publishing workflows#4300
samwillis wants to merge 27 commits intomainfrom
samwillis/desktop-app-publish

Conversation

@samwillis
Copy link
Copy Markdown
Contributor

Summary

  • Add Electron desktop packaging for @electric-ax/agents-desktop, including native-module rebuilds, packaged renderer resources, and platform icon generation.
  • Add PR desktop artifact builds for macOS Apple Silicon, macOS Intel, Windows x64, and Linux x64.
  • Add canary publishing from main and wire Changesets releases to publish stable desktop artifacts on the package tag.

Test plan

  • Ran desktop typecheck and local macOS Apple Silicon packaging while developing phase 1.
  • Checked workflow YAML formatting with Prettier.
  • Parsed changed workflow YAML files locally.
  • Draft PR should confirm whether the new PR workflow triggers correctly.

Made with Cursor

samwillis and others added 6 commits May 8, 2026 14:41
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented May 8, 2026

Deploy Preview for electric-next ready!

Name Link
🔨 Latest commit 9f031b5
🔍 Latest deploy log https://app.netlify.com/projects/electric-next/deploys/69fe4f2bfc6ca300081d4e1f
😎 Deploy Preview https://deploy-preview-4300--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.

@samwillis samwillis marked this pull request as ready for review May 8, 2026 21:03
@samwillis samwillis marked this pull request as draft May 8, 2026 21:03
@netlify
Copy link
Copy Markdown

netlify Bot commented May 8, 2026

Deploy Preview for electric-next ready!

Name Link
🔨 Latest commit 70fdba1
🔍 Latest deploy log https://app.netlify.com/projects/electric-next/deploys/69fe50c1a2369e0008a9cd94
😎 Deploy Preview https://deploy-preview-4300--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.

Co-authored-by: Cursor <cursoragent@cursor.com>
@samwillis samwillis marked this pull request as ready for review May 8, 2026 21:06
Co-authored-by: Cursor <cursoragent@cursor.com>
@samwillis samwillis marked this pull request as draft May 8, 2026 21:08
@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

❌ Patch coverage is 5.88235% with 128 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.65%. Comparing base (1df7cce) to head (5d375d3).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...gents-server-ui/src/components/DesktopTitleBar.tsx 0.00% 26 Missing ⚠️
.../agents-server-ui/src/hooks/useWorkspaceHotkeys.ts 0.00% 26 Missing ⚠️
packages/agents-server-ui/src/router.tsx 0.00% 19 Missing ⚠️
...agents-server-ui/src/hooks/useSidebarCollapsed.tsx 0.00% 16 Missing ⚠️
...server-ui/src/components/DesktopHistoryButtons.tsx 0.00% 15 Missing ⚠️
...ents-server-ui/src/components/TitlebarControls.tsx 0.00% 7 Missing ⚠️
...ckages/agents-server-ui/src/components/Sidebar.tsx 0.00% 5 Missing ⚠️
...erver-ui/src/components/workspace/NodeRenderer.tsx 0.00% 3 Missing ⚠️
...rver-ui/src/components/workspace/TileContainer.tsx 0.00% 3 Missing ⚠️
packages/agents-server-ui/src/App.tsx 0.00% 2 Missing ⚠️
... and 4 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4300      +/-   ##
==========================================
+ Coverage   58.58%   58.65%   +0.06%     
==========================================
  Files         251      254       +3     
  Lines       24467    24549      +82     
  Branches     6350     6399      +49     
==========================================
+ Hits        14335    14400      +65     
- Misses      10125    10142      +17     
  Partials        7        7              
Flag Coverage Δ
packages/agents 67.52% <ø> (-0.28%) ⬇️
packages/agents-mcp 77.33% <100.00%> (+0.13%) ⬆️
packages/agents-runtime 80.10% <ø> (+0.70%) ⬆️
packages/agents-server 69.27% <ø> (ø)
packages/agents-server-ui 5.25% <0.00%> (-0.07%) ⬇️
packages/electric-ax 38.04% <ø> (ø)
packages/experimental 87.73% <ø> (ø)
packages/react-hooks 86.48% <ø> (ø)
packages/start 82.83% <ø> (ø)
packages/typescript-client 94.32% <ø> (ø)
packages/y-electric 56.05% <ø> (ø)
typescript 58.65% <5.88%> (+0.06%) ⬆️
unit-tests 58.65% <5.88%> (+0.06%) ⬆️

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.

samwillis and others added 4 commits May 9, 2026 10:09
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 9, 2026

Electric Agents Desktop Builds

Build artifacts for commit 5d375d3.

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

Workflow run

samwillis and others added 10 commits May 9, 2026 10:36
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Ensure unsigned PR and canary macOS desktop artifacts still receive an ad-hoc signature so Gatekeeper does not treat them as damaged, while preserving the real signing path for releases.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use standard codesign verification for ad-hoc signed PR builds so the guard still catches unsigned apps without failing on electron-builder's ad-hoc resource metadata.

Co-authored-by: Cursor <cursoragent@cursor.com>
Allow electron-builder to perform ad-hoc signing in pull request builds while keeping certificate auto-discovery disabled for unsigned CI artifacts.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the custom draggable hidden-titlebar treatment scoped to macOS so Windows and Linux use native frames and menu bars without traffic-light spacing.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add platform-specific desktop chrome for Windows/Linux while preserving distinct web and macOS layouts, and animate sidebar collapse so the work area slides over the sidebar without compressing it.

Co-authored-by: Cursor <cursoragent@cursor.com>
Expose Electron browser history state to the renderer and add platform chrome buttons for back and forward navigation with disabled states and shortcut hints.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep sidebar chrome controls stationary across web and macOS while animating only the content inset during sidebar toggles.

Co-authored-by: Cursor <cursoragent@cursor.com>
samwillis and others added 5 commits May 9, 2026 17:07
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant