Skip to content

Conversation

djabarovgeorge
Copy link
Contributor

What changed? Why was the change needed?

Screenshots

Expand for optional sections

Related enterprise PR

Special notes for your reviewer

- Introduced ClickHouse client integration for analytics logging.
- Added cleanup functions for ClickHouse database and tables.
- Updated environment configuration for ClickHouse connection.
- Implemented E2E tests for logging requests with filtering capabilities.
- Refactored request log mapping to utilize a dedicated mapper function.
@djabarovgeorge djabarovgeorge changed the title feat(api-service): create traces e2e feat(api-service): create traces e2e fixes NV-6218 Jul 8, 2025
@netlify
Copy link

netlify bot commented Jul 8, 2025

Deploy Preview for dashboard-v2-novu-staging canceled.

Name Link
🔨 Latest commit eb7ad9e
🔍 Latest deploy log https://app.netlify.com/projects/dashboard-v2-novu-staging/deploys/6877a438f5cdad000847e4b9

- Refactored ClickHouse startup configuration in GitHub Actions to use Docker image.
- Enhanced E2E setup with improved ClickHouse connection management and cleanup functions.
- Updated environment variables for ClickHouse user and password.
- Improved error handling and logging in ClickHouse service methods.
- Replaced manual ClickHouse startup configuration with a reusable action.
- Updated environment variable handling for ClickHouse integration.
- Improved clarity and maintainability of the GitHub Actions setup.
- Introduced a new E2E test suite for verifying activity traces in notifications.
- Implemented tests to ensure correct behavior when the traces feature flag is enabled and when it fails.
- Updated environment variables to enable trace logging for testing purposes.
…up functions

- Improved database connection handling for MongoDB and ClickHouse.
- Added functions for ensuring database existence, truncating tables, and cleaning up ClickHouse databases.
- Enhanced error logging and management during database operations.
- Updated E2E setup to streamline database preparation and teardown processes.
@djabarovgeorge djabarovgeorge merged commit e2aad02 into next Jul 16, 2025
30 checks passed
@djabarovgeorge djabarovgeorge deleted the create-trace-e2e branch July 16, 2025 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants