Commit Graph

13 Commits

Author SHA1 Message Date
pulse-triage[bot]
dc5386db43 Align Webhooks and Patrol investigation Help with runtime
Document live webhook delivery and Patrol investigation bounds across
unclaimed Help guides and add source-bound regression tests:

- docs/WEBHOOKS.md (+ mirror): document X-RateLimit-Reset-After on HTTP
  429 within the 1-second to 15-minute cap, exact HTTP status-to-failure
  class mappings (401/403/407 authentication, 402 configuration, 408/421
  connectivity, 423/425/5xx server_error, 429 rate_limited, other 4xx
  rejected), immediate non-retryable TLS handling across webhooks,
  email/SMTP, and Apprise with no Skip TLS Verify toggle on webhook/email
  destinations, and the 1 MiB response-body drain cap
  (WebhookMaxResponseSize).
- docs/AI.md (+ mirror): align Patrol Investigation Configuration with
  subscription-CLI defaults (25 min timeout, concurrency 1), the
  60-1,800s timeout clamp, and the 20-minute fix-retry cooldown; add the
  four remaining live InvestigationOutcome values (fix_rejected,
  fix_verification_unknown, unclassified, interrupted).
- docs/PATROL_ARCHITECTURE.md (+ mirror): document investigation turn
  stream-idle timeouts (60s streaming, 4m buffered Codex/Claude CLIs,
  preserved on ensureFinalTextResponse), remaining-deadline summary
  budget, conclusion reserve, 4,096-token output-limit recovery pass,
  and recoverStuckInvestigations (5-minute grace window, interrupted vs
  timed_out session/finding reconciliation).
- scripts/tests/test_notification_troubleshooting_docs.py and
  scripts/tests/test_authentication_diagnostic_docs.py: pin all added
  bounds and enumerations directly against live Go source.

Contract-Neutral: Documentation and doc-verification test alignment with existing runtime behaviour; no code, API, or subsystem contract changes
Change-source: pulse-maintainer
2026-11-28 12:18:22 +00:00
pulse-triage[bot]
71e1ff3976 Align FAQ and Webhooks Help with Docker staleness and resolved severity
Document two recently landed monitoring and alerting fixes in shipped
Help guides and their frontend-modern/public/docs/ mirrors:

- docs/FAQ.md ("No data showing?"): document the Docker Compose
  application and Swarm stale-reading and collection-error indicators
  (/docker/applications and /docker/swarm, #5271), including the Stale
  data cue, Attention/Degraded filter placement, severe-state precedence
  and inline detail notices while keeping retained counts visible.
- docs/WEBHOOKS.md ("Delivery Contract" -> Severity): document that each
  destination's resolved webhook carries the highest firing severity it
  actually received for that occurrence even after a critical-to-warning
  step-down (#5196 / #5191), and recommend matching firing and resolved
  webhooks on alert ID (and occurrence startedAt) rather than severity
  alone.

Add source-bound regression assertions in
scripts/tests/test_stale_reading_help_docs.py and
scripts/tests/test_notification_troubleshooting_docs.py binding both
guides and their mirrors to live frontend and notification source.

Contract-Neutral: Updates Help docs, mirrors, and doc consistency tests without altering runtime, API, or UI contracts.
Change-source: pulse-maintainer
2026-11-27 14:43:08 +00:00
pulse-triage[bot]
a621dd7a45 Remove semicolons from webhook retry and recovery Help prose
Replace the two semicolons introduced by #5198 on lines 130 and 144 of docs/WEBHOOKS.md (and mirrored frontend-modern/public/docs/WEBHOOKS.md) with full stops so check_public_docs.py passes against the pre-change base, and update the matching string assertions in webhookRetryHelp.test.ts and test_notification_troubleshooting_docs.py.

Contract-Neutral: Replaces two semicolons with full stops in docs/WEBHOOKS.md and its public mirror and updates the matching doc assertions without changing runtime, delivery or subsystem contracts.
Change-source: pulse-maintainer
2026-11-26 19:46:28 +00:00
pulse-triage[bot]
61e14d63e2 Cross-check webhook Help TLS and recovery bounds in Python tests
Keep the new webhookRetryHelp.test.ts test title within the 100-column
Prettier width and add a Python unit test binding docs/WEBHOOKS.md and
frontend-modern/public/docs/WEBHOOKS.md to failure_class.go and
queue.go.

Contract-Neutral: Test-only documentation cross-check and formatting width fix for docs/WEBHOOKS.md; no runtime or subsystem contract change.
Change-source: pulse-maintainer
2026-11-26 18:02:33 +00:00
pulse-triage[bot]
1905346cd0 Run shared log-reader deadline controls only once
The Notifications and TrueNAS suites each repeated three real deadline waits for the same copied log readers. Bind both guides to the shared recipe bytes and test both readers, the open-pipe TERM-resistant Docker case, and every existing cleanup control in the required shared suite.

Contract-Neutral: Consolidates synthetic test scheduling only; the published recipes, diagnostic limits, product behavior and required checks are unchanged.
Change-source: pulse-maintainer
2026-11-25 23:08:15 +00:00
pulse-triage[bot]
c42ec35f30 Keep Telegram header edits out of current troubleshooting
The built-in Telegram header repair shipped in v6.6.0, but Help still recommended changing headers on releases that already correct them. Separate the versioned steps, explain the singleton webhook log label and retain the ordinary-delivery and no-replay guidance.

Contract-Neutral: Documents the existing notification header and grouping behavior with a Help regression check. No runtime behavior, routes, or delivery contract change.
Change-source: pulse-maintainer
2026-11-23 09:58:54 +00:00
pulse-triage[bot]
fcc633337e Bound copied log diagnostics by bytes as well as records
Cap server and agent excerpts at 256 KiB before display or request-ID search. Buffer only a bounded owner-only temporary file, preserve reader failures, and apply the hard deadline to the complete read-only pipeline. Exercise exact-size, overflow, stream, privacy, cleanup and closed-pipe deadline controls without accessing a real journal, daemon or service.

Contract-Neutral: Documentation-only passive log recipe bounds and executable copied-recipe tests; no runtime, API, authentication, installer or monitoring contract change.
Change-source: pulse-maintainer
2026-10-11 02:24:14 +01:00
pulse-triage[bot]
01a7bc896a Explain withheld webhook replies without replaying deliveries
Keep operators and triage from treating intentional response privacy as missing evidence. Explain HTTP verdicts, uncertain receipt after read failures, bounded Test response counts and the safe use of existing receiver records without Debug capture or a duplicate send. Preserve historical-log and export privacy limits in both shipped guides and intake guidance.

Change-source: pulse-maintainer
Contract-Neutral: Clarifies existing diagnostic confidentiality and receipt limits; no delivery, access or subsystem contract change.
2026-10-09 12:42:49 +01:00
pulse-triage[bot]
b0dc796ffb Explain notification pause, cancellation and in-flight limits
Distinguish global cancellation from quiet-hours holds, queued policy skips from provider receipt, and settings changes from recall or credential revocation. Add connected sender and persistent-queue controls, and run the existing notification guidance suites in docs-only CI.

Contract-Neutral: Documentation, mirrors, tests and documentation-only CI describe existing notification behaviour; no runtime, API, permission, schema, dependency or user-visible feature contract changes.
Change-source: pulse-maintainer
2026-10-08 08:46:03 +01:00
pulse-triage[bot]
a820fd4f07 Match shared diagnostic help verification to combined alert routing
source-2h58772x exposed an outdated copy assertion left behind by 53e1bff13c. Check the current severity/tag guidance and its real help link, retaining both filter conjunction requirements. No reader, guide or routing behaviour changes.

Contract-Neutral: Documentation test repair for existing routing guidance; no runtime or subsystem contract changes.
Change-source: pulse-maintainer
2026-10-07 16:26:48 +01:00
pulse-triage[bot]
e95e53cf9e Withhold incomplete diagnostic logs and bound copied readers
Capture both local log streams before presenting notification excerpts or request-ID matches. A reader error or deadline reports unavailability without a partial excerpt; missing GNU timeout has no unbounded fallback. Exercise copied recipes with successful, empty, partial-failure, missing-tool and hung readers, including termination grace.

Contract-Neutral: Existing read-only troubleshooting recipes and shipped mirror only; no runtime, API, permissions, settings or navigation contract changes.
Change-source: pulse-maintainer
2026-10-07 04:04:08 +01:00
pulse-triage[bot]
aae30e2baa Explain safe recovery of retained notification failures
A destination edit and a passing Test do not update the settings stored in an old queued delivery. Make the existing recovery help distinguish those paths, explain the passive Telegram header check, and keep the shipped guides in sync. Connect a real rejected HTTP delivery through edit, Test, restart, retained retry and new alert, including current disable, removal and pause controls.

Contract-Neutral: Documents and verifies existing destination-snapshot and retry semantics; no runtime, API, schema or delivery-policy change.
Change-source: pulse-maintainer
2026-10-06 01:30:57 +01:00
pulse-triage[bot]
76e1aea061 Make notification troubleshooting bounded and delivery-aware
Use the existing delivery activity and failure classes before collecting raw logs. Keep both Docker streams and log-reader exits visible, warn about provider echoes and duplicate retries, and distinguish test success from real alert delivery. Exercise the copied bounded recipes and their unsafe predecessor with synthetic readers.

Change-source: pulse-maintainer
2026-10-02 00:28:59 +01:00