Skip to content

desktop: Use install_gems in CI to access cache#112355

Open
mokagio wants to merge 2 commits into
trunkfrom
desktop/ainfra-2510-use-install_gems-and-other-ci-toolkit-utils-in-the-new-wp
Open

desktop: Use install_gems in CI to access cache#112355
mokagio wants to merge 2 commits into
trunkfrom
desktop/ainfra-2510-use-install_gems-and-other-ci-toolkit-utils-in-the-new-wp

Conversation

@mokagio

@mokagio mokagio commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Proposed Changes

Addresses https://linear.app/a8c/issue/AINFRA-2510.

A small follow up on the recent Buildkite CI setup for the Desktop apps. Replaces bundle install with the CI toolkit install_gems command, so that we can access cached gems if available.

Why are these changes being made?

Slightly faster CI.

Testing Instructions

TBD: I'll past a screenshot of the build here.

Pre-merge Checklist

N.A. These are CI changes only
  • Has the general commit checklist been followed? (PCYsg-hS-p2)
  • Have you written new tests for your changes?
  • Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
  • Have you checked for TypeScript, React or other console errors?
  • For UI changes, have you tested the affected components in dark mode?
  • Have you tested accessibility for your changes? Ensure the feature remains usable with various user agents (e.g., browsers), interfaces (e.g., keyboard navigation), and assistive technologies (e.g., screen readers) (PCYsg-S3g-p2).
  • Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data
  • Have we added the "[Status] String Freeze" label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
    • For UI changes, have we tested the change in various languages (for example, ES, PT, FR, or DE)? The length of text and words vary significantly between languages.
  • For changes affecting Jetpack: Have we added the "[Status] Needs Privacy Updates" label if this pull request changes what data or activity we track or use (p4TIVU-aUh-p2)?

Copilot AI review requested due to automatic review settings July 7, 2026 01:17
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jul 7, 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.

Pull request overview

Updates the Desktop mac Buildkite build script to use the CI toolkit’s install_gems command (instead of bundle install) so Ruby gem installs can benefit from caching in CI.

Changes:

  • Replaced bundle install with install_gems in the mac desktop build command script.
  • Added Buildkite log section headers around Ruby setup and code signing steps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +38 to +40
echo "--- :ruby: Setting up Ruby tooling"
install_gems

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Too eager. It's okay to fail if the command is not available. Better than swallowing and ending up wasting time not having the cache in the long run.

@mokagio mokagio force-pushed the desktop/ainfra-2510-use-install_gems-and-other-ci-toolkit-utils-in-the-new-wp branch from 3ea449c to 398ffc7 Compare July 7, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants