• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ThePalaceProject / web-patron / 25804162930 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 02:05PM UTC
Files 14
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 May 2026 02:03PM UTC coverage: 88.281% (+0.3%) from 87.954%
25804162930.1

push

github

web-flow
Add client / server request logging (PP-4328) (#136)

## Description

Adds server-side request logging to the Next.js instrumentation hook via
monkey patching:
- Inbound HTTP requests are logged as `recv METHOD URL STATUS` on
response completion; and
- Outbound `fetch` calls are logged as `send METHOD URL STATUS DURATION`
(or `send METHOD URL ERROR DURATION` on failure).
- Both patches are idempotent.

## Motivation and Context

- Follows the CloudWatch logging support added in [PP -
4077](https://ebce-lyrasis.atlassian.net/browse/PP-4077).
- Request logging increases visibility into CPW instance activity and
enables CloudWatch CPW dashboard support.

[Jira PP-4328]

## How Has This Been Tested?

- Manual testing in my local dev environment.
- New Jest tests cover both logging patches: inbound emit interception,
outbound fetch wrapping, all URL input types (string, `URL`, `Request`),
method normalization, error path re-throw, timing output, and
idempotency under repeated `register()` calls.
- All new and existing tests/check pass.
- [CI
checks](https://github.com/ThePalaceProject/web-patron/actions/runs/25779663624)
pass.

## Checklist:

- [x] I have updated the documentation accordingly.
- [x] All new and existing tests passed.

218 of 250 branches covered (87.2%)

Branch coverage included in aggregate %.

347 of 390 relevant lines covered (88.97%)

30.6 hits per line

Source Files on job 25804162930.1
  • Tree
  • List 14
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25804162930
  • 0081864a on github
  • Prev Job for on main (#25680279556.1)
  • Next Job for on main (#25804425947.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc