Commit Graph

10745 Commits

Author SHA1 Message Date
rcourtman eef4ea21e7 Merge pull request #1945 from rcourtman/claude/demo-banner-install-link
Link the demo banner back to the install steps
2026-09-06 21:23:55 +01:00
pulse-triage[bot] 537807300c Merge pull request #1944 from rcourtman/maintainer/20260906T185414Z
Keep delivery warnings current and alert checks reliable
2026-09-06 21:13:58 +01:00
rcourtman f23553f825 Link the demo banner back to the install steps
pulserelay.pro sends curious visitors to the public demo, and the demo
was a dead end: once inside, the only way back to installing Pulse was
the browser's history. The demo-mode banner now ends with "Run Pulse on
your own hardware", opening the site's setup steps in a new tab. It is
install guidance rather than an upsell, so it belongs in demo mode where
commercial surfaces are otherwise hidden.

The read-only notice keeps its own element so the existing text lookup
and dismiss behaviour are unchanged. Verified on a DEMO_MODE=true mock
backend behind Vite at 1280x800 and 390x844: the link renders after the
notice, wraps cleanly on a phone, and carries target _blank with rel
noopener noreferrer.

Contract-Neutral: demo banner copy and link only; no public API, config, or contract surface changes
2026-09-06 20:40:26 +01:00
pulse-triage[bot] 49b33a3254 Merge reviewed delivery-health projection ordering repair
Preserve the exact race-tested monitoring repair while retaining canonical main's integrated token fixture and alert UI updates.

Change-source: pulse-maintainer
2026-09-06 20:07:17 +01:00
pulse-triage[bot] 8033fa581a fix(monitoring): serialize delivery health alert projection
Concurrent timer and queue callbacks could apply an older health snapshot after a newer one, hiding a new delivery failure or resurrecting a dismissed warning. Serialize the complete read/apply operation without holding the monitor or queue mutex across alert updates.

Add isolated channel-controlled stale-clear and stale-raise regression cases. Removing the lock fails both final-state assertions; restored code passes 100 race-enabled focused repetitions. This does not qualify the integrated release candidate or clear unrelated adverse evidence.

Change-source: pulse-maintainer
Contract-Neutral: Restores monitoring contract extension point 21 immediate canonical delivery-warning reconciliation by serializing existing read/apply operations; no public API, verdict, throttle, alert identity, or agent-lifecycle contract changes. Existing isolated ordering regression tests cover both stale-clear and stale-raise outcomes.
2026-09-06 20:02:06 +01:00
pulse-triage[bot] cb70a8a9dc Merge current main into the token-fixture repair
Preserve the reviewed fixture-race repair while incorporating the upstream merge of the alert wording update.

Change-source: pulse-maintainer
2026-09-06 19:57:58 +01:00
pulse-triage[bot] df7eca7913 Merge pull request #1942 from rcourtman/maintainer/20260906T171513Z
Keep alert delivery status from reverting after newer checks
2026-09-06 19:52:24 +01:00
pulse-triage[bot] 05e31eadf0 test(monitoring): synchronise canonical token host fixture
GetMonitor starts polling concurrently, so monitor.mu does not protect the fixture host slice from State.GetSnapshot. Use the state-owned UpsertHost setter to match the reader lock while retaining all canonical-token diagnostics assertions. Addresses the fixture race reported in PR1943 rest-1; no production behaviour changes.

Change-source: pulse-maintainer
2026-09-06 19:46:16 +01:00
pulse-triage[bot] 293246ee95 Merge commit '63246694e6494411c568f3ce1b3007a7016afeab'
Change-source: pulse-maintainer

# Conflicts:
#	frontend-modern/browser-verification.json
2026-09-06 18:57:51 +01:00
rcourtman 63246694e6 Merge pull request #1941 from rcourtman/claude/demo-auto-login
Sign demo-mode visitors in instead of showing them demo/demo
2026-09-06 18:32:49 +01:00
pulse-triage[bot] 6163492069 Merge reviewed diagnosis lifecycle regression protection
Integrate the exact web-product candidate on top of the current canonical alert ordering repair without re-parenting its reviewed commit.

Change-source: pulse-maintainer
2026-09-06 18:28:42 +01:00
pulse-triage[bot] 144f5d3627 Merge current main into reviewed alert ordering repair
Preserve the reviewed alert diagnosis ordering commit while incorporating the upstream merge that published its base.

Change-source: pulse-maintainer
2026-09-06 18:19:36 +01:00
pulse-triage[bot] b9d0bbf490 test(alerts): pin diagnosis refresh failure and disposal guards
Protect the existing stale-response repair when a newer periodic read fails and when the overview is disposed. Both added tests fail with the response guards removed; 49 focused tests and TypeScript pass with runtime unchanged. This is regression coverage, not recipient-delivery or combined-candidate qualification.

Change-source: pulse-maintainer
2026-09-06 18:18:17 +01:00
rcourtman bbe230f6c1 Merge remote-tracking branch 'origin/main' into claude/demo-auto-login 2026-09-06 17:59:43 +01:00
rcourtman 8729bca778 Sign demo-mode visitors in instead of showing them demo/demo
"Try the live demo" on pulserelay.pro landed on a login form with the
demo credentials printed above it. The demo runtime is read-only and its
credentials are public, so making a first-time visitor type them was pure
friction at the moment of curiosity.

When the security status reports demo mode, the login page now submits
demo/demo itself, once per browser tab, showing "Signing you in to the
demo…" in the demo banner while the request is in flight. The marker
lives in sessionStorage under SESSION_STORAGE_KEYS.DEMO_AUTO_LOGIN. The
logout handler sets the same marker to "suppressed" right after it clears
session storage, so a visitor who signs out lands on the form (and stays
there across a reload) rather than being signed straight back in; a new
tab signs in again. SSO callbacks (?oidc / ?saml), first-run setup and a
non-demo runtime never trigger it, and a rejected sign-in falls back to
the normal form with the server's error.

The credential request moves out of the submit handler into
submitCredentials so the form and the automatic path share one code path
and one set of error messages.

Verified on a demo-mode backend (DEMO_MODE=true, mock data, demo/demo)
behind Vite at 1280x800 and 390x844: automatic sign-in from a fresh
context, Logout to the form with the marker suppressed, reload keeps the
form, manual sign-in from the form, second fresh context signs in again,
and a stubbed 401 shows the form with the error. Login and
useAppRuntimeState test files pass (41 tests).

Contract-Neutral: demo-mode login convenience on the existing /api/login flow; no public API, config, or contract surface changes
2026-09-06 17:58:48 +01:00
pulse-triage[bot] 95740ff28a Merge pull request #1939 from rcourtman/maintainer/20260906T161349Z
Prepare a forward 6.4.4 beta and preserve storage crash diagnostics
2026-09-06 17:54:46 +01:00
pulse-triage[bot] 495562ef66 fix(alerts): ignore superseded delivery diagnosis responses
Overlapping bulk diagnosis refreshes could resolve out of order and replace a current notifications-disabled warning with older dispatch evidence. Version each request, including empty alert sets, so only the newest response updates card diagnoses.

Pin overlap and empty-set invalidation with component and registered hook regressions. All 47 focused tests and TypeScript pass. Isolated Chromium verifies rendered ordering at three widths; update both subsystem contracts and bind browser proof to the runtime bytes. No backend delivery or recipient receipt is claimed.

Change-source: pulse-maintainer
2026-09-06 17:17:36 +01:00
pulse-triage[bot] 5000e0409b Merge commit '64dba483d05ca8f30fb85e44a650b5a9d02748c9'
Change-source: pulse-maintainer
2026-09-06 16:51:23 +01:00
pulse-triage[bot] dd53fad328 Merge commit 'f4dc1e69a0e214dd0085c7696f42444b8fd91fa3'
Change-source: pulse-maintainer
2026-09-06 16:51:23 +01:00
pulse-triage[bot] 64dba483d0 fix(release): bind forward 6.4.4 checkpoint to release train
The held regression candidate needs an honest forward beta above published 6.4.3-rc.1. Bind only 6.4.4 to release/v6.4 without capturing patch 40 or weakening candidate checks. Exercise the actual release and rehearsal branch-policy shell and retain historical rollback mapping.

Change-source: pulse-maintainer
2026-09-06 16:48:17 +01:00
pulse-triage[bot] f4dc1e69a0 Merge pull request #1938 from rcourtman/maintainer/20260906T150036Z
Show alert dispatch honestly and guard responsive startup
2026-09-06 16:45:48 +01:00
pulse-triage[bot] 2014e38b23 Merge candidate 20260906T143516Z-core-runtime
Change-source: pulse-maintainer
2026-09-06 16:08:52 +01:00
pulse-triage[bot] e566e575ed test(metrics): isolate large summary seed persistence across reopen
Release qualification crashed in historical baseline SQLite ingestion during the workloads-summary seed. Preserve a metrics-only diagnostic for the same 84,000-row batch shape, with row-count and integrity checks before and after reopen, without the HTTP or reflection fixtures. This does not reproduce or fix the unexplained crash.

Validation: ten focused runs on Go 1.26.7 and one on Go 1.26.8 passed; a one-repeat race run passed. The three-repeat race run timed out at 180 seconds during its final integrity check and remains retained evidence. Omitting the final seed batch makes the row-count assertion fail.
Change-source: pulse-maintainer
2026-09-06 15:59:08 +01:00
pulse-triage[bot] 050fe82be8 Merge batch-start Pulse upstream
Change-source: pulse-maintainer
2026-09-06 15:58:56 +01:00
pulse-triage[bot] 11a8cc2180 Merge pull request #1932 from rcourtman/maintainer/20260906T091615Z
Keep host links stable and storage alerts dependable through restart
2026-09-06 15:52:35 +01:00
pulse-triage[bot] 9ddee2f8f9 fix(alerts): distinguish dispatch from notification receipt
LastNotified is recorded before delivery callbacks, so the active card cannot use it as evidence of destination success. Name dispatch and cooldown eligibility explicitly while preserving policy and timestamp fallbacks.

Pin the evidence boundary in presentation and Overview regressions, subsystem contracts and an isolated real-browser qualification. Scripted diagnoses verify labels and wrapping, not installed delivery or recipient receipt.

Change-source: pulse-maintainer
2026-09-06 15:12:07 +01:00
pulse-triage[bot] 4fd68c72b2 test(monitoring): guard startup against blocked alert replay
Hold the replay serialization lock while attaching the resource store to prove history catch-up stays off the router construction path. Retain the imported-history and idempotence assertions after releasing replay so availability cannot be achieved by dropping repair.

Change-source: pulse-maintainer
2026-09-06 14:54:46 +01:00
pulse-triage[bot] d4f3f2f15d test(alerts): verify storage restart lifecycle through HTTP receipts
Callback and queue restart tests cover separate boundaries. Exercise the monitor handlers and ordinary dispatcher together so missing capacity cannot silently produce a recovery, restart cannot replace incident identity, and recurrence still reaches a local HTTP receiver.

Change-source: pulse-maintainer
2026-09-06 14:34:03 +01:00
pulse-triage[bot] 7c7459830e Merge candidate 20260906T125522Z-web-product
Change-source: pulse-maintainer
2026-09-06 14:16:35 +01:00
pulse-triage[bot] bfd4ce6c85 Merge candidate 20260906T125520Z-core-runtime
Change-source: pulse-maintainer
2026-09-06 14:16:35 +01:00
pulse-triage[bot] 35181d4c91 fix(tests): supply valid PBS datastore health fixture
The advanced proposal's complete backend shard exposed a shared PBS fixture that returned an array from the datastore-status endpoint. Supply the healthy datastore observation those node-metric lifecycle tests intend, preventing the live datastore evaluator from fabricating an unrelated connectivity incident.

Change-source: pulse-maintainer
2026-09-06 14:12:46 +01:00
pulse-triage[bot] f5eba15cf6 test(pbs): enforce datastore policy through live polling
Cover disabled alerting, storage suppression and canonical datastore overrides before the polled capacity lifecycle. Removing the conversion alias makes the disabled-override regression case fail.

Change-source: pulse-maintainer
2026-09-06 14:02:02 +01:00
pulse-triage[bot] 3eea42fd49 test(alerts): reject stale healthy evidence after queue refresh failure
A pre-action health read can finish after retry or dismissal succeeds but its follow-up read fails. Exercise this combined race for both actions so old healthy evidence cannot erase delivery uncertainty.

Change-source: pulse-maintainer
2026-09-06 14:01:05 +01:00
pulse-triage[bot] cd12b62bae Merge benchmark executable provenance evidence
Preserve the exact reviewed candidate and bind future CI samples to executed binary hashes.\n\nChange-source: pulse-maintainer

Change-source: pulse-maintainer
2026-09-06 13:48:10 +01:00
pulse-triage[bot] acaf1045f5 Merge web alert uncertainty regression coverage
Preserve the exact reviewed candidate while combining it with existing mainline PBS coverage.\n\nChange-source: pulse-maintainer

Change-source: pulse-maintainer
2026-09-06 13:48:10 +01:00
pulse-triage[bot] 7475fbf5f4 fix(ci): bind benchmark samples to executed binary hashes
Record executable SHA-256 before measured Go test invocations without logging paths or arguments. Preserve sample ordering and failure status; document instrumentation limits rather than dismissing historical regressions.

Change-source: pulse-maintainer
2026-09-06 13:32:05 +01:00
pulse-triage[bot] 1eb6d46c35 test(alerts): preserve uncertainty after queue action refresh failure
A successful retry or dismissal does not establish that the queue is healthy when the follow-up read fails. Cover both actions so connection loss cannot silently clear the attention state, and verify the independent evidence refresh still runs and busy flags settle.

Change-source: pulse-maintainer
2026-09-06 13:27:22 +01:00
pulse-triage[bot] 64575d7b7d test(pbs): preserve capacity incidents across failed datastore listings
Fresh PBS polling now evaluates datastore alerts directly. Protect the missing-list boundary so permission errors, upstream failures, malformed responses and empty listings cannot silently resolve an existing capacity incident during unified sync; retain observed recovery and recurrence checks.

Change-source: pulse-maintainer
2026-09-06 13:24:18 +01:00
pulse-triage[bot] 15e7f5c20c Merge core-runtime PBS datastore alert evaluation
Change-source: pulse-maintainer
2026-09-06 13:11:34 +01:00
pulse-triage[bot] f513acda40 fix(tests): format alert delivery card coverage
The combined Frontend formatting gate also found the newest reactive warning
and busy-control tests outside the repository's Prettier form. Apply only the
formatter output so those accepted assertions can run under the normal gate.

Change-source: pulse-maintainer
2026-09-06 13:06:34 +01:00
pulse-triage[bot] f0466ce2cf fix(tests): format delivery failure regression coverage
The existing proposal's Frontend job rejected the retained queue-action test
because its nested parameterized callback did not match the repository's
Prettier output. Apply formatting only so the reviewed behavioural assertions
can pass the unchanged frontend gate.

Change-source: pulse-maintainer
2026-09-06 13:04:56 +01:00
pulse-triage[bot] 3b21ed22a4 fix(pbs): evaluate configured datastore alerts on live polls
Connect fresh PBS storage observations to the existing capacity and connectivity evaluator. Exercise HTTP polling through unified sync, absent counter retention, confirmed empty recovery and recurrence with alternate counter names.

Change-source: pulse-maintainer
2026-09-06 12:59:04 +01:00
pulse-triage[bot] 7cb3a361a7 test(alerts): protect delivery warning transitions and busy controls
Keep unavailable status from presenting stale failure advice and prevent conflicting retry/dismiss controls while queue actions are pending. Existing hook tests cover request ordering, but rendered transition and busy-state behaviour lacked direct regression assertions. Focused tests pass; removing status precedence or mutual disabling makes the new cases fail.

Change-source: pulse-maintainer
2026-09-06 12:45:30 +01:00
pulse-triage[bot] 9482597f11 Merge candidate 20260906T112005Z-web-product
Change-source: pulse-maintainer
2026-09-06 12:34:54 +01:00
pulse-triage[bot] 2d36bb7d4d test(assistant): add portable identity browser regression
Release-line could reproduce tool identity and shared evidence regressions but could not replay browser evidence tied to private capture paths. Supply a synthetic standalone real reducer/transcript journey with blocked backend and external requests, desktop and narrow assertions, and content-hashed receipts. This verifies renderer behaviour without claiming provider, production or release admission qualification.

Change-source: pulse-maintainer
2026-09-06 12:29:50 +01:00
pulse-triage[bot] 2e93644991 test(alerts): protect storage connectivity recovery across restart
Exercise mirror and SQLite restoration through missing connectivity, independent healthy capacity, confirmed recovery and a second restart. Negative control fails in both modes with the old missing-status recovery behaviour.

Change-source: pulse-maintainer
2026-09-06 12:24:27 +01:00
pulse-triage[bot] a8c1b067d6 Merge candidate 20260906T105022Z-core-runtime
Change-source: pulse-maintainer
2026-09-06 12:14:27 +01:00
pulse-triage[bot] be74f56aff Merge upstream main at 20260906T105913Z batch boundary
Change-source: pulse-maintainer

# Conflicts:
#	frontend-modern/browser-verification.json
2026-09-06 12:02:03 +01:00
pulse-triage[bot] 5aa9d44b0a test(alerts): cover storage recurrence across persistent restarts
The storage persistence regression stopped after recovery, leaving a later occurrence untested. Extend both recovery-mirror and SQLite paths through renewed pressure, restart, missing capacity and measured recovery to protect occurrence identity without claiming notification receipt.

Change-source: pulse-maintainer
2026-09-06 11:58:18 +01:00
pulse-triage[bot] 1152e3f8f5 test(web): preserve failure evidence after unsuccessful queue actions
Cancelled or rejected retained-delivery actions must keep readable degraded health and must not trigger success-path refresh callbacks. Cover both retry and dismissal, including busy-state reset; a negative control refreshing after rejection fails both new rejection cases.

Change-source: pulse-maintainer
2026-09-06 11:56:40 +01:00