From 06a526c26e38acf0b72cd8f7e209239fd2354db6 Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Mon, 24 Jun 2024 16:13:04 -0400 Subject: [PATCH] Update [ghstack-poisoned] --- .github/workflows/runtime_build.yml | 5 ++--- .../__tests__/storeStressTestConcurrent-test.js | 4 ++-- packages/shared/ReactVersion.js | 16 +--------------- 3 files changed, 5 insertions(+), 20 deletions(-) diff --git a/.github/workflows/runtime_build.yml b/.github/workflows/runtime_build.yml index 5889369ee135e..80a8757948e45 100644 --- a/.github/workflows/runtime_build.yml +++ b/.github/workflows/runtime_build.yml @@ -146,9 +146,8 @@ jobs: - name: Restore archived build uses: actions/download-artifact@v4 with: - path: build - merge-multiple: true + path: build-temp - name: Display structure of build run: ls -R build - - run: yarn test --build ${{ matrix.test_params }} --ci=github + # - run: yarn test --build ${{ matrix.test_params }} --ci=github diff --git a/packages/react-devtools-shared/src/__tests__/storeStressTestConcurrent-test.js b/packages/react-devtools-shared/src/__tests__/storeStressTestConcurrent-test.js index e7f3c664dc825..8dd4ce428438f 100644 --- a/packages/react-devtools-shared/src/__tests__/storeStressTestConcurrent-test.js +++ b/packages/react-devtools-shared/src/__tests__/storeStressTestConcurrent-test.js @@ -16,6 +16,8 @@ describe('StoreStressConcurrent', () => { let store; let print; + jest.setTimeout(15000); + beforeEach(() => { global.IS_REACT_ACT_ENVIRONMENT = true; @@ -829,8 +831,6 @@ describe('StoreStressConcurrent', () => { // @reactVersion >= 18.0 it('should handle a stress test for Suspense without type change (Concurrent Mode)', async () => { - jest.setTimeout(15000); - const A = () => 'a'; const B = () => 'b'; const C = () => 'c'; diff --git a/packages/shared/ReactVersion.js b/packages/shared/ReactVersion.js index 13dd40e747e0d..c215912df2204 100644 --- a/packages/shared/ReactVersion.js +++ b/packages/shared/ReactVersion.js @@ -1,15 +1 @@ -/** - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -// TODO: this is special because it gets imported during build. -// -// It exists as a placeholder so that DevTools can support work tag changes between releases. -// When we next publish a release, update the matching TODO in backend/renderer.js -// TODO: This module is used both by the release scripts and to expose a version -// at runtime. We should instead inject the version number as part of the build -// process, and use the ReactVersions.js module as the single source of truth. -export default '19.0.0'; +export default '19.0.0-rc-3a600d54b3-20240624';