Skip to content

feat(process): support value equality for backoff policies - #185

Merged
greenhat616 merged 1 commit into
mainfrom
feat/backoff-value-equality
Sep 8, 2026
Merged

greenhat616 merged 1 commit into
mainfrom
feat/backoff-value-equality

Conversation

@greenhat616

Copy link
Copy Markdown
Contributor

Expose PartialEq and Eq for Backoff so core-manager can compare process options by value instead of comparing the Debug output of all instance options. No backoff timing behavior changes.

Required by libnyanpasu/nyanpasu-runtime#414 and its controller-policy classification fix.

Validation: downstream core-manager library (107 tests), channel integration (2 tests), service-runtime (87 tests), and application checks exercised the change. The classifier regression verifies that changing backoff still counts as a process change while controller preference alone does not.

Allow lifecycle consumers to compare backoff settings explicitly when
classifying process changes, without depending on Debug formatting.
Copilot AI lite review requested due to automatic review settings September 8, 2026 19:02
@semanticdiff-com

semanticdiff-com Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

Review changes with  SemanticDiff

Changed Files
File Status
  src/process/supervisor.rs  0% smaller

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@greenhat616
greenhat616 merged commit f3cec67 into main Sep 8, 2026
4 checks 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.

2 participants