In theory, all startup trace should almost be /settings/DummySetting. This is what we do explicitly before reusing the site and 99% are exactly that.
Looking trace.xml from Kudu run, I noticed we have 3 more occurrences of restarts not fit the above.
/settings/SCM_BUILD_ARGS in ExtraBuildArgumentsAreApplied test. This is expected as the test change the AppSettings and call get value till it becomes valid.
/scm/info in NodeVersionPickerSelectsRightVersionOfNodeRuntime test. ??
/scm/info for PullApiTestBitbucketFormatWithMercurial test. ??
It is good to understand why 2. and 3. Whether it is specific to the tests? It might reveal something interesting.
Open for tracking.
We should check whether 2. and 3. are consistent from run to run or random.
In latest test run, all restarts are for DummySetting as expected. However, it's only a small portion of the run since the log doesn't keep everything. But let's call it good enough for now.