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.

Bind report-intake verification to the actual attachment fields

pulse-triage[bot]f8c5e98819d9
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index d2c44168bd..290dcf6319 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -29,7 +29,9 @@ Both forms require local privacy review even for exports labelled sanitized,
and warn against attaching credentials, session cookies, secret URLs, private
host/network or personal details, configuration files and raw request exports.
Removing or pinning a documentation link must not remove those precautions or
-turn evidence fields into mandatory live checks. The form parsing controls in
+turn evidence fields into mandatory live checks. The existing optional
+attachment fields are `logs` in the bug form and `evidence` in the prerelease
+form; their common label is "Logs, screenshots, or diagnostics". The form parsing controls in
`scripts/release_control/release_promotion_policy_test.py` and the existing
community intake tests preserve this installed-version-safe behaviour; they
are source checks, not native diagnostic, guest-thaw or release acceptance.
diff --git a/scripts/release_control/release_promotion_policy_test.py b/scripts/release_control/release_promotion_policy_test.py
index 30ad279d10..ecff268ba4 100644
--- a/scripts/release_control/release_promotion_policy_test.py
+++ b/scripts/release_control/release_promotion_policy_test.py
@@ -1757,7 +1757,7 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
self.assertNotIn("v6.0.0-rc.1", template)
def test_report_intake_safety_is_self_contained_for_installed_releases(self) -> None:
- for name in ("bug_report.yml", "v6_rc_feedback.yml"):
+ for name, evidence_id in (("bug_report.yml", "logs"), ("v6_rc_feedback.yml", "evidence")):
with self.subTest(form=name):
template = read(f".github/ISSUE_TEMPLATE/{name}")
form = yaml.safe_load(template)
@@ -1787,7 +1787,8 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
"full network exports",
):
self.assertIn(precaution, standalone)
- evidence = next(field for field in form["body"] if field.get("id") == "evidence")
+ evidence = next(field for field in form["body"] if field.get("id") == evidence_id)
+ self.assertEqual(evidence["attributes"]["label"], "Logs, screenshots, or diagnostics")
self.assertFalse(evidence.get("validations", {}).get("required", False))
def test_demo_site_copy_points_at_current_release_packet_index(self) -> None: