Skip to content

Conversation

@watilde
Copy link
Contributor

@watilde watilde commented Dec 8, 2025

What / Why

Replaced verbose logic (get, copy, set) with a single, atomic set({ [prop]: value }) call. This simplifies the code, improves efficiency, and eliminates potential race conditions when updating a single configuration property. 100% test coverage maintained; no test code changed.

@watilde watilde requested a review from a team as a code owner December 8, 2025 23:23
@watilde watilde changed the title refactor(profile): Remove FIXME, streamline property setting fix(profile): Remove FIXME, streamline property setting Dec 8, 2025
@watilde watilde changed the title fix(profile): Remove FIXME, streamline property setting fix(profile): streamline property setting Dec 8, 2025
@wraithgar
Copy link
Member

This also undoes the purpose of this code, which is to not clear things that we aren't changing.

@watilde
Copy link
Contributor Author

watilde commented Dec 10, 2025

Sounds good. I was thinking if it's better to improve FIXME, but that's right. Let me close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants