Skip to content

Fix a bunch of bugs around dynamic files being added and removed#43620

Merged
jasonmalinowski merged 5 commits intodotnet:release/dev16.6from
jasonmalinowski:fix-dynamic-file-exceptions
Apr 30, 2020
Merged

Fix a bunch of bugs around dynamic files being added and removed#43620
jasonmalinowski merged 5 commits intodotnet:release/dev16.6from
jasonmalinowski:fix-dynamic-file-exceptions

Conversation

@jasonmalinowski
Copy link
Member

@jasonmalinowski jasonmalinowski commented Apr 23, 2020

This now correctly handles a file being removed and added a second time, and also a file being removed if there was no dynamic file provided originally.

File at a time may make this easier to review.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1107122

@jasonmalinowski jasonmalinowski requested a review from a team as a code owner April 23, 2020 21:37
@jasonmalinowski jasonmalinowski self-assigned this Apr 23, 2020
@jasonmalinowski
Copy link
Member Author

@CyrusNajmabadi thanks for the feedback, ready for review again.

@jasonmalinowski jasonmalinowski force-pushed the fix-dynamic-file-exceptions branch from 12672dd to c381302 Compare April 24, 2020 17:56
@CyrusNajmabadi
Copy link
Contributor

@jasonmalinowski can you please avoid force pushing. it breaks CR entirely and i have to start over agian.

This now correctly handles a file being removed and added a second time,
and also a file being removed if there was no dynamic file provided
originally. This also adds locks around the operations to ensure
there aren't trivial races.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1107122
@jasonmalinowski jasonmalinowski force-pushed the fix-dynamic-file-exceptions branch from c381302 to 90bdcfa Compare April 25, 2020 01:49
@jasonmalinowski jasonmalinowski marked this pull request as draft April 25, 2020 01:49
@jasonmalinowski jasonmalinowski marked this pull request as ready for review April 27, 2020 21:52
@jasonmalinowski
Copy link
Member Author

@jasonmalinowski jasonmalinowski merged commit 8604e34 into dotnet:release/dev16.6 Apr 30, 2020
@jasonmalinowski jasonmalinowski deleted the fix-dynamic-file-exceptions branch April 30, 2020 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants