Skip to content

Conversation

@Reinis-FRP
Copy link
Contributor

Motivation

Explain the motivation for making this change.
What existing problem does the pull request solve?
It may be sufficient to just link to an issue, but please explain if more details are needed.

Summary

Briefly summarize what changes were made to accomplish the motivation above.

Details

This may be unnecessary for some PRs. Catch-all for detailed explanations about the implementation decisions and implications of the change.

Testing

Check a box to describe how you tested these changes and list the steps for reviewers to test.

  • Ran end-to-end test, running the code as in production
  • New unit tests created
  • Existing tests adequate, no new tests required
  • All existing tests pass
  • Untested

Issue(s)

Fixes #XXXX

Reinis-FRP and others added 3 commits December 19, 2025 14:53
Signed-off-by: Reinis Martinsons <reinis@umaproject.org>
Signed-off-by: Reinis Martinsons <reinis@umaproject.org>
- Create shared PagerDuty config module (types, validation, level conversion)
- Implement PagerDutyV2Transport for Pino using pino-abstract-transport
- Refactor Winston PagerDutyV2Transport to use shared config
- Add createPinoTransports with conditional PagerDuty integration
- Fix log level handling (read from env/config instead of hardcoded)
- Update createPinoLogger to pass level to transports
- Export Transports from logger package index
- Match Winston's fail-fast behavior for config validation

WIP: needs review and testing before finalizing

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Reinis Martinsons <reinis@umaproject.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants