bwplotka
b902c36303
Merge branch 'release-3.12' into release-sync-main
2026-05-29 12:54:58 +01:00
Bartlomiej Plotka
9f27dffc1f
Merge pull request #18812 from prometheus/cut-312
...
CI / Go tests (push) Has been cancelled
CI / More Go tests (push) Has been cancelled
CI / Go tests for 32-bit x86 (push) Has been cancelled
CI / Go tests for Prometheus upgrades and downgrades (push) Has been cancelled
CI / Go tests with previous Go version (push) Has been cancelled
CI / UI tests (push) Has been cancelled
CI / Go tests on Windows (push) Has been cancelled
CI / Mixins tests (push) Has been cancelled
CI / Compliance testing (push) Has been cancelled
CI / Build Prometheus for common architectures (push) Has been cancelled
CI / Build Prometheus for all architectures (push) Has been cancelled
CI / Check generated parser (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
CI / fuzzing (push) Has been cancelled
CI / codeql (push) Has been cancelled
CI / Report status of build Prometheus for all architectures (push) Has been cancelled
CI / Publish main branch artifacts (push) Has been cancelled
CI / Publish release artefacts (push) Has been cancelled
CI / Publish UI on npm Registry (push) Has been cancelled
chore: Cut 3.12.0
2026-05-28 17:31:32 +02:00
bwplotka
4158cac050
upgade Go modules
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-05-28 15:58:39 +01:00
bwplotka
65f818aced
bump UI version
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-05-28 15:19:59 +01:00
bwplotka
5a07c5e265
release: cut 3.12.0
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-05-28 15:16:44 +01:00
Julien
55226fb8b2
Merge pull request #18802 from roidelapluie/roidelapluie/reposync-per-org-token
...
buf.build / lint and publish (push) Has been cancelled
CI / Go tests (push) Has been cancelled
CI / More Go tests (push) Has been cancelled
CI / Go tests for 32-bit x86 (push) Has been cancelled
CI / Go tests for Prometheus upgrades and downgrades (push) Has been cancelled
CI / Go tests with previous Go version (push) Has been cancelled
CI / UI tests (push) Has been cancelled
CI / Go tests on Windows (push) Has been cancelled
CI / Mixins tests (push) Has been cancelled
CI / Compliance testing (push) Has been cancelled
CI / Build Prometheus for common architectures (push) Has been cancelled
CI / Build Prometheus for all architectures (push) Has been cancelled
CI / Check generated parser (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
CI / fuzzing (push) Has been cancelled
CI / codeql (push) Has been cancelled
govulncheck / Run govulncheck (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CI / Report status of build Prometheus for all architectures (push) Has been cancelled
CI / Publish main branch artifacts (push) Has been cancelled
CI / Publish release artefacts (push) Has been cancelled
CI / Publish UI on npm Registry (push) Has been cancelled
chore(reposync): use per-org PATs for repo sync PR creation
2026-05-27 16:35:47 +02:00
Julien
f83961b78e
Merge pull request #18800 from roidelapluie/roidelapluie/reposynclicense
...
scripts: fix LICENSE check using stale target_file in sync_repo_files
2026-05-27 15:32:25 +02:00
Julien Pivotto
b67d15347a
ci: use per-org PATs for repo sync PR creation
...
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-27 15:23:08 +02:00
Julien
e22a55b241
Merge pull request #18801 from roidelapluie/roidelapluie/syncfail
...
chore(reposync): Debug failures.
2026-05-27 14:27:57 +02:00
Julien Pivotto
ae068a8898
chore(reposync): Debug failures.
...
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-27 14:24:10 +02:00
Julien
5849f58282
Merge pull request #18799 from roidelapluie/roidelapluie/reposyncfork
...
scripts: fork without organization in sync_repo_files
2026-05-27 11:31:08 +02:00
Julien Pivotto
20bc5a2f99
scripts: fix LICENSE check using stale target_file in sync_repo_files
...
The check_license guard ran before target_file was fetched, so it always
tested the previous iteration's file content (CODE_OF_CONDUCT.md) instead
of the target repo's LICENSE. This caused the LICENSE file to be silently
skipped on every run regardless of the actual license.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-27 10:18:44 +02:00
Julien Pivotto
7657baa6c3
scripts: fork without organization in sync_repo_files
...
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-27 09:59:05 +02:00
Julien
17f480db9e
Merge pull request #18796 from roidelapluie/roidelapluie/scipt2
...
chore(reposync): use fork actual name and new API version in sync_repo_files
2026-05-27 09:38:20 +02:00
Julien Pivotto
0b47509663
chore(reposync): use fork actual name and new API version in sync_repo_files
...
Read the fork's actual full_name from the fork API response instead of
constructing it. Pass the fork full_name to post_pull_request so the checkout
hint uses the correct repo name.
Use newly-created scoped PROMBOT_REPOSYNC_TOKEN in the workflow.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-26 17:00:13 +02:00
Nandhis
80b1044a9e
discovery/scaleway: discover IPAM private NIC addresses ( #18772 )
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests for 32-bit x86 (push) Waiting to run
CI / Go tests for Prometheus upgrades and downgrades (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
govulncheck / Run govulncheck (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
Signed-off-by: msnandhis <45960035+msnandhis@users.noreply.github.com>
2026-05-26 16:17:42 +02:00
Julien
73d58e6df8
Merge pull request #18793 from roidelapluie/roidelapluie/reposync
...
scripts: sync_repo_files via prombot fork
2026-05-26 12:45:24 +02:00
Julien Pivotto
c2386b2da5
scripts: add checkout hint to sync_repo_files PR body
...
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-26 12:28:29 +02:00
Julien Pivotto
4d28ed112b
scripts: sync_repo_files via prombot fork
...
Open the sync PRs from a prombot-owned fork instead of pushing the branch
to the upstream repo. The fork name is prefixed with the upstream org
(e.g. prometheus_node_exporter) so repos with the same name in
different orgs do not collide. The GitHub forks API is idempotent and
returns the existing fork on subsequent calls.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-26 11:52:38 +02:00
Julius Volz
f37442d25a
Merge pull request #18783 from flying-musk/test-promql-quoted-label-name
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests for 32-bit x86 (push) Waiting to run
CI / Go tests for Prometheus upgrades and downgrades (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
govulncheck / Run govulncheck (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
ui: cover PromQL label name quoting
2026-05-25 11:26:12 +02:00
Julius Volz
96af1b27c4
Merge pull request #18784 from flying-musk/test-parse-prometheus-duration
...
ui: cover Prometheus duration parsing
2026-05-25 11:25:09 +02:00
Flying Musk
a8c57e3117
test(ui): cover Prometheus duration parsing
...
Signed-off-by: Flying Musk <musk.flying@gmail.com>
2026-05-24 16:15:45 -07:00
Flying Musk
672330bd70
test(ui): cover PromQL label name quoting
...
Signed-off-by: Flying Musk <musk.flying@gmail.com>
2026-05-24 15:45:59 -07:00
Julius Volz
01822f2a7c
Merge pull request #18780 from flying-musk/test-url-state-complex-promql
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests for 32-bit x86 (push) Waiting to run
CI / Go tests for Prometheus upgrades and downgrades (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
govulncheck / Run govulncheck (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
ui: cover PromQL URL-sensitive characters in URL state test
2026-05-24 11:24:06 +02:00
Flying Musk
5261349613
test(ui): cover PromQL URL-sensitive characters
...
Signed-off-by: Flying Musk <musk.flying@gmail.com>
2026-05-23 20:26:45 -07:00
renovate[bot]
1a7ad07bb9
Update module github.com/bufbuild/buf to v1.69.0 ( #18760 )
...
buf.build / lint and publish (push) Has been cancelled
CI / Go tests (push) Has been cancelled
CI / More Go tests (push) Has been cancelled
CI / Go tests for 32-bit x86 (push) Has been cancelled
CI / Go tests for Prometheus upgrades and downgrades (push) Has been cancelled
CI / Go tests with previous Go version (push) Has been cancelled
CI / UI tests (push) Has been cancelled
CI / Go tests on Windows (push) Has been cancelled
CI / Mixins tests (push) Has been cancelled
CI / Compliance testing (push) Has been cancelled
CI / Build Prometheus for common architectures (push) Has been cancelled
CI / Build Prometheus for all architectures (push) Has been cancelled
CI / Check generated parser (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
CI / fuzzing (push) Has been cancelled
CI / codeql (push) Has been cancelled
govulncheck / Run govulncheck (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CI / Report status of build Prometheus for all architectures (push) Has been cancelled
CI / Publish main branch artifacts (push) Has been cancelled
CI / Publish release artefacts (push) Has been cancelled
CI / Publish UI on npm Registry (push) Has been cancelled
* Update module github.com/bufbuild/buf to v1.69.0
* chore: bump go directive to 1.25.6
---------
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2026-05-23 16:05:26 +02:00
renovate[bot]
c5beac40e8
Update golang/govulncheck-action action to v1.0.4 ( #18749 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 12:29:22 +00:00
renovate[bot]
50d4c349de
Update quay.io/prometheus/golang-builder Docker tag to v1.26 ( #18149 )
...
* Update quay.io/prometheus/golang-builder Docker tag to v1.26
---------
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2026-05-23 12:28:15 +00:00
renovate[bot]
e1429b4f68
Update dependency sanitize-html to v2.17.4 [SECURITY] ( #18697 )
...
* chore(deps): update dependency sanitize-html to v2.17.4 [security]
---------
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2026-05-23 12:21:32 +00:00
renovate[bot]
889c80fb9d
Update module google.golang.org/grpc to v1.81.1 ( #18753 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 11:40:07 +00:00
renovate[bot]
711157537f
Update github/codeql-action action to v4.36.0 ( #18748 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 11:21:20 +00:00
renovate[bot]
5e942c56cf
Update module github.com/vultr/govultr/v3 to v3.31.2 ( #18752 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 13:16:34 +02:00
renovate[bot]
f5a2328655
Update module github.com/linode/linodego to v1.69.1 ( #18750 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 13:16:26 +02:00
renovate[bot]
a3838e6905
Update module github.com/pb33f/libopenapi to v0.36.6 ( #18751 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 13:15:27 +02:00
renovate[bot]
108baf1319
Update github.com/prometheus/client_golang/exp digest to c9d5bc4 ( #18745 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 13:11:30 +02:00
renovate[bot]
d6e4d6d7e6
Update google.golang.org/genproto/googleapis/api digest to 0a33c5d ( #18746 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 13:11:22 +02:00
renovate[bot]
a4abbf3092
Update Node.js to v22.22.3 ( #18148 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 13:10:34 +02:00
renovate[bot]
2a5793c38d
Update actions/stale action to v10.3.0 ( #18755 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 13:10:28 +02:00
renovate[bot]
7a610ef8cc
Update AWS Go dependencies ( #18756 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 13:10:26 +02:00
renovate[bot]
cc4dba12eb
Update module golang.org/x/net to v0.55.0 [SECURITY] ( #18775 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 13:08:45 +02:00
renovate[bot]
08fad959bb
Update module github.com/digitalocean/godo to v1.192.0 ( #18761 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 13:08:42 +02:00
Owen Williams
134051d480
tsdb: Add TODOs for ST-in-WAL work ( #18773 )
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests for 32-bit x86 (push) Waiting to run
CI / Go tests for Prometheus upgrades and downgrades (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
govulncheck / Run govulncheck (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
Comment-only changes.
This will make it easier for me to track my work.
Signed-off-by: Owen Williams <owen.williams@grafana.com>
2026-05-22 13:37:35 -04:00
Julien
6926f90224
Merge pull request #18767 from roidelapluie/roidelapluie/fuzz-parseexpr-unexpected-error
...
fuzzing: detect parser runtime panics in FuzzParseExpr
2026-05-22 18:08:56 +02:00
Julien
74b3ba55d4
Merge pull request #18768 from roidelapluie/roidelapluie/panic-parent-dur-expr
...
promql/parser: fix panic on parenthesised number in offset_duration_expr
2026-05-22 18:04:15 +02:00
Julien
9e3d15aa24
Merge pull request #18766 from prometheus/deps-update/go-golang.org-x-crypto-vulnerability
...
Update module golang.org/x/crypto to v0.52.0 [SECURITY]
2026-05-22 17:35:26 +02:00
Julien Pivotto
cec97e5948
promql/parser: extract helpers to reduce duplication in duration expression parsing
...
Add durationLiteralOutOfRange to centralise the int64 nanosecond overflow
check for numeric duration literals, replacing three identical inline
conditions in the grammar.
Add applyUnaryOpToDurationExpr to handle the unary +/- type-switch over
*DurationExpr/*NumberLiteral, collapsing two near-identical grammar
action blocks (offset_duration_expr and duration_expr) into single calls.
Regenerate generated_parser.y.go.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-22 17:29:46 +02:00
Julien Pivotto
5a152e815e
promql/parser: fix panic on parenthesised number in offset_duration_expr
...
The `unary_op LEFT_PAREN duration_expr RIGHT_PAREN` production in
`offset_duration_expr` unconditionally asserted `$3.(*DurationExpr)`,
but `duration_expr` can also reduce to a `*NumberLiteral` (e.g. the
literal `0` or `5` inside parentheses). This caused a runtime panic
recoverable only by the top-level recover in parse.go, which surfaced
as an opaque "unexpected error".
Replace the hard type-assertion with a type switch matching the same
pattern used by the `unary_op duration_expr` production in
`duration_expr`: handle `*DurationExpr` (set Wrapped, negate if SUB)
and `*NumberLiteral` (negate value if SUB, range-check, update pos),
with a fallback parse error for unexpected node types.
Regenerate generated_parser.y.go from the updated grammar.
Add regression tests: `foo offset +(5)` and `foo offset -(5)` now
parse correctly as ±5 s offsets.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-22 17:13:17 +02:00
Julien Pivotto
7a70afb5a4
fuzzing: detect parser runtime panics in FuzzParseExpr
...
Export ErrUnexpected from the parser package so the fuzz test can use
errors.Is to detect when the parser's recover() handler caught a
runtime panic. Previously these were silently swallowed; now
FuzzParseExpr fails on them.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-22 17:04:02 +02:00
renovate[bot]
799b9c4363
Update module golang.org/x/crypto to v0.52.0 [SECURITY]
2026-05-22 14:38:12 +00:00
Julien
f7bd18d767
Merge pull request #18764 from roidelapluie/roidelapluie/fix-smoothed-anchored-panic
...
promql/parser: fix panic in setAnchored/setSmoothed for non-selector ranges
2026-05-22 16:36:07 +02:00