Repository navigation
Preserve weighted outcome constraints in SQL storage - #5325
Closed
saitcakmak wants to merge 1 commit into
Closed
saitcakmak wants to merge 1 commit into
saitcakmak wants to merge 1 commit into
Conversation
Summary: ## What Changed Store multi-metric `OutcomeConstraint` expressions using the existing scalarized constraint rows instead of silently dropping all but the first metric. Preserve the original expression and map metric names to signatures using the child rows. Keep the legacy scalarized decoder for rows without an expression. No schema change. Differential Revision: D134526278
@meta-cla
meta-cla
Bot
added
the
CLA Signed
Do not delete this pull request or issue due to inactivity.
label
Nov 30, 2026
@saitcakmak has exported this pull request. If you are a Meta employee, you can view the originating Diff in D134526278.
codecov-commenter
commented
Nov 30, 2026
Codecov Report
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.61%. Comparing base (5beadc8) to head (a8a7c24).
Additional details and impacted files
@@ Coverage Diff @@ ## main #5325 +/- ## ========================================== - Coverage 96.62% 96.61% -0.01% ========================================== Files 621 621 Lines 71301 71324 +23 ========================================== + Hits 68892 68910 +18 - Misses 2409 2414 +5
☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
This pull request has been merged in a86d5b0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
What Changed
Store multi-metric
OutcomeConstraintexpressions using the existing scalarized constraint rows instead of silently dropping all but the first metric. Preserve the original expression and map metric names to signatures using the child rows. Keep the legacy scalarized decoder for rows without an expression. No schema change.Differential Revision: D134526278