Reject a history rewrite you did not ask for.

Do not run a command that rewrites old commits.

Restate the rule after compacting.

Run the one test that covers the change.

Check the commit list is unchanged.

Change one variable at a time and confirm what actually helped.

If a company policy is involved, rule that out before chasing client settings.

Write the working steps into a short checklist for next time.

Export or screenshot a good setup so reinstalls are faster.

If it still flakes, retest on a clean network such as phone hotspot.