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.

Clarify local browser targets in dev docs

rcourtmanaef1bd41fa01
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index ab4ceeb0a8..acb4724ed9 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -278,6 +278,13 @@ That same wrapper rule also applies to the managed recovery-proof docs in
bounce or verify the local managed runtime, they must use the repo-root wrapper
surface such as `npm run dev:backend-restart` instead of documenting raw
launcher commands directly.
+That same operator-clarity rule applies anywhere the repo names a local browser
+target. Docs that refer to the backend-served standalone or docker UI on
+`http://127.0.0.1:7655` or `http://localhost:7655` must label it explicitly as
+the embedded frontend or test/standalone UI. They may not present `7655` as
+the generic local Pulse browser target in a way that can be confused with the
+managed hot-dev shell, whose canonical browser entrypoint remains
+`http://127.0.0.1:5173`.
That runtime-guidance rule also applies to successful launcher startup output:
`hot-dev-bg` must identify `http://127.0.0.1:5173` as the browser entrypoint
and present `7655` as the managed backend dependency, rather than advertising
diff --git a/scripts/tests/test-hot-dev-bg.sh b/scripts/tests/test-hot-dev-bg.sh
index cb3ca03461..8aa5b95c39 100755
--- a/scripts/tests/test-hot-dev-bg.sh
+++ b/scripts/tests/test-hot-dev-bg.sh
@@ -595,6 +595,23 @@ test_integration_readme_uses_managed_backend_restart_wrapper() {
assert_not_contains "integration readme no longer documents raw backend restart script" "${output}" "./scripts/hot-dev-bg.sh backend-restart"
}
+test_integration_quick_start_distinguishes_embedded_frontend_from_hot_dev() {
+ local output
+ output="$(sed -n '82,102p' "${ROOT_DIR}/tests/integration/QUICK_START.md")"
+
+ assert_contains "integration quick start labels 7655 as embedded frontend" "${output}" "Pulse test UI (embedded frontend)"
+ assert_contains "integration quick start points local managed dev runtime to 5173" "${output}" "http://127.0.0.1:5173"
+ assert_contains "integration quick start names hot-dev browser shell" "${output}" "canonical hot-dev browser shell"
+}
+
+test_acceptance_doc_distinguishes_embedded_frontend_from_hot_dev() {
+ local output
+ output="$(sed -n '412,420p' "${ROOT_DIR}/docs/architecture/v6-acceptance-tests.md")"
+
+ assert_contains "acceptance doc keeps embedded frontend wording" "${output}" "against the embedded frontend at \`http://localhost:7655\`"
+ assert_contains "acceptance doc distinguishes managed hot-dev shell" "${output}" "managed hot-dev browser shell on \`http://127.0.0.1:5173\`"
+}
+
test_clean_mock_alerts_prefers_managed_runtime() {
local test_dir fake_bin alert_history fake_hot_dev_bg action_log output
test_dir="$(mktemp -d)"
diff --git a/tests/integration/QUICK_START.md b/tests/integration/QUICK_START.md
index b6e547ab69..6ff3cb1fa2 100644
--- a/tests/integration/QUICK_START.md
+++ b/tests/integration/QUICK_START.md
@@ -85,12 +85,17 @@ npm run docker:rebuild
While the test environment is running:
-- **Pulse UI**: <http://localhost:7655>
+- **Pulse test UI (embedded frontend)**: <http://localhost:7655>
- **Mock GitHub API**: <http://localhost:8080>
- **Health checks**:
- <http://localhost:7655/api/health>
- <http://localhost:8080/health>
+For the repo-local managed dev runtime, use `npm run dev` from the repo root
+and browse `http://127.0.0.1:5173` instead. `:7655` in this quick start is the
+backend-served test UI inside the docker environment, not the canonical
+hot-dev browser shell.
+
## Viewing Test Results
After running tests: