Skip to content

[LWM] ci(optimisation): skip bundler for non macOS jobs - #21469

Draft
lewisd5 wants to merge 3 commits into
developfrom
fix/mobile-guard-bundle-install-darwin
Draft

[LWM] ci(optimisation): skip bundler for non macOS jobs#21469
lewisd5 wants to merge 3 commits into
developfrom
fix/mobile-guard-bundle-install-darwin

Conversation

@lewisd5

@lewisd5 lewisd5 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

📝 Description

🔗 Context

  • JIRA / GitHub issue:
  • ADR (if any):

Copilot AI lite review requested due to automatic review settings September 2, 2026 18:54
@live-github-bot live-github-bot Bot added the mobile Has changes in LLM label Sep 2, 2026
@live-github-bot live-github-bot Bot changed the title ci(optimisation): skip bundler for non macOS jobs [LWM] ci(optimisation): skip bundler for non macOS jobs Sep 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

package.json repository URL is invalid (.git1) and should be corrected before merge.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR aims to reduce CI work for Ledger Live Mobile by skipping Bundler installation steps on non-macOS jobs, while keeping the iOS-related Ruby tooling setup on macOS.

Changes:

  • Guard bundle / bundle install execution behind a macOS (darwin) platform check in the mobile post script.
  • Update Bundler missing-command messaging to be more explicit when running on macOS.
  • Minor repo root config edits (including an unintended package.json repository URL change).
File summaries
File Description
package.json Repository metadata edited (currently introduces an invalid .git1 URL).
apps/ledger-live-mobile/scripts/post.mjs Skip Bundler setup on non-macOS platforms to optimize CI/runtime.
.npmrc Removes a trailing blank line (no functional impact).
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread package.json
"repository": {
"type": "git",
"url": "https://github.com/LedgerHQ/ledger-live.git"
"url": "https://github.com/LedgerHQ/ledger-live.git1"
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Web Tools Build Status

Build Status Deployment
Web Tools Build ✅ Deployed https://web-tools-ne51na3dk-ledger-hq-prd.vercel.app

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Rsdoctor Bundle Diff Analysis

Found 7 projects in monorepo, 0 projects with changes.

📊 Quick Summary
Project Total Size Gzip Size Change Gzip Change
desktop-main 2.5 MB - 0 -
desktop-preloader 7.1 KB - 0 -
desktop-renderer 82.4 MB - 0 -
desktop-webviewDappPreloader 36.9 KB - ❓ 0 -
desktop-webviewPreloader 200.0 B - 0 -
desktop-workers 36.8 KB - 0 -
mobile 129.5 MB - 0 -

Generated by Rsdoctor GitHub Action

@sonarqubecloud

sonarqubecloud Bot commented Sep 2, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mobile Has changes in LLM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants