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

Only emit known symlinks #318

Merged
merged 1 commit into from
Mar 20, 2019
Merged

Only emit known symlinks #318

merged 1 commit into from
Mar 20, 2019

Conversation

guybedford
Copy link
Contributor

@guybedford guybedford commented Mar 20, 2019

The new symlink handling that was added has to integrate with the cache, which means that there is a risk of previously cached symlinks being emitted when they are no longer needed.

To avoid this case, symlinks are filtered to only include symlinks to known assets.

I need to add a test for this still, but wanted to check this approach against CI first. Coverage provided by Tensorflow and Sharp tests.

@guybedford guybedford requested a review from styfle as a code owner March 20, 2019 15:13
@guybedford guybedford force-pushed the known-symlinks branch 2 times, most recently from 09c2735 to 398b896 Compare March 20, 2019 15:23
@guybedford
Copy link
Contributor Author

We've actually got coverage on this through the Tensorflow and Sharp tests, so this is good to go.

@guybedford guybedford changed the title WIP: Only emit known symlinks Only emit known symlinks Mar 20, 2019
Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@styfle styfle merged commit 7c44556 into master Mar 20, 2019
@styfle styfle deleted the known-symlinks branch March 25, 2019 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants