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.

fix(ci): archive durable root-pair candidate

pulse-triage[bot]3da2356dda10
diff --git a/docs/operations/root-pair-diagnostic.md b/docs/operations/root-pair-diagnostic.md
index 17020d3708..2a33515911 100644
--- a/docs/operations/root-pair-diagnostic.md
+++ b/docs/operations/root-pair-diagnostic.md
@@ -5,9 +5,12 @@ comparison, not release readiness. It never runs package tests, other benchmarks
or layout interventions, and never changes a release threshold.
The source pair is fixed in `scripts/diagnose-root-pair.py`: baseline
-`9168d16a32e948665eba80e2899604933292cdc0` and candidate
-`4cdf250f474ad9cde6ffb121527f021b7387603f`. Tree and HTTP source hashes must
-match. Both API test binaries use Go 1.26.8, readonly modules and identical CI
+`9168d16a32e948665eba80e2899604933292cdc0` and durable main candidate
+`dd388decf5896123b6587b1b16f9aee7c3a747f3`. The candidate has the exact
+`1120cce4d631bca5525cafc5b5620251998773f7` tree measured from ephemeral
+source commit `4cdf250f474ad9cde6ffb121527f021b7387603f7`; metadata retains that original
+evidence identity. Tree and HTTP source hashes must match. Both API test binaries
+use Go 1.26.8, readonly modules and identical CI
embed text; compilation finishes before either warm-up. Four available CPUs
are selected and inherited by children, GOMAXPROCS is four. After two 100ms
warm-ups and ten seconds settling, ten rounds alternate AB/BA with one 1s
diff --git a/scripts/diagnose-root-pair.py b/scripts/diagnose-root-pair.py
index 24762296e5..a951b0b465 100644
--- a/scripts/diagnose-root-pair.py
+++ b/scripts/diagnose-root-pair.py
@@ -11,7 +11,8 @@ import tempfile
from datetime import datetime, timezone
BASE = '9168d16a32e948665eba80e2899604933292cdc0'
-CANDIDATE = '4cdf250f474ad9cde6ffb121527f021b7387603f'
+CANDIDATE = 'dd388decf5896123b6587b1b16f9aee7c3a747f3'
+EVIDENCE_CANDIDATE = '4cdf250f474ad9cde6ffb121527f021b7387603f7'
TREES = {BASE: '439848bb1d62a8ccf743b923eef89f8b47369edf',
CANDIDATE: '1120cce4d631bca5525cafc5b5620251998773f7'}
SOURCE_HASHES = {
@@ -75,6 +76,7 @@ def execute(repo, output):
metadata = {
'purpose': 'diagnostic-only; no gate disposition or release candidate',
'rounds': ROUNDS, 'gomaxprocs': 4, 'benchtime': '1s',
+ 'original_evidence_candidate': EVIDENCE_CANDIDATE,
'workflow_sha': os.environ.get('GITHUB_SHA'),
'run_id': os.environ.get('GITHUB_RUN_ID'),
'run_attempt': os.environ.get('GITHUB_RUN_ATTEMPT'),
diff --git a/scripts/tests/test_root_pair_diagnostic.py b/scripts/tests/test_root_pair_diagnostic.py
index 1b3f4be4d5..84a41e9634 100644
--- a/scripts/tests/test_root_pair_diagnostic.py
+++ b/scripts/tests/test_root_pair_diagnostic.py
@@ -23,9 +23,16 @@ class DiagnosticTests(unittest.TestCase):
self.assertEqual(diag.ROUNDS, 10)
for label in diag.LABELS:
for position in range(2):
- self.assertIn(sum(diag.order(n)[position] == label for n in range(1, 11)), (0, 5))
+ self.assertEqual(sum(diag.order(n)[position] == label for n in range(1, 11)), 5)
self.assertEqual(diag.order(2), tuple(reversed(diag.order(1))))
+ def test_candidate_uses_durable_tree_identical_main_commit(self):
+ self.assertEqual(diag.CANDIDATE, 'dd388decf5896123b6587b1b16f9aee7c3a747f3')
+ self.assertEqual(diag.EVIDENCE_CANDIDATE,
+ '4cdf250f474ad9cde6ffb121527f021b7387603f7')
+ self.assertEqual(diag.TREES[diag.CANDIDATE],
+ '1120cce4d631bca5525cafc5b5620251998773f7')
+
def test_execution_is_root_only(self):
for warmup in (True, False):
args = diag.bench_args(Path('/tmp/fixture.test'), warmup)
@@ -94,6 +101,7 @@ class DiagnosticTests(unittest.TestCase):
calls = self.exercise(output)
metadata = json.loads((output / 'metadata.json').read_text())
self.assertTrue(metadata['complete'])
+ self.assertEqual(metadata['original_evidence_candidate'], diag.EVIDENCE_CANDIDATE)
self.assertEqual(len(metadata['conditions']), 2)
for label in diag.LABELS:
self.assertEqual((output / (label + '.txt')).read_text(), SAMPLE * 10)