Skip to content
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

chore: update node version #622

Closed
wants to merge 4 commits into from
Closed

Conversation

kiremitrov123
Copy link
Collaborator

Description

Updated the project's Node.js version to match the CI environment (v20.17.0) and reverted the removal of sharp from the knip ignoreDependencies list to prevent potential issues.

This PR solves # .

Steps completed:

According to our definition of done, I have completed the following steps:

  • Acceptance criteria met
  • Unit tests added
  • Docs updated (including config and env variables)
  • Translations added
  • UX tested
  • Browsers / platforms tested
  • Rebased & ready to merge without conflicts
  • Reviewed own code

@kiremitrov123 kiremitrov123 marked this pull request as draft September 26, 2024 11:38
Copy link

github-actions bot commented Sep 26, 2024

Visit the preview URL for this PR (updated for commit aeab441):

https://ottwebapp--pr622-chore-update-node-ve-7imshbu0.web.app

(expires Sat, 26 Oct 2024 12:22:21 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c198f8a3a199ba8747819f7f1e45cf602b777529

@@ -4,9 +4,26 @@ import * as Sentry from '@sentry/node';
import logger from '../../src/pipeline/logger.js';

describe('Logger Tests', () => {
// Preserve the original console methods
const originalConsole = { ...console };
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you use a logger service this one may help:

  mockService(
    LogTransporter,
    __debug__
      ? new ConsoleTransporter(LogLevel.DEBUG)
      : {
          log() {},
        },
  );

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I am using access bridge specific logger.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is possible that the memory issue we are facing is connected because the logger was outputting error objects.

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