feat(effect): Add logging to Sentry.effectLayer#19656
feat(effect): Add logging to Sentry.effectLayer#19656JPeer264 wants to merge 2 commits intojp/add-effect-sdkfrom
Conversation
size-limit report 📦
|
4ac8fdb to
d12dae1
Compare
d12dae1 to
751cac1
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| expect(sentryCore.logger.info).toHaveBeenCalledWith('Processing: data'); | ||
| }).pipe(Effect.provide(loggerLayer)), | ||
| ); | ||
| }); |
There was a problem hiding this comment.
Feat PR missing integration or E2E test
Low Severity
This is a feat PR that adds Effect log forwarding to Sentry, but it only includes vitest unit tests. Per the project review rules, feat PRs are expected to include at least one integration or E2E test. The existing tests validate the logger and layer composition well at the unit level, but an integration or E2E test (e.g., in dev-packages/e2e-tests/ or dev-packages/node-integration-tests/) verifying that Effect logs actually arrive as Sentry log entries end-to-end would increase confidence.
Additional Locations (1)
Triggered by project rule: PR Review Guidelines for Cursor Bot


This adds the functionality to send logs to Sentry by setting
enableLogs: truein theSentry.effectLayer