Skip to content

ci: fixing flaky CI#1302

Merged
joker23 merged 1 commit into
mainfrom
skz/flaky-buid
Apr 21, 2026
Merged

ci: fixing flaky CI#1302
joker23 merged 1 commit into
mainfrom
skz/flaky-buid

Conversation

@joker23

@joker23 joker23 commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

This PR will apply the same fix as we did for .github/workflows/react.yml to stablize the CI jobs.

The underlying issue is that electron binary installation is expensive and would some times flake out. The fix here is to skip the binary setup for workflows that do not need it.

The reason this is a problem is that we need to do a workspace ... install on contract test installations (as workspaces focus does some funny things to non-prod dependencies that may interfere with building the contract tests). Unfortunately, in yarn, workspace... install does the same thing as yarn install (installs all deps).


Open in Devin Review

Note

Low Risk
Low risk CI-only change that alters dependency install environment for contract-test services; main risk is an unexpected package needing Electron in these jobs.

Overview
Reduces flakiness in the server-node and shopify-oxygen GitHub Actions workflows by setting ELECTRON_SKIP_BINARY_DOWNLOAD=1 for the contract-test service yarn workspace ... install step.

This avoids unnecessary Electron binary downloads during CI installs while keeping the rest of the contract-test build and execution flow unchanged.

Reviewed by Cursor Bugbot for commit c320ff7. Bugbot is set up for automated code reviews on this repo. Configure here.

@joker23 joker23 requested a review from a team as a code owner April 21, 2026 15:40

@devin-ai-integration devin-ai-integration Bot 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 25623 bytes
Compressed size limit: 29000
Uncompressed size: 125843 bytes

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/browser size report
This is the brotli compressed size of the ESM build.
Compressed size: 179269 bytes
Compressed size limit: 200000
Uncompressed size: 830289 bytes

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Compressed size: 31722 bytes
Compressed size limit: 34000
Uncompressed size: 113100 bytes

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 37607 bytes
Compressed size limit: 38000
Uncompressed size: 207149 bytes

@joker23 joker23 merged commit 73aee9c into main Apr 21, 2026
48 checks passed
@joker23 joker23 deleted the skz/flaky-buid branch April 21, 2026 16:00
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