Repository navigation
Conversation
|
Workflow [PR], commit [852b486] Summary: ✅
AI ReviewSummaryThis PR refactors PromQL duplicate-series checks for binary operators so they are computed per step after the join, and adds stateless coverage for the new behavior. The refactor removes some false positives, but it also weakens the check on the side Prometheus still treats as uniquely matched: upstream Prometheus still rejects duplicate series on that side before it probes for a match, while this patch now lets those unmatched duplicates pass. Because that changes PromQL semantics and the new tests lock the divergence in, I would not merge it as-is. Findings❌ Blockers
Final Verdict
|
f14ba51 to
1f7f9cb
Compare
1f7f9cb to
25af3a6
Compare
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Compile time of recompiled translation units72 translation units recompiled, 165 s compile time in total, 72 of them have a recent master baseline. |
Duplicates on the side "one" are reported only at steps where a matched series
of the other side has a value (see `makeNoDuplicatePerStepCheck`), so
`req{instance="i1"} / on(instance) lim` and its `group_left` variant return
a result instead of an error. Dropping the metric name still reports duplicates
in any group.
25af3a6 to
852b486
Compare
PromQL Compliance ReportBaseline: S3 master
Extended support (upstream engine tests): native-histogram exclusions: 149; excluded assertions: 248; upstream Note: Prometheus compliance score is unchanged vs baseline. |
2393ab2
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
PromQL: check duplicate series of binary operators after the
JOIN.Follow-up to #124086.
Before this PR the duplicate series check for binary operators was done before the JOIN: each side which must be unique (both sides of a one-to-one match, the side
oneofgroup_left/group_right) was checked across all its series, so a duplicate which the other side does not even match failed the whole query.Now the check happens after the
JOIN, and duplicates are reported only at steps where the matched series of the other side has a value.Workflow [PR]
Sync PR [sync-upstream/pr/124879]
Version info
26.10.1.2268-master(included in26.10and later)