I see. I might have confused myself needlessly trying to do all this with Kubernetes, uSync and Umbraco.
I mounted storage, in Kubernetes, on top of the “Views” folder, which seems to have wiped the files.
But this was of course not the case when I hosted in plain Docker, where the “Views” folder would have all my .cshtml files.
I don’t know if you reached the same conclusion in your testing, but I still have the odd behavior when importing.
If there are no physical files in the “Views” folder then uSync will import the templates, but the structure will be wrong, eg. no inheritance for Master views etc.
uSync will also mark all files as changed for every report, after the Templates are imported.
If the files are present on disk, when importing, then this does not happen and Views are imported as I would expect.
Is this in alignment with what you have found and is it just expected with the way importing .cshtml pages work?