Edit: This is fixed as of the September image
On the latest windows-server-2022-gui:2023.06.1 windows image attaching workspaces from previous jobs is taking upwards of 6 minutes on our builds, when previously it would complete in about 40s. We have observed this behavior on builds other than ones from just today.
I ran the same build job with the following image versions back to back:
windows-server-2022-gui:2023.04.1 - Attach workspace took 38s
windows-server-2022-gui:2023.05.1 - Attach workspace took 37s
windows-server-2022-gui:2023.06.1 - Attach workspace took 5m37 and 6m7s (multiple runs)
In our build job, attach workspace downloads 3 .tar.gz files from previous jobs, of sizes ~25mb, ~425mb and ~100mb respectively. When I watched the logs for the slow attached workspace job I could see that the download of the jobs completed fairly quickly, however the âApplying workspace layersâ step in particular seemed to take a large amount of time - even for the smallest 25mb layer.
I tried following the instructions to set up a ramdisk for windows from a Circle CI support article see if this made a difference, but saw no real change to the attach workspace behavior.