if you have 150 api's
50 apps | change 5 files in 1 app
45 scripts
and git sync does a git pull
it restarts your app a bunch of time
this happens after a PR from dev->main while prod sits on main
---
suggested fix
Group app restarts with all the files in that app
restart those api's in that group of files
find parent child and restart that way instead of restarting on each file changed
Hello Matthew,
Thank you for the clear description. What you describe matches an issue fixed in PowerShell Universal 2026.3.4, released on October 27, 2026. Its release notes list "Fixed unnecessary app reloads related to the number of files in the app folder".
https://devolutions.net/powershell-universal/release-notes/
From 2026.2.0 up to 2026.3.3, when a Git pull changes 100 files or fewer, the changed files of an app are processed one by one, so an app with Auto Deploy enabled is redeployed once for every changed file in its folder. Five files changed in one app meant five redeploys. In 2026.3.4, the same kind of pull groups the changed files by app folder, so the files changed in one app cause a single reload of that app, which is the grouping you suggested.
A pull that also changes dashboards.ps1, the file that lists your apps, still reloads every app with Auto Deploy once for that file. A first sync, or a pull of more than 100 files, reloads the whole configuration instead.
To confirm this is your case, please tell me the version you run and whether Auto Deploy is enabled on the apps that restart. If you already run 2026.3.4 and an app still restarts several times after a pull, please also send the log zip from the Download button under Logging, on the Log Files tab, taken right after that sync. If your APIs restart during a sync as well, tell me what you see and I will look into that part too.
Best regards,
Michel
Michel Audi
2026.3.4.0 auto deploy in prod is on, send me an upload link
Hello Matthew,
Thank you for confirming that you run 2026.3.4.0 with Auto Deploy on.
You can upload the log zip here.
Please take the zip right after a sync in which an app restarted more than once, with the Download button under Logging, on the Log Files tab. With it, please tell me which app restarted and how many times, about how many files that pull changed, and whether it changed dashboards.ps1. As I mentioned, a pull of more than 100 files reloads the whole configuration and a change to dashboards.ps1 reloads every app with Auto Deploy, so those two answers tell me which part of the sync to look at. If your APIs also restart during that sync, please tell me what you see.
Best regards,
Michel
Michel Audi
/sigh, trying to make it happen is a problem
ope, it just started happening
Hello Matthew,
Thank you for the log and the two screenshots.
At 9:19 the pull of your PR #1370 started jSourceAssistant once. At 9:22 the next Git sync failed. The sync after it reloaded your whole configuration at the same commit, and between 9:23 and 9:25 it started your apps 205 times, where the service start at 9:11 started them 35 times.
In 2026.3.4, a failed Git sync deletes the record of the last successful sync, so the next sync reloads the whole configuration as a first sync would. That reload restarts your apps with Auto Deploy after it reads your variables, your environments and your apps, which is why they started so many times. We reproduced this on 2026.3.4 in our lab, where one failed sync made the next one start each app with Auto Deploy three to five times. Your November 2 log shows about 250 app starts after a pull that changed variables.ps1, with no failed sync.
Your log does not say why the 9:22 sync failed, so I cannot tell yet whether your PR played a part in it. I could not confirm the effect on your APIs either. Did they restart or stop answering requests between 9:23 and 9:25?
I am passing this to our QA team and will let you know what comes of it.
Best regards,
Michel
Michel Audi
i do many PR's in a day and push to prod so, i am 99% sure it was probly a PR. they will ask me to move a button or whatever, we are super active on the PR's.
i have a server on the dev branch
and
i have a prod server on the prod branch
we PR from dev->prod and then the git sync runs and picks it up, sometimes i go click the download button to hurry it up
Hello Matthew,
Thank you for the context.
Your log shows the same commit after the 9:19 pull of your PR #1370 and after the sync that ended at 9:25. It does not show another PR being applied in between. The 9:19 pull started jSourceAssistant once. The 205 app starts came from the full reload that followed the failed sync at 9:22.
A PR can still restart many apps at once. On November 2, a pull that changed variables.ps1 was followed by about 250 app starts, with no failed sync.
Your log does not say why the 9:22 sync failed, so I still cannot tell whether PR #1370 played a part in it. If your APIs restarted or stopped answering during one of these bursts, please tell me.
I am passing this to our QA team and will let you know what comes of it.
Best regards,
Michel
Michel Audi
ya if we could somehow smooth this out, that would be great.
We have another problem, as some of our old tech ages, we have been migrating to PSU. but now it is getting so large i think we are starting to break in places.
Hello Matthew,
Thank you.
I am passing this to our QA team and will let you know what comes of it.
I would also like to look at the other problem with you. Please tell me what breaks and where, for example an app that stops loading, an API that times out or a job that fails, what you see when it happens, and about when it last happened. The next time it happens, please send the log zip taken right after it, from the Download button under Logging, on the Log Files tab, through the upload link I sent you on November 3.
Best regards,
Michel
Michel Audi