You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(config): a settings save writes only the changed keys and keeps the comments and unknown keys of config.yaml #1999
save_settings writes the whole settings model back to config.yaml. A save drops the comments and the order of the file, and it writes every default. #1921 added a copy before each write and a change record, so a person can restore a file, but a save still rewrites the whole file.
Proposed fix
Use ruamel.yaml round-trip mode, which keeps comments, order and keys that the model does not know, and write only the changed keys.
Review each of the eight callers of save_settings, and keep only the ones that must write the file.
Acceptance criteria
A test saves one changed key into a file with comments and an unknown key, and the file keeps both.
Each remaining caller of save_settings has a test that names the keys it writes.
Activity
fix(tests): a test that writes a real config.yaml fails at the write …
dan-petty commentedon Oct 24, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
This change improves configuration handling but does not fix a critical issue.The change enhances user experience by preserving file structure during saves.Requires modifying the save logic and reviewing all callers of save_settings.chore(main): release 0.4.0 (#1960)
feat(config): devops config unset removes a key, and an unknown key's…