[PR #5918] [MERGED] Remove the JSON reserializers (except for AKB) #26531

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/5918
Author: @DHowett-MSFT
Created: 5/15/2020
Status: Merged
Merged: 5/15/2020
Merged by: @DHowett-MSFT

Base: masterHead: dev/duhowett/dedeserialize


📝 Commits (1)

  • 9755381 Remove the JSON reserializers (except for AKB)

📊 Changes

8 files changed (+2 additions, -298 deletions)

View changed files

📝 src/cascadia/LocalTests_TerminalApp/SettingsTests.cpp (+2 -2)
📝 src/cascadia/TerminalApp/ColorScheme.cpp (+0 -26)
📝 src/cascadia/TerminalApp/ColorScheme.h (+0 -1)
📝 src/cascadia/TerminalApp/GlobalAppSettings.cpp (+0 -34)
📝 src/cascadia/TerminalApp/GlobalAppSettings.h (+0 -1)
📝 src/cascadia/TerminalApp/Profile.cpp (+0 -177)
📝 src/cascadia/TerminalApp/Profile.h (+0 -2)
📝 src/cascadia/ut_app/JsonTests.cpp (+0 -55)

📄 Description

The AKB serializer is used in the tracelogging pipeline.

Chatted with @zadjii-msft about ganking the deserializers. The form they'll take in the future is probably very different from this.

We'll need to have some better tracking of the source or pass a setting was read during so that we can accurately construct an internal settings attribution model. Diffing was very extremely cool, but we didn't end up needing it.

This apparently drops our binary size by a whopping zero bytes because the optimizer was smarter than us and actually totally deleted it.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/5918 **Author:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Created:** 5/15/2020 **Status:** ✅ Merged **Merged:** 5/15/2020 **Merged by:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Base:** `master` ← **Head:** `dev/duhowett/dedeserialize` --- ### 📝 Commits (1) - [`9755381`](https://github.com/microsoft/terminal/commit/9755381942dc2cdf618df138e647a7687e761f4c) Remove the JSON reserializers (except for AKB) ### 📊 Changes **8 files changed** (+2 additions, -298 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/LocalTests_TerminalApp/SettingsTests.cpp` (+2 -2) 📝 `src/cascadia/TerminalApp/ColorScheme.cpp` (+0 -26) 📝 `src/cascadia/TerminalApp/ColorScheme.h` (+0 -1) 📝 `src/cascadia/TerminalApp/GlobalAppSettings.cpp` (+0 -34) 📝 `src/cascadia/TerminalApp/GlobalAppSettings.h` (+0 -1) 📝 `src/cascadia/TerminalApp/Profile.cpp` (+0 -177) 📝 `src/cascadia/TerminalApp/Profile.h` (+0 -2) 📝 `src/cascadia/ut_app/JsonTests.cpp` (+0 -55) </details> ### 📄 Description The AKB serializer is used in the tracelogging pipeline. Chatted with @zadjii-msft about ganking the deserializers. The form they'll take in the future is probably very different from this. We'll need to have some better tracking of the _source_ or _pass_ a setting was read during so that we can accurately construct an internal settings attribution model. Diffing was very extremely cool, but we didn't end up needing it. This apparently drops our binary size by a whopping _zero bytes_ because the optimizer was smarter than us and actually totally deleted it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:16:39 +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#26531