Skip to content

Isolate the buck OSS commands inside test_buck#34378

Closed
cortinico wants to merge 4 commits into
mainfrom
nc/isolate-buck-tests-run2
Closed

Isolate the buck OSS commands inside test_buck#34378
cortinico wants to merge 4 commits into
mainfrom
nc/isolate-buck-tests-run2

Conversation

@cortinico
Copy link
Copy Markdown
Contributor

Summary

This isolates and parallelize all the BUCK related work inside a test_buck job, so it's immediately clear where a failure happend.

I've also added a couple of minor improvements:

  • Don't clone okbuck just to consume a script. I've copied the script over instead.
  • Removed unnecessary buck_cache_key

This should reduce ~5 minute of build time from Test Android which was already beyond 10 minutes.

Changelog

[Internal] - Isolate the buck OSS commands inside test_buck

Test Plan

Let's wait for a test_buck and test_android output.

@cortinico cortinico requested a review from hramos as a code owner August 10, 2022 14:33
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Aug 10, 2022
@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: 62021eb
Branch: main

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,612,244 +320
android hermes armeabi-v7a 7,027,719 +146
android hermes x86 7,912,105 +181
android hermes x86_64 7,885,528 +201
android jsc arm64-v8a 9,489,898 +398
android jsc armeabi-v7a 8,267,780 +225
android jsc x86 9,427,274 +251
android jsc x86_64 10,020,029 +284

Base commit: 62021eb
Branch: main

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cortinico in 4699a39.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Aug 11, 2022
@yungsters yungsters deleted the nc/isolate-buck-tests-run2 branch August 12, 2022 17:30
roryabraham pushed a commit to Expensify/react-native that referenced this pull request Aug 17, 2022
Summary:
This isolates and parallelize all the BUCK related work inside a `test_buck` job, so it's immediately clear where a failure happend.

I've also added a couple of minor improvements:
- Don't clone okbuck just to consume a script. I've copied the script over instead.
- Removed unnecessary `buck_cache_key`

This should reduce ~5 minute of build time from Test Android which was already beyond 10 minutes.

## Changelog

[Internal] - Isolate the buck OSS commands inside test_buck

Pull Request resolved: facebook#34378

Test Plan: Let's wait for a `test_buck` and `test_android` output.

Reviewed By: cipolleschi

Differential Revision: D38580359

Pulled By: cortinico

fbshipit-source-id: 8b3915bbc28b4a7a169011fe9047f402c2d1f6ee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants