Skip to content

Merge main to feature/start-time#18171

Merged
bwplotka merged 50 commits into
feature/start-timefrom
st-f-main
Feb 23, 2026
Merged

Merge main to feature/start-time#18171
bwplotka merged 50 commits into
feature/start-timefrom
st-f-main

Conversation

@bwplotka

@bwplotka bwplotka commented Feb 23, 2026

Copy link
Copy Markdown
Member

Auto-pull failed: #18126

One commit on top fixes breaking changes (new test).

Got approve from @ywwg on the similar PR without a tiny fix commit #18126 (review)

NOTE: Use merge submit

Does this PR introduce a user-facing change?

NONE

3Juhwan and others added 30 commits November 4, 2025 17:02
testing: enable experimental functions in promql benchmarks
* Add new test cases for multiple name matchers in PromQL info function
* Fix handling of multiple name matchers in PromQL info function

---------

Signed-off-by: Jeanette Tan <[email protected]>
…am write paths

The OTLP write handler and the PRW v2 histogram append path were missing
ErrTooOldSample from their error type checks, causing these errors to
fall through to the default case and return HTTP 500 Internal Server Error.
This triggered unnecessary retries in OTLP clients like the Python SDK.

The PRW v1 write handler (line 115) and the PRW v2 sample append path
(line 377) already correctly handle ErrTooOldSample as a 400, and this
change makes the remaining paths consistent.

Also adds ErrTooOldSample to the v1 sample/histogram log checks so
these errors are properly logged instead of silently returned.

Fixes #16645

Signed-off-by: Varun Chawla <[email protected]>
…data points (#18056)

In addHistogramDataPoints, exemplars assigned to the +Inf bucket of one
data point were carried over into the _sum and _count Append calls of
the next data point via the shared appOpts. Clear appOpts.Exemplars at
the start of each loop iteration to restore the nil-exemplar semantics
that existed before the AppenderV2 migration.

Signed-off-by: Arve Knudsen <[email protected]>
Replace polling loops (for range 100 { time.Sleep }) with explicit
db.Compact() calls after disabling background compaction, eliminating
CI flakiness on slow machines. Also fix incorrect overlap assertions
that were checking the wrong direction (LessOrEqual -> GreaterOrEqual).

Signed-off-by: Arve Knudsen <[email protected]>
Convert all timing-sensitive subtests of TestAsyncRuleEvaluation to use
synctest for deterministic testing. This fixes flakiness on Windows
caused by timer granularity and scheduling variance.

The timing assertions are preserved using synctest's fake time, which
allows accurate verification of sequential vs concurrent execution
timing without relying on wall-clock time.

Fixes #17961

Signed-off-by: Arve Knudsen <[email protected]>
He's been participating in the bug scrub for a year and provides
reviews all over the code base. Also fix name spelling.

Signed-off-by: György Krajcsovits <[email protected]>
… rules (#18097)

Both are regressions from the parser refactoring in #17977.

- Fixes #18092
- Fixes #18093

Signed-off-by: Martin Valiente Ainz <[email protected]>
tsdb:Optimize LabelValues API performance (#14551)
#17598)

* RemoveTmpDirs function to tsdbutil
* Refactor db to use RemoveTmpDirs and no longer cleanup checkpoint tmp dirs
* Use RemoveTmpDirs in wlog checkpoint to cleanup all checkpoint tmp folders
* Add tests for RemoveTmpDirs
* Ensure db.Open will still cleanup extra temporary checkpoints

Signed-off-by: Kyle Eckhart <[email protected]>
tsdb: fix flaky TestBlockRanges by using explicit compaction
…ample

fix: handle ErrTooOldSample as 400 in OTLP and v2 histogram write paths
test(web): Wait for server ready instead of sleeping 5 seconds.
Since our minimum supported go version is now go 1.25, we can use wg.Go.

Signed-off-by: Julien Pivotto <[email protected]>
Signed-off-by: Linas Medziunas <[email protected]>
Signed-off-by: Björn Rabenstein <[email protected]>
Signed-off-by: beorn7 <[email protected]>
Co-authored-by: Björn Rabenstein <[email protected]>
Co-authored-by: beorn7 <[email protected]>
chore: enable staticcheck linter and update golangci-lint to 2.10.1
model/labels: improve performance for regex alternations of form .*literal1.*|.*literal2.*
…18128)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate Bot and others added 8 commits February 22, 2026 09:48
… to v1.37.0 (#18158)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…8157)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* AWS SD: Elasticache

This change adds Elasticache to the AWS SD.

Co-authored-by: Ben Kochie <[email protected]>
Signed-off-by: Matt <[email protected]>

---------

Signed-off-by: Matt <[email protected]>
Co-authored-by: Ben Kochie <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
… v1.3.3 (#18137)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: bwplotka <[email protected]>
@bwplotka
bwplotka requested review from krajorama and ywwg February 23, 2026 10:03
@bwplotka
bwplotka changed the base branch from main to feature/start-time February 23, 2026 10:03
@bwplotka

Copy link
Copy Markdown
Member Author

The only failure comes from flakiness around OOM in rare arch, we know about this:

runtime: out of memory: cannot allocate 327155712-byte block (3396042752 in use)
fatal error: out of memory

goroutine 10352 gp=0xcc49d48 m=3 mp=0xbc6b008 [running, synctest bubble 2]:
runtime.throw({0x91ce862, 0xd})
/usr/local/go/src/runtime/panic.go:1094 +0x35 fp=0xc147d24 sp=0xc147d10 pc=0x80cffb5
runtime.(*mcache).allocLarge(0xed349088, 0x13472000, 0x1)
/usr/local/go/src/runtime/mcache.go:238 +0x1c2 fp=0xc147d50 sp=0xc147d24 pc=0x8069b92
runtime.mallocgcLarge(0x13472000, 0x0, 0x0)
/usr/local/go/src/runtime/malloc.go:1552 +0x82 fp=0xc147d84 sp=0xc147d50 pc=0x8066b32

@bwplotka

Copy link
Copy Markdown
Member Author

Merging given the @ywwg approve in #18126 (review)

@bwplotka
bwplotka merged commit 608e99f into feature/start-time Feb 23, 2026
32 of 33 checks passed
@bwplotka
bwplotka deleted the st-f-main branch February 23, 2026 10:26
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.