Skip to content

Prevent duplicate runtime settings activation#42

Merged
KeyffMS merged 3 commits into
mainfrom
agent/fix-runtime-settings-activation
Jul 23, 2026
Merged

Prevent duplicate runtime settings activation#42
KeyffMS merged 3 commits into
mainfrom
agent/fix-runtime-settings-activation

Conversation

@KeyffMS

@KeyffMS KeyffMS commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • suppress the synchronous runtime settings observer only while RuntimeCoordinator publishes its own settings commit;
  • apply exactly one explicit post-commit runtime reaction;
  • preserve resume behavior from fault/emergency states and correct handling when profiles or automatic mode are disabled;
  • add composed regression tests with SettingsCoordinator.Changed wired to HandleSettingsChanged;
  • advance product metadata to 0.5.0.31.

Root cause

The synchronous Changed event could activate the overlay before the command returned, after which ResumeAutomaticOperation activated or retargeted the same overlay again.

Validation

Windows CI must pass the full build, test suite, and self-contained publish validation. The new tests assert one activation for both profile enabling and automatic-mode enabling.

Closes #34

@KeyffMS
KeyffMS merged commit af7d8a2 into main Jul 23, 2026
1 check passed
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.

Prevent duplicate overlay activation after runtime settings commits

1 participant