Skip to content

Merge main to feature/ST#18126

Closed
bwplotka wants to merge 50 commits into
feature/start-timefrom
main
Closed

Merge main to feature/ST#18126
bwplotka wants to merge 50 commits into
feature/start-timefrom
main

Conversation

@bwplotka

Copy link
Copy Markdown
Member

NOTE: Use merge commit!

Does this PR introduce a user-facing change?

NONE

3Juhwan and others added 26 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
@github-advanced-security

Copy link
Copy Markdown

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@ywwg

ywwg commented Feb 20, 2026

Copy link
Copy Markdown
Member

well, approved pending the necessary callsite fixes

renovate Bot and others added 19 commits February 21, 2026 10:21
…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>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
#18142)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
… 42d3e9b (#18132)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
… v2.28.0 (#18159)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
… 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]>
renovate Bot added 4 commits February 22, 2026 17:50
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>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…#18161)

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

Copy link
Copy Markdown
Member Author

Moved to a PR I have control over (this was with GH UI): #18171

@bwplotka bwplotka closed this Feb 23, 2026
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.