Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package 
golang-github-prometheus-alertmanager for openSUSE:Factory checked in at 
2026-11-30 14:28:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager (Old)
 and      
/work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.1340718 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "golang-github-prometheus-alertmanager"

Mon Nov 30 14:28:40 2026 rev:43 rq:1401581 version:0.35.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager/golang-github-prometheus-alertmanager.changes
      2026-11-27 19:46:50.232478953 +0100
+++ 
/work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.1340718/golang-github-prometheus-alertmanager.changes
 2026-11-30 14:32:00.022091860 +0100
@@ -1,0 +2,8 @@
+Wed Nov 25 05:47:54 UTC 2026 - Johannes Kastl 
<[email protected]>
+
+- update to 0.35.1:
+  * [BUGFIX] Raise the HTTP server idle timeout from 90s to 6m so it
+    outlasts the 5m client idle timeout used by Prometheus, avoiding
+    failed alert POSTs on connections closed by the server. #5744
+
+-------------------------------------------------------------------

Old:
----
  alertmanager-0.35.0.tar.gz
  ui-0.35.0.tar.gz

New:
----
  alertmanager-0.35.1.tar.gz
  ui-0.35.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ golang-github-prometheus-alertmanager.spec ++++++
--- /var/tmp/diff_new_pack.BNuCrR/_old  2026-11-30 14:32:00.911129336 +0100
+++ /var/tmp/diff_new_pack.BNuCrR/_new  2026-11-30 14:32:00.913129420 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           golang-github-prometheus-alertmanager
-Version:        0.35.0
+Version:        0.35.1
 Release:        0
 Summary:        Prometheus Alertmanager
 License:        Apache-2.0

++++++ alertmanager-0.35.0.tar.gz -> alertmanager-0.35.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alertmanager-0.35.0/CHANGELOG.md 
new/alertmanager-0.35.1/CHANGELOG.md
--- old/alertmanager-0.35.0/CHANGELOG.md        2026-11-09 08:41:41.000000000 
+0100
+++ new/alertmanager-0.35.1/CHANGELOG.md        2026-11-24 14:54:33.000000000 
+0100
@@ -4,6 +4,10 @@
 behaviour, describe it in the pull request description. Those entries are added
 here, when the release is prepared.
 
+## 0.35.1 / 2026-11-24
+
+* [BUGFIX] Raise the HTTP server idle timeout from 90s to 6m so it outlasts 
the 5m client idle timeout used by Prometheus, avoiding failed alert POSTs on 
connections closed by the server. #5744
+
 ## 0.35.0 / 2026-11-09
 
 * [CHANGE] Promote the `auto-gomemlimit` feature flag to the 
`--auto-gomemlimit` command-line flag. This is a breaking change: the 
`--enable-feature=auto-gomemlimit` option has been removed. #5464
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alertmanager-0.35.0/VERSION 
new/alertmanager-0.35.1/VERSION
--- old/alertmanager-0.35.0/VERSION     2026-11-09 08:41:41.000000000 +0100
+++ new/alertmanager-0.35.1/VERSION     2026-11-24 14:54:33.000000000 +0100
@@ -1 +1 @@
-0.35.0
+0.35.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alertmanager-0.35.0/app/app.go 
new/alertmanager-0.35.1/app/app.go
--- old/alertmanager-0.35.0/app/app.go  2026-11-09 08:41:41.000000000 +0100
+++ new/alertmanager-0.35.1/app/app.go  2026-11-24 14:54:33.000000000 +0100
@@ -528,7 +528,9 @@
                        Handler:           tracing.Middleware(mux),
                        Protocols:         protocols,
                        ReadHeaderTimeout: 10 * time.Second,
-                       IdleTimeout:       90 * time.Second,
+                       // Outlast prometheus/common's five-minute client idle 
timeout so
+                       // alert POSTs do not race the server closing an idle 
connection.
+                       IdleTimeout: 6 * time.Minute,
                }
                server.RegisterOnShutdown(apih.Shutdown)
                return server
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alertmanager-0.35.0/app/http_timeout_test.go 
new/alertmanager-0.35.1/app/http_timeout_test.go
--- old/alertmanager-0.35.0/app/http_timeout_test.go    1970-01-01 
01:00:00.000000000 +0100
+++ new/alertmanager-0.35.1/app/http_timeout_test.go    2026-11-24 
14:54:33.000000000 +0100
@@ -0,0 +1,42 @@
+// Copyright The Prometheus Authors
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package app
+
+import (
+       "context"
+       "testing"
+       "time"
+
+       "github.com/stretchr/testify/require"
+)
+
+func TestApp_HTTPIdleTimeoutOutlastsClient(t *testing.T) {
+       // Like the other app lifecycle tests, run sequentially because 
constructing
+       // the API router mutates global go-openapi state.
+       opts := testOptions(t)
+       opts.WebConfig.WebListenAddresses = &[]string{"127.0.0.1:0", 
"127.0.0.1:0"}
+       a, err := New(opts)
+       require.NoError(t, err)
+       t.Cleanup(func() { require.NoError(t, a.Stop(context.Background())) })
+
+       // prometheus/common keeps client connections idle for five minutes.
+       // The server must let the client close first, avoiding a race between
+       // closing an idle connection and a non-retryable alert POST reusing it.
+       const clientIdleTimeout = 5 * time.Minute
+       require.Len(t, a.servers, 2)
+       for _, server := range a.servers {
+               require.Greater(t, server.IdleTimeout, clientIdleTimeout,
+                       "server idle timeout must outlast the Prometheus client 
idle timeout")
+       }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alertmanager-0.35.0/app/lifecycle_test.go 
new/alertmanager-0.35.1/app/lifecycle_test.go
--- old/alertmanager-0.35.0/app/lifecycle_test.go       2026-11-09 
08:41:41.000000000 +0100
+++ new/alertmanager-0.35.1/app/lifecycle_test.go       2026-11-24 
14:54:33.000000000 +0100
@@ -105,7 +105,7 @@
        a, err := New(testOptions(t))
        require.NoError(t, err)
        require.Equal(t, 10*time.Second, a.servers[0].ReadHeaderTimeout)
-       require.Equal(t, 90*time.Second, a.servers[0].IdleTimeout)
+       require.Equal(t, 6*time.Minute, a.servers[0].IdleTimeout)
        require.NoError(t, a.Start())
 
        addr := a.Addr()

++++++ ui-0.35.0.tar.gz -> ui-0.35.1.tar.gz ++++++

++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager/vendor.tar.gz 
/work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.1340718/vendor.tar.gz
 differ: char 136, line 1

Reply via email to