Skip to content

Update test-e2e-local to use source monorepo packages for RNTestProject#42899

Closed
huntie wants to merge 1 commit intofacebook:mainfrom
huntie:export-D53484510
Closed

Update test-e2e-local to use source monorepo packages for RNTestProject#42899
huntie wants to merge 1 commit intofacebook:mainfrom
huntie:export-D53484510

Conversation

@huntie
Copy link
Member

@huntie huntie commented Feb 6, 2024

Summary:

Updates the test-e2e-local script to bootstrap /tmp/RNTestProject/ using the currently checked out repository as the source of truth for all monorepo packages (previously we only did this for the react-native package).

This enables release testers to validate a release before physically publishing new dependency versions via yarn bump-all-updated-packages.

We are able to reuse the scripts/template/initialize.js script that is currently used for E2E validation in CI. This sets up a local Verdaccio server during project install.

Changelog: [Internal]

Differential Revision: D53484510

@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 Feb 6, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53484510

@analysis-bot
Copy link

analysis-bot commented Feb 6, 2024

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 17,828,330 +3
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 21,186,796 +4
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 1570062
Branch: main

@huntie huntie changed the title Update test-e2e-local to create RNTestProject using in-repo packages Update test-e2e-local to use source monorepo packages for RNTestProject Feb 9, 2024
@huntie huntie force-pushed the export-D53484510 branch 2 times, most recently from 69c31e8 to a2cb3fa Compare February 13, 2024 16:58
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53484510

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53484510

huntie added a commit to huntie/react-native that referenced this pull request Feb 15, 2024
…ct (facebook#42899)

Summary:
Pull Request resolved: facebook#42899

Updates the `test-e2e-local` script to bootstrap `/tmp/RNTestProject/` using the currently checked out repository as the source of truth for all monorepo packages (previously we only did this for the `react-native` package).

This enables release testers to validate a release **before** physically publishing new dependency versions via `yarn bump-all-updated-packages`.

We are able to reuse the `scripts/template/initialize.js` script that is currently used for E2E validation in CI. This sets up a local Verdaccio server during project install.

NOTE: The time taken for `Build packages` + Verdaccio isn't ideal, I may explore a way to reuse the published package state in a future diff. Until then, this extra time (~1 min) will still be much less pain than the `bump-all-updated-packages` + commit process loop.

Changelog: [Internal]

Differential Revision: https://internalfb.com/D53484510
…ct (facebook#42899)

Summary:

Updates the `test-e2e-local` script to bootstrap `/tmp/RNTestProject/` using the currently checked out repository as the source of truth for all monorepo packages (previously we only did this for the `react-native` package).

This enables release testers to validate a release **before** physically publishing new dependency versions via `yarn bump-all-updated-packages`.

We are able to reuse the `scripts/template/initialize.js` script that is currently used for E2E validation in CI. This sets up a local Verdaccio server during project install.

NOTE: The time taken for `Build packages` + Verdaccio isn't ideal, I may explore a way to reuse the published package state in a future diff. Until then, this extra time (~1 min) will still be much less pain than the `bump-all-updated-packages` + commit process loop.

Changelog:
[Internal] - Update test-e2e-local to use source monorepo packages for RNTestProject

Reviewed By: lunaleaps

Differential Revision: D53484510
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53484510

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 15, 2024
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in e4135e9.

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. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants