What's wrong with this entry?
Anonymous. No account, no email.
What: Settings are now only written to disk when OAuth account information actually changes.
How it works:
- Previously, every call to update OAuth account settings triggered a disk write
- Now, all five account fields (accountUuid, emailAddress, organizationUuid, displayName, hasExtraUsageEnabled) are compared before writing
- If all fields match the existing stored values, the write is skipped
Details:
- Reduces unnecessary disk I/O during token refresh operations
- Uses strict equality checks with optional chaining for safety
- Evidence:
HW1()function at line 74155 with comparison at lines 74170-74176, compared to old unconditionalG$1()function