[PR #2475] Just never save the settings #24949

Open
opened 2026-01-31 09:06:19 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/2475

State: closed
Merged: Yes


Summary of the Pull Request

This is more trouble than it's worth. We had code before to re-serialize settings when they changed, to try and gracefully migrate settings from old schemas to new ones. This is good in theory, but with #754 coming soon, this is going to become a minefield. In the future we'll just always be providing a base schema that's reasonable, so this won't matter so much. Keys that users have that aren't understood will just be ignored, and that's fine.

PR Checklist

  • Related to #754.
  • I've discussed this with core contributors already.

Validation Steps Performed

I tried changing "acrylicOpacity" to 0.9. When re-serialized, 0.9 becomes 0.8999grabage. This would have caused a re-format before, but no longer does :)

**Original Pull Request:** https://github.com/microsoft/terminal/pull/2475 **State:** closed **Merged:** Yes --- <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request This is more trouble than it's worth. We had code before to re-serialize settings when they changed, to try and gracefully migrate settings from old schemas to new ones. This is good in theory, but with #754 coming soon, this is going to become a minefield. In the future we'll just always be providing a base schema that's reasonable, so this won't matter so much. Keys that users have that aren't understood will just be ignored, and that's _fine_. ### Related Issues * #2389 * #754 <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Related to #754. * [x] I've discussed this with core contributors already. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed I tried changing `"acrylicOpacity"` to `0.9`. When re-serialized, `0.9` becomes `0.8999grabage`. This would have caused a re-format before, but no longer does :)
claunia added the pull-request label 2026-01-31 09:06:19 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24949