Skip to content

Remove unused code following some UCP removal#4444

Draft
jmg-duarte wants to merge 1 commit into
jmgd/remove-ucp/2from
jmgd/remove-ucp/cleanup
Draft

Remove unused code following some UCP removal#4444
jmg-duarte wants to merge 1 commit into
jmgd/remove-ucp/2from
jmgd/remove-ucp/cleanup

Conversation

@jmg-duarte
Copy link
Copy Markdown
Contributor

Description

Removes a bunch of "dead code" — follow up to #4370 (comment)

Changes

  • Removes error paths that are no longer triggered

How to test

Existing tests

@jmg-duarte jmg-duarte requested a review from a team as a code owner May 26, 2026 10:16
@jmg-duarte jmg-duarte marked this pull request as draft May 26, 2026 10:16
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request simplifies the solution domain conversion logic by removing the ZeroScore and SolutionError types, along with the Score::try_new validation. As a result, into_domain methods now return domain solutions directly instead of wrapping them in a Result. This allows for the removal of error-handling logic, error metrics tracking, and partition-filtering in run_loop.rs and shadow.rs. No critical issues were found, and there is no feedback to provide.

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.

1 participant