Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Retain published cumulative beta packet checks in the reviewed batch

pulse-triage[bot]e114ccafd72c
diff --cc scripts/installtests/build_release_assets_test.go
index 41508f594c,5771f29b5b..e4b8b30dee
--- a/scripts/installtests/build_release_assets_test.go
+++ b/scripts/installtests/build_release_assets_test.go
@@@ -1319,15 -1314,17 +1314,24 @@@ func TestCurrentPrereleasePacketTracksI
"The rollback target is stable `v"+previous+"`",
)
assertFileDoesNotContain(t, releaseNotesPath, "## Fixes")
- comparisonSummary := "This changelog describes the changes since `v" + comparisonVersion + "`"
+ if version == "6.6.0-beta.2" {
- // This packet's recorded list is cumulative from stable, not beta.1.
- // Keep its introduction bound to that actual list and rollback base.
- comparisonSummary = "This cumulative changelog describes the changes included in `v" + version + "` since stable `v" + previous + "`"
- assertFileContainsAllNormalized(t, changelogPath, "## Changes since v"+previous)
++ // Preserve this already-reviewed packet's exact recorded cumulative list.
++ assertFileContainsAllNormalized(t, changelogPath,
++ "This cumulative changelog describes the changes included in `v"+version+"` since stable `v"+previous+"`",
++ "## Changes since v"+previous,
++ )
+ }
if version == "6.4.0-rc.10" {
- comparisonSummary = "The `v6.4.0-rc.9` release staged an immutable draft, tag, and exact-version artifacts but did not activate publicly."
+ assertFileContainsAllNormalized(t, changelogPath,
+ "The `v6.4.0-rc.9` release staged an immutable draft, tag, and exact-version artifacts but did not activate publicly.")
+ } else {
+ content, err := os.ReadFile(changelogPath)
+ if err != nil {
+ t.Fatalf("read %s: %v", changelogPath, err)
+ }
+ if !prereleaseChangelogHasSupportedBase(string(content), version, previous) {
+ t.Fatalf("%s must describe changes since the previous numbered prerelease or stable v%s", changelogPath, previous)
+ }
}
assertFileContainsAllNormalized(t, changelogPath,
"Version: `v"+version+"`",