Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant information from the config hash part of the haste map #7218

Merged

Conversation

rubennorte
Copy link
Contributor

@rubennorte rubennorte commented Oct 19, 2018

Summary

This simplifies the remote caching of haste map files. Right now the haste map name is structured as haste-map-${name}-${rootDirHash}-${configHash}. This modifies the configHash so it's not affected by the rootDirHash (and passes the project name so it's still taken into account).

Test plan

Updated unit tests.

@rubennorte rubennorte force-pushed the remove-haste-name-prefix-from-config-hash branch 2 times, most recently from c9d922a to 7d5c48a Compare October 19, 2018 18:01
@rubennorte rubennorte force-pushed the remove-haste-name-prefix-from-config-hash branch from 7d5c48a to e712705 Compare October 19, 2018 18:03
@rubennorte rubennorte force-pushed the remove-haste-name-prefix-from-config-hash branch from e712705 to 66ef0b3 Compare October 19, 2018 18:04
@rubennorte rubennorte merged commit a5d4bdd into jestjs:master Oct 19, 2018
@rubennorte rubennorte deleted the remove-haste-name-prefix-from-config-hash branch October 19, 2018 18:44
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants