-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #97
Fixes #97
Conversation
WalkthroughThis pull request encompasses updates to the project's Dockerfile, a Sentry exception filter, and a Shopify webhook handler. The primary change is upgrading the Node.js base image from version 18 to version 20 in the Dockerfile. The Sentry exception filter has been enhanced with more detailed debug logging, while the Shopify webhook handler now uses JSON string conversion for logging objects, improving log readability and debugging capabilities. Changes
Possibly related PRs
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (1)
src/modules/apm/sentry.exception.filter.ts (1)
20-20
: Clear explanation for deferring GraphQL error handling.Logging the rationale behind delegating GraphQL error handling is beneficial for new contributors. It clarifies why certain errors are neither logged as warnings nor rethrown here.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (2)
.github/workflows/deployment_development.yml
is excluded by!**/*.yml
.github/workflows/deployment_production.yml
is excluded by!**/*.yml
📒 Files selected for processing (3)
Dockerfile
(1 hunks)src/modules/apm/sentry.exception.filter.ts
(1 hunks)src/modules/shopify/webhooks/bulk.operation.finish.webhook.handler.ts
(1 hunks)
✅ Files skipped from review due to trivial changes (2)
- Dockerfile
- src/modules/shopify/webhooks/bulk.operation.finish.webhook.handler.ts
🧰 Additional context used
🪛 Biome (1.9.4)
src/modules/apm/sentry.exception.filter.ts
[error] 24-24: The function should not return a value because its return type is void.
The function is here:
'void' signals the absence of value. The returned value is likely to be ignored by the caller.
(lint/correctness/noVoidTypeReturn)
🔇 Additional comments (3)
src/modules/apm/sentry.exception.filter.ts (3)
4-4
: Good import usage for ExtendedLogger
.
Importing ExtendedLogger
here is sensible and maintains consistency with the rest of the application's logging strategy.
8-8
: Well-structured read-only logger configuration.
Marking logger
as readonly
is a commendable approach to preserve immutability, ensuring no accidental reassignment.
14-15
: Added debug logs enhance traceability.
Adding debug logs is beneficial for troubleshooting. These statements provide insights into the error-handling flow and the nature of the captured exception.
No description provided.