Skip to content

Fix caches for RNTester#49791

Closed
cipolleschi wants to merge 1 commit intofacebook:mainfrom
cipolleschi:export-D70493507
Closed

Fix caches for RNTester#49791
cipolleschi wants to merge 1 commit intofacebook:mainfrom
cipolleschi:export-D70493507

Conversation

@cipolleschi
Copy link
Copy Markdown
Contributor

Summary:
The cache for RNTester is broken because the matrix parameters used to test RNTester are not part of the job_id that is used to create the cache keys to restore the Podfile.lock.

This means that we have a race condition on which job of the matrix manages to save the cache. However, those caches are not always valid for the other jobs that presents different matrix parameters.

This change should fix the issue.

Changelog:

[Internal] - Fix test-rn-tester cache Cache

Differential Revision: D70493507

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 3, 2025
Summary:
The cache for RNTester is broken because the matrix parameters used to test RNTester are not part of the job_id that is used to create the cache keys to restore the Podfile.lock.

This means that we have a race condition on which job of the matrix manages to save the cache. However, those caches are not always valid for the other jobs that presents different matrix parameters.

This change should fix the issue.

## Changelog:
[Internal] - Fix test-rn-tester cache Cache

Reviewed By: cortinico

Differential Revision: D70493507
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Mar 3, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 4205294.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cipolleschi in 4205294

When will my fix make it into a release? | How to file a pick request?

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