Skip to content

Conversation

@evereq
Copy link
Member

@evereq evereq commented Dec 20, 2025

PR

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.



Summary by cubic

Adds multi-architecture builds (x64 and arm64) across apps and servers, integrates Snapcraft into CI, and standardizes artifact names. This expands release coverage and stabilizes arm64 builds.

  • New Features

    • Multi-arch targets for Agent, Desktop, Desktop Timer, API, MCP, and Server; artifacts now include arch in the filename.
    • Snapcraft added to build workflows to publish Linux packages.
    • Standardized app names/descriptions and clarified download links in the README.
  • Bug Fixes

    • Fixed arm64 build issues (including uiohook-napi) by updating node-gyp/Python setup.
    • Removed the obsolete Windows-only workflow to prevent conflicts.

Written for commit d5a4f7e. Summary will update automatically on new commits.

@evereq evereq merged commit 8406602 into stage Dec 20, 2025
19 of 22 checks passed
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 20, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch develop

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

2 issues found across 23 files

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="README.md">

<violation number="1" location="README.md:133">
P3: Grammar issue: &quot;pre-releases downloads&quot; should be &quot;pre-release downloads&quot; (adjective form should be singular).</violation>
</file>

<file name=".github/workflows/agent-prod.yml">

<violation number="1" location=".github/workflows/agent-prod.yml:137">
P1: Incorrect environment variable names. The `bump-version-electron.js` script expects `AGENT_APP_*` variables but this job uses `DESKTOP_AGENT_APP_*` which the script doesn&#39;t read. This will cause the version bump to fail or use undefined values.</violation>
</file>

Reply to cubic to teach it or ask questions. Re-run a review with @cubic-dev-ai review this PR

- [Server Releases](https://github.com/ever-co/ever-gauzy-server/releases)
- [Desktop App Releases](https://github.com/ever-co/ever-gauzy-desktop/releases)
- [Desktop Timer App Releases](https://github.com/ever-co/ever-gauzy-desktop-timer/releases)
In addition, all releases and pre-releases downloads are also available from the following pages:
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Dec 20, 2025

Choose a reason for hiding this comment

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

P3: Grammar issue: "pre-releases downloads" should be "pre-release downloads" (adjective form should be singular).

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At README.md, line 133:

<comment>Grammar issue: &quot;pre-releases downloads&quot; should be &quot;pre-release downloads&quot; (adjective form should be singular).</comment>

<file context>
@@ -130,12 +130,9 @@ Notes:
--   [Server Releases](https://github.com/ever-co/ever-gauzy-server/releases)
--   [Desktop App Releases](https://github.com/ever-co/ever-gauzy-desktop/releases)
--   [Desktop Timer App Releases](https://github.com/ever-co/ever-gauzy-desktop-timer/releases)
+In addition, all releases and pre-releases downloads are also available from the following pages:
+- [Platform Releases](https://github.com/ever-co/ever-gauzy/releases)
+- [Apps](https://github.com/ever-co/ever-gauzy/wiki/Gauzy-Desktop-Apps)
</file context>
Suggested change
In addition, all releases and pre-releases downloads are also available from the following pages:
In addition, all releases and pre-release downloads are also available from the following pages:
Fix with Cubic

Comment on lines +137 to +142
DESKTOP_AGENT_APP_NAME: 'gauzy-agent'
DESKTOP_AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
DESKTOP_AGENT_APP_REPO_OWNER: 'ever-co'
COMPANY_SITE_LINK: 'https://gauzy.co'
DESKTOP_AGENT_APP_DESCRIPTION: 'Gauzy Agent'
DESKTOP_AGENT_APP_ID: 'com.ever.gauzyagent'
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Dec 20, 2025

Choose a reason for hiding this comment

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

P1: Incorrect environment variable names. The bump-version-electron.js script expects AGENT_APP_* variables but this job uses DESKTOP_AGENT_APP_* which the script doesn't read. This will cause the version bump to fail or use undefined values.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At .github/workflows/agent-prod.yml, line 137:

<comment>Incorrect environment variable names. The `bump-version-electron.js` script expects `AGENT_APP_*` variables but this job uses `DESKTOP_AGENT_APP_*` which the script doesn&#39;t read. This will cause the version bump to fail or use undefined values.</comment>

<file context>
@@ -57,34 +60,110 @@ jobs:
+            console.log(script.agent(true))
+        env:
+          PROJECT_REPO: &#39;https://github.com/ever-co/ever-gauzy.git&#39;
+          DESKTOP_AGENT_APP_NAME: &#39;gauzy-agent&#39;
+          DESKTOP_AGENT_APP_REPO_NAME: &#39;ever-gauzy-agent&#39;
+          DESKTOP_AGENT_APP_REPO_OWNER: &#39;ever-co&#39;
</file context>
Suggested change
DESKTOP_AGENT_APP_NAME: 'gauzy-agent'
DESKTOP_AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
DESKTOP_AGENT_APP_REPO_OWNER: 'ever-co'
COMPANY_SITE_LINK: 'https://gauzy.co'
DESKTOP_AGENT_APP_DESCRIPTION: 'Gauzy Agent'
DESKTOP_AGENT_APP_ID: 'com.ever.gauzyagent'
AGENT_APP_NAME: 'gauzy-agent'
AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
AGENT_APP_REPO_OWNER: 'ever-co'
COMPANY_SITE_LINK: 'https://gauzy.co'
AGENT_APP_DESCRIPTION: 'Gauzy Agent'
AGENT_APP_ID: 'com.ever.gauzyagent'
Fix with Cubic

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Dec 20, 2025

Greptile Summary

added multi-architecture (x64 and ARM64) build support for all Electron-based apps across Linux, Windows, and macOS platforms

Key Changes:

  • Split existing workflows into separate jobs for x64 and ARM64 architectures
  • Added Snapcraft integration for Linux builds
  • Updated electron-builder configurations to include architecture in artifact names (${name}-${arch}-${version}.${ext})
  • Added new build scripts in package.json for architecture-specific targeting (:x64, :arm64 suffixes)
  • Enhanced macOS permissions with additional usage descriptions for camera, microphone, and screen capture
  • Added RPM package support with build configuration
  • Removed "Ever" prefix from app descriptions for consistency
  • Removed temporary Windows testing workflow
  • Simplified README downloads section

Critical Issues Found:

  • ARM64 agent workflows use incorrect environment variable prefix (DESKTOP_AGENT_APP_* instead of AGENT_APP_*) which will cause build failures in .scripts/bump-version-electron.js (affects both prod and stage workflows, Linux ARM64 and Windows ARM64 jobs)

PR Compliance Issue:

  • PR template checkboxes are not checked and description is empty, violating repository contribution guidelines

Confidence Score: 1/5

  • This PR has critical bugs that will cause immediate build failures in production
  • The ARM64 agent builds in both prod and stage workflows use wrong environment variables (DESKTOP_AGENT_APP_* instead of AGENT_APP_*), causing .scripts/bump-version-electron.js to fail reading required config. This affects 4 build jobs (Linux ARM64 and Windows ARM64 in both prod and stage). Additionally, the PR violates contribution guidelines by not completing the required template. While the architectural changes and package configurations are well-structured, the environment variable bugs are blocking issues that will break CI/CD pipelines.
  • Pay close attention to .github/workflows/agent-prod.yml and .github/workflows/agent-stage.yml - the ARM64 jobs must be fixed before merge

Important Files Changed

Filename Overview
.github/workflows/agent-prod.yml added ARM64 Linux/Windows jobs with critical env variable bugs that will cause build failures
.github/workflows/agent-stage.yml added ARM64 Linux/Windows jobs with critical env variable bugs that will cause build failures
package.json added architecture-specific build scripts (x64, arm64) for all Electron apps
apps/agent/src/package.json updated artifact names to include arch, added ARM64 target, enhanced macOS permissions, added RPM config
.scripts/env.ts updated default app names/descriptions, removed "Ever" branding prefix for consistency

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant GH as GitHub Actions
    participant Build as Build System
    participant Electron as Electron Builder
    participant Dist as Distribution (GitHub/Spaces)
    
    Dev->>GH: Push to master/stage branch
    GH->>GH: Trigger workflow on Release completion
    
    par Linux x64 Build
        GH->>Build: Spin up buildjet-16vcpu-ubuntu runner
        Build->>Build: Install dependencies & system packages
        Build->>Build: Install Snapcraft
        Build->>Build: Run bump-version-electron.js<br/>(Read AGENT_APP_* env vars)
        Build->>Electron: Execute build:agent:linux:release:gh:x64
        Electron->>Electron: Build for x64 architecture
        Electron->>Dist: Publish artifacts (deb, snap, tar.gz, rpm, AppImage)
    and Linux ARM64 Build
        GH->>Build: Spin up ubicloud-standard-16-arm runner
        Build->>Build: Install dependencies & ARM64 libraries
        Build->>Build: Install Snapcraft
        Build->>Build: Run bump-version-electron.js<br/>(ERROR: expects AGENT_APP_* but receives DESKTOP_AGENT_APP_*)
        Build->>Electron: Execute build:agent:linux:release:gh:arm64
        Electron->>Electron: Build for ARM64 architecture
        Electron->>Dist: Publish artifacts (deb, snap, tar.gz, rpm, AppImage)
    and macOS Universal Build
        GH->>Build: Spin up warp-macos-15-arm64-12x runner
        Build->>Build: Install dependencies
        Build->>Build: Run bump-version-electron.js<br/>(Read AGENT_APP_* env vars)
        Build->>Electron: Execute build:agent:mac:release
        Electron->>Electron: Build for x64 + ARM64 (universal)
        Electron->>Dist: Publish artifacts (zip, dmg)
    and Windows ARM64 Build
        GH->>Build: Spin up warp-windows-latest-arm64 runner
        Build->>Build: Install VS 2022 Build Tools
        Build->>Build: Configure MSVC for ARM64
        Build->>Build: Run bump-version-electron.js<br/>(ERROR: expects AGENT_APP_* but receives DESKTOP_AGENT_APP_*)
        Build->>Electron: Execute build:agent:windows:release:gh:arm64
        Electron->>Electron: Build for ARM64 architecture
        Electron->>Dist: Publish artifacts (nsis installer)
    end
    
    Dist-->>Dev: Release artifacts available
Loading

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

23 files reviewed, 4 comments

Edit Code Review Agent Settings | Greptile

Comment on lines +137 to +142
DESKTOP_AGENT_APP_NAME: 'gauzy-agent'
DESKTOP_AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
DESKTOP_AGENT_APP_REPO_OWNER: 'ever-co'
COMPANY_SITE_LINK: 'https://gauzy.co'
DESKTOP_AGENT_APP_DESCRIPTION: 'Gauzy Agent'
DESKTOP_AGENT_APP_ID: 'com.ever.gauzyagent'
Copy link
Contributor

Choose a reason for hiding this comment

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

logic: incorrect environment variable prefix - script expects AGENT_APP_* but DESKTOP_AGENT_APP_* is used

Suggested change
DESKTOP_AGENT_APP_NAME: 'gauzy-agent'
DESKTOP_AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
DESKTOP_AGENT_APP_REPO_OWNER: 'ever-co'
COMPANY_SITE_LINK: 'https://gauzy.co'
DESKTOP_AGENT_APP_DESCRIPTION: 'Gauzy Agent'
DESKTOP_AGENT_APP_ID: 'com.ever.gauzyagent'
env:
PROJECT_REPO: 'https://github.com/ever-co/ever-gauzy.git'
AGENT_APP_NAME: 'gauzy-agent'
AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
AGENT_APP_REPO_OWNER: 'ever-co'
COMPANY_SITE_LINK: 'https://gauzy.co'
AGENT_APP_DESCRIPTION: 'Gauzy Agent'
AGENT_APP_ID: 'com.ever.gauzyagent'
Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/agent-prod.yml
Line: 137:142

Comment:
**logic:** incorrect environment variable prefix - script expects `AGENT_APP_*` but `DESKTOP_AGENT_APP_*` is used

```suggestion
        env:
          PROJECT_REPO: 'https://github.com/ever-co/ever-gauzy.git'
          AGENT_APP_NAME: 'gauzy-agent'
          AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
          AGENT_APP_REPO_OWNER: 'ever-co'
          COMPANY_SITE_LINK: 'https://gauzy.co'
          AGENT_APP_DESCRIPTION: 'Gauzy Agent'
          AGENT_APP_ID: 'com.ever.gauzyagent'
```

How can I resolve this? If you propose a fix, please make it concise.

Comment on lines +137 to +142
DESKTOP_AGENT_APP_NAME: 'gauzy-agent'
DESKTOP_AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
DESKTOP_AGENT_APP_REPO_OWNER: 'ever-co'
COMPANY_SITE_LINK: 'https://gauzy.co'
DESKTOP_AGENT_APP_DESCRIPTION: 'Gauzy Agent'
DESKTOP_AGENT_APP_ID: 'com.ever.gauzyagent'
Copy link
Contributor

Choose a reason for hiding this comment

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

logic: incorrect environment variable prefix - script expects AGENT_APP_* but DESKTOP_AGENT_APP_* is used

Suggested change
DESKTOP_AGENT_APP_NAME: 'gauzy-agent'
DESKTOP_AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
DESKTOP_AGENT_APP_REPO_OWNER: 'ever-co'
COMPANY_SITE_LINK: 'https://gauzy.co'
DESKTOP_AGENT_APP_DESCRIPTION: 'Gauzy Agent'
DESKTOP_AGENT_APP_ID: 'com.ever.gauzyagent'
env:
PROJECT_REPO: 'https://github.com/ever-co/ever-gauzy.git'
AGENT_APP_NAME: 'gauzy-agent'
AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
AGENT_APP_REPO_OWNER: 'ever-co'
COMPANY_SITE_LINK: 'https://gauzy.co'
AGENT_APP_DESCRIPTION: 'Gauzy Agent'
AGENT_APP_ID: 'com.ever.gauzyagent'
Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/agent-stage.yml
Line: 137:142

Comment:
**logic:** incorrect environment variable prefix - script expects `AGENT_APP_*` but `DESKTOP_AGENT_APP_*` is used

```suggestion
        env:
          PROJECT_REPO: 'https://github.com/ever-co/ever-gauzy.git'
          AGENT_APP_NAME: 'gauzy-agent'
          AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
          AGENT_APP_REPO_OWNER: 'ever-co'
          COMPANY_SITE_LINK: 'https://gauzy.co'
          AGENT_APP_DESCRIPTION: 'Gauzy Agent'
          AGENT_APP_ID: 'com.ever.gauzyagent'
```

How can I resolve this? If you propose a fix, please make it concise.

Comment on lines +417 to +422
DESKTOP_AGENT_APP_NAME: 'gauzy-agent'
DESKTOP_AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
DESKTOP_AGENT_APP_REPO_OWNER: 'ever-co'
COMPANY_SITE_LINK: 'https://gauzy.co'
DESKTOP_AGENT_APP_DESCRIPTION: 'Gauzy Agent'
DESKTOP_AGENT_APP_ID: 'com.ever.gauzyagent'
Copy link
Contributor

Choose a reason for hiding this comment

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

logic: incorrect environment variable prefix - script expects AGENT_APP_* but DESKTOP_AGENT_APP_* is used

Suggested change
DESKTOP_AGENT_APP_NAME: 'gauzy-agent'
DESKTOP_AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
DESKTOP_AGENT_APP_REPO_OWNER: 'ever-co'
COMPANY_SITE_LINK: 'https://gauzy.co'
DESKTOP_AGENT_APP_DESCRIPTION: 'Gauzy Agent'
DESKTOP_AGENT_APP_ID: 'com.ever.gauzyagent'
env:
PROJECT_REPO: 'https://github.com/ever-co/ever-gauzy.git'
AGENT_APP_NAME: 'gauzy-agent'
AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
AGENT_APP_REPO_OWNER: 'ever-co'
COMPANY_SITE_LINK: 'https://gauzy.co'
AGENT_APP_DESCRIPTION: 'Gauzy Agent'
AGENT_APP_ID: 'com.ever.gauzyagent'
Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/agent-stage.yml
Line: 417:422

Comment:
**logic:** incorrect environment variable prefix - script expects `AGENT_APP_*` but `DESKTOP_AGENT_APP_*` is used

```suggestion
        env:
          PROJECT_REPO: 'https://github.com/ever-co/ever-gauzy.git'
          AGENT_APP_NAME: 'gauzy-agent'
          AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
          AGENT_APP_REPO_OWNER: 'ever-co'
          COMPANY_SITE_LINK: 'https://gauzy.co'
          AGENT_APP_DESCRIPTION: 'Gauzy Agent'
          AGENT_APP_ID: 'com.ever.gauzyagent'
```

How can I resolve this? If you propose a fix, please make it concise.

Comment on lines +417 to +422
DESKTOP_AGENT_APP_NAME: 'gauzy-agent'
DESKTOP_AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
DESKTOP_AGENT_APP_REPO_OWNER: 'ever-co'
COMPANY_SITE_LINK: 'https://gauzy.co'
DESKTOP_AGENT_APP_DESCRIPTION: 'Gauzy Agent'
DESKTOP_AGENT_APP_ID: 'com.ever.gauzyagent'
Copy link
Contributor

Choose a reason for hiding this comment

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

logic: incorrect environment variable prefix - script expects AGENT_APP_* but DESKTOP_AGENT_APP_* is used

Suggested change
DESKTOP_AGENT_APP_NAME: 'gauzy-agent'
DESKTOP_AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
DESKTOP_AGENT_APP_REPO_OWNER: 'ever-co'
COMPANY_SITE_LINK: 'https://gauzy.co'
DESKTOP_AGENT_APP_DESCRIPTION: 'Gauzy Agent'
DESKTOP_AGENT_APP_ID: 'com.ever.gauzyagent'
AGENT_APP_NAME: 'gauzy-agent'
AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
AGENT_APP_REPO_OWNER: 'ever-co'
COMPANY_SITE_LINK: 'https://gauzy.co'
AGENT_APP_DESCRIPTION: 'Gauzy Agent'
AGENT_APP_ID: 'com.ever.gauzyagent'
Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/agent-prod.yml
Line: 417:422

Comment:
**logic:** incorrect environment variable prefix - script expects `AGENT_APP_*` but `DESKTOP_AGENT_APP_*` is used

```suggestion
          AGENT_APP_NAME: 'gauzy-agent'
          AGENT_APP_REPO_NAME: 'ever-gauzy-agent'
          AGENT_APP_REPO_OWNER: 'ever-co'
          COMPANY_SITE_LINK: 'https://gauzy.co'
          AGENT_APP_DESCRIPTION: 'Gauzy Agent'
          AGENT_APP_ID: 'com.ever.gauzyagent'
```

How can I resolve this? If you propose a fix, please make it concise.

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