Skip to content

#5637 Add support for Linux ARM64 #5641

Open
pd-redis wants to merge 13 commits intomainfrom
feature/5637/add-linux-arm64-releases
Open

#5637 Add support for Linux ARM64 #5641
pd-redis wants to merge 13 commits intomainfrom
feature/5637/add-linux-arm64-releases

Conversation

@pd-redis
Copy link
Contributor

@pd-redis pd-redis commented Mar 16, 2026

What

Add a plan-only document describing how to support Linux ARM64 release artifacts for RedisInsight, including packaging, release pipeline, and validation work.

Example workflow to download binaries:


References #5637

Made with Cursor


Note

Medium Risk
Medium risk because it changes build artifact generation and release automation (electron-builder targets, S3 tagging/metrics, checksum/build summaries), which could break publishing or downloads if filenames/targets mismatch.

Overview
Adds Linux arm64 release artifact support across the build/release pipeline by enabling arm64 for AppImage, deb, and rpm in electron-builder.json and updating workflows/scripts to recognize the new filenames.

Updates GitHub Actions to allow manual selection of arm64 Linux targets, adjust custom-target parsing and artifact upload patterns, include arm64 latest-linux-arm64.yml in checksum generation, and extend S3 tagging/metrics for the new arm64 artifacts; snap remains x64-only with arm64 entries explicitly commented out.

Written by Cursor Bugbot for commit ed81033. This will update automatically on new commits. Configure here.

* feat(plan): introduce a comprehensive plan for supporting Linux ARM64 desktop release artifacts
* chore: outline phases for packaging, release, and validation of ARM64 artifacts
* docs: provide detailed requirements and current state analysis for ARM64 integration

References: #5637
@jit-ci
Copy link

jit-ci bot commented Mar 16, 2026

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

@github-actions
Copy link
Contributor

github-actions bot commented Mar 16, 2026

Code Coverage - Backend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 92.65% 14928/16113
🟡 Branches 75.02% 4640/6185
🟢 Functions 86.44% 2333/2699
🟢 Lines 92.45% 14261/15425

Test suite run success

3286 tests passing in 303 suites.

Report generated by 🧪jest coverage report action from ed81033

@github-actions
Copy link
Contributor

github-actions bot commented Mar 16, 2026

Code Coverage - Integration Tests

Status Category Percentage Covered / Total
🟢 Statements 80.69% 17159/21264
🟡 Branches 63.52% 7814/12301
🟡 Functions 69.3% 2407/3473
🟢 Lines 80.28% 16131/20093

@github-actions
Copy link
Contributor

github-actions bot commented Mar 16, 2026

Code Coverage - Frontend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 82.15% 22894/27868
🟡 Branches 67.39% 9627/14286
🟡 Functions 77.18% 6211/8047
🟢 Lines 82.59% 22414/27140

Test suite run success

6352 tests passing in 759 suites.

Report generated by 🧪jest coverage report action from ed81033

KrumTy
KrumTy previously approved these changes Mar 16, 2026
Copy link
Contributor

@ArtemHoruzhenko ArtemHoruzhenko left a comment

Choose a reason for hiding this comment

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

looks good, imo

- Updated GitHub Actions workflows to include ARM64 targets for AppImage, deb, rpm, and snap builds.
- Modified publish-stores.yml to publish both x64 and arm64 Snapcraft files.
- Enhanced generate-checksums-summary.js and generate-build-summary.js to include ARM64 package mappings.
- Updated manual-build and manual-build-enterprise workflows to support ARM64 build options.
- Refactored pipeline-build-linux.yml to handle ARM64 build logic.

This commit lays the groundwork for comprehensive ARM64 support in the Redis Insight project.
@pd-redis pd-redis dismissed stale reviews from ArtemHoruzhenko and KrumTy via 4a33d99 March 16, 2026 17:22
Removes the task-specific planning file from the repository to keep implementation work separate from IDE session artifacts.

References: #5637
Made-with: Cursor
- Introduced environment variables for production checks and target input handling in the pipeline-build-linux.yml workflow.
- Refactored conditional logic to improve readability and maintainability.

This update streamlines the build process for Linux packages, ensuring better clarity in the handling of production environments and target specifications.
- Added 'latest-linux-arm64.yml' to the list of YAML files generated by electron-builder.

This change enhances support for ARM64 builds in the checksum generation process.
- Modified the path in the pipeline-build-linux.yml to allow for matching multiple latest Linux YAML files, enhancing flexibility in build configurations.

This change improves the build process by accommodating variations in YAML file naming.
- Simplified the target input processing in the pipeline-build-linux.yml by removing unnecessary arrays and functions.
- Updated the packaging command to directly use the target input for both production and staging builds.

This change enhances the clarity and efficiency of the build process for Linux packages.
- Updated the target input handling in pipeline-build-linux.yml to replace underscores with colons and sort unique targets, improving clarity and efficiency in the build process.
- This change ensures better management of target specifications for production builds.
- Introduced new input parameters for building Linux Snap packages for both x64 and arm64 architectures in the manual-build-enterprise.yml workflow.
- This enhancement allows for more flexible build configurations targeting different Linux environments.
- Modified the build commands in pipeline-build-linux.yml to explicitly include the --x64 flag for both production and staging package builds.
- This change enhances the build process by ensuring that the x64 architecture is targeted during the packaging of Linux applications.
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

pd-redis and others added 3 commits March 18, 2026 16:17
…x Snap support

- Renamed and reorganized tag arrays in aws-upload-prod.yml for better clarity and maintainability.
- Added support for Linux Snap packages in the tag definitions, enhancing the build process for Linux applications.
- Updated generate-checksums-summary.js to include mappings for 'Redis-Insight-linux-amd64.snap' and 'Redis-Insight-linux-arm64.snap'.
- This change enhances the checksum generation process by supporting additional Linux Snap packages, improving overall build support.
- Updated electron-builder.json to remove arm64 architecture from Snap target.
- Commented out arm64 Snap mappings in generate-build-summary.js and generate-checksums-summary.js, indicating the lack of a template in electron-builder.
- Adjusted AWS upload and manual build workflows to reflect the disabled arm64 Snap option, improving clarity on current build capabilities.
@valkirilov valkirilov requested a review from a team as a code owner March 24, 2026 11:12
@valkirilov valkirilov changed the title #5637 Add Linux ARM64 release support plan #5637 Add support for Linux ARM64 Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants