mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-02 10:09:02 +01:00
Require recreation in the Docker update overview (#4029)
The summary still said pull and restart even though the maintained procedure requires recreating only Pulse. Link the corrected summary directly to that procedure so an apparent update does not leave the old server running. Contract-Neutral: Documentation and regression checks only. No runtime, API or subsystem contract change. --- Fleet candidate `20261106T161759Z-product-intelligence` from the `product-intelligence` lane. Reviewed tip `cd94240eefeaa4b0a0405b3ca94e8cf2a41fb3ba` on `main`. [How Pulse handles triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
This commit is contained in:
@@ -8,7 +8,7 @@ Pulse supports multiple deployment models. This page clarifies what differs betw
|
||||
| --- | --- | --- | --- |
|
||||
| Proxmox VE LXC (installer) | Proxmox-first deployments | `/etc/pulse` | In-app updates supported |
|
||||
| systemd (bare metal / VM) | Traditional Linux hosts | `/etc/pulse` | In-app updates supported |
|
||||
| Docker | Quick evaluation and container stacks | `/data` (bind mount / volume) | Image pull + restart |
|
||||
| Docker | Quick evaluation and container stacks | `/data` (bind mount / volume) | [Pull + recreate](#docker) |
|
||||
| Kubernetes (Helm) | Cluster operators | `/data` (PVC) | Helm upgrade |
|
||||
| Provider-hosted MSP | Managed service providers, request-assisted | Provider control plane data plus one tenant data directory per client runtime | Provider control plane rollout plus per-client runtime rollout |
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ Pulse supports multiple deployment models. This page clarifies what differs betw
|
||||
| --- | --- | --- | --- |
|
||||
| Proxmox VE LXC (installer) | Proxmox-first deployments | `/etc/pulse` | In-app updates supported |
|
||||
| systemd (bare metal / VM) | Traditional Linux hosts | `/etc/pulse` | In-app updates supported |
|
||||
| Docker | Quick evaluation and container stacks | `/data` (bind mount / volume) | Image pull + restart |
|
||||
| Docker | Quick evaluation and container stacks | `/data` (bind mount / volume) | [Pull + recreate](#docker) |
|
||||
| Kubernetes (Helm) | Cluster operators | `/data` (PVC) | Helm upgrade |
|
||||
| Provider-hosted MSP | Managed service providers, request-assisted | Provider control plane data plus one tenant data directory per client runtime | Provider control plane rollout plus per-client runtime rollout |
|
||||
|
||||
|
||||
@@ -23,6 +23,21 @@ def overview():
|
||||
|
||||
|
||||
class DeploymentUpdateDocsTest(unittest.TestCase):
|
||||
def test_docker_summary_routes_to_recreation_not_a_restart(self):
|
||||
summary = overview().split("## Summary\n", 1)[1].split("\n## ", 1)[0]
|
||||
rows = [line for line in summary.splitlines() if line.startswith("| Docker |")]
|
||||
self.assertEqual(len(rows), 1)
|
||||
cells = [cell.strip() for cell in rows[0].strip("|").split("|")]
|
||||
self.assertEqual(cells[:3], ["Docker", "Quick evaluation and container stacks",
|
||||
"`/data` (bind mount / volume)"])
|
||||
self.assertEqual(cells[3], "[Pull + recreate](#docker)")
|
||||
# Keep the short entry connected to the existing state-preserving
|
||||
# procedure rather than adding a second update recipe to the table.
|
||||
docker = overview().split("### Docker\n", 1)[1].split("\n### ", 1)[0]
|
||||
self.assertIn("](DOCKER.md#-updates)", docker)
|
||||
self.assertIn("Pull and recreate only the Pulse service", docker)
|
||||
self.assertIn("stopping if the pull fails", docker)
|
||||
|
||||
def test_shipped_overview_matches_the_reviewed_guide(self):
|
||||
self.assertEqual(overview(), (ROOT / "frontend-modern/public/docs/DEPLOYMENT_MODELS.md")
|
||||
.read_text(encoding="utf-8"))
|
||||
|
||||
Reference in New Issue
Block a user