Skip to content

fix: lower PAGE_VIEW_CAPTURE_FAILED severity from WARNING to INFO - #111

Merged
alexs-mparticle merged 1 commit into
developmentfrom
fix/page-view-capture-info-severity
Aug 5, 2026
Merged

fix: lower PAGE_VIEW_CAPTURE_FAILED severity from WARNING to INFO#111
alexs-mparticle merged 1 commit into
developmentfrom
fix/page-view-capture-info-severity

Conversation

@alexs-mparticle

Copy link
Copy Markdown
Collaborator

Summary

The page-view capture feature (#109) reports capture/clear failures at WARNING severity. In practice these fire often enough that WARNING log volume has climbed. This lowers all three PAGE_VIEW_CAPTURE_FAILED reports to INFO, which is rate limited under its own per-severity bucket and no longer crowds the WARNING channel that genuine warnings rely on.

Changes

  • capturePageView — localStorage write failure (quota/storage disabled) → INFO
  • init when targeting disabled — clear failure → INFO
  • process on session end — clear failure → INFO
  • Updated the test asserting the write failure severity to expect INFO

The reporting path, endpoint, and error handling are otherwise unchanged — only the severity field differs. Failures are still surfaced (never thrown out of the forwarder) and still bounded by the reporting service's per-severity rate limiter (RATE_LIMIT_PER_SEVERITY = 10).

Verification

  • Lint: PASS
  • Build: PASS
  • Tests: PASS (228 tests)

Page-view capture/clear failures were reported at WARNING severity,
which produced high log volume. Move them to INFO so they're rate
limited under the INFO bucket and no longer crowd the WARNING channel.
@alexs-mparticle
alexs-mparticle merged commit 12e179d into development Aug 5, 2026
4 of 5 checks passed
@alexs-mparticle
alexs-mparticle deleted the fix/page-view-capture-info-severity branch August 5, 2026 21:29
github-actions Bot pushed a commit that referenced this pull request Aug 5, 2026
## [1.30.2](v1.30.1...v1.30.2) (2026-08-05)

### Bug Fixes

* lower PAGE_VIEW_CAPTURE_FAILED severity from WARNING to INFO ([#111](#111)) ([12e179d](12e179d))
@mparticle-automation

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 1.30.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants