Skip to content

Update Build Process and dependencies#642

Draft
sagarswamirao wants to merge 6 commits intomainfrom
sagark/bun-bug
Draft

Update Build Process and dependencies#642
sagarswamirao wants to merge 6 commits intomainfrom
sagark/bun-bug

Conversation

@sagarswamirao
Copy link
Copy Markdown
Collaborator

No description provided.

sagarswamirao and others added 6 commits March 5, 2026 19:28
- Removed the installation of DuckDB bindings from the build command in package.json.
- Updated Bun version from 1.2.23 to 1.3.10 in multiple GitHub Actions workflows to ensure compatibility and leverage new features.
- Refactored E2E test setup by consolidating environment variable handling and improving server readiness checks, enhancing reliability during tests.

These changes streamline the build process and improve the testing environment's robustness.

Signed-off-by: Sagar Swami Rao Kulkarni <sagarswamirao@gmail.com>
- Increased the thresholds for `http_req_duration` and `http_req_waiting` in both load-test.ts and smoke-test.ts to accommodate higher response times, ensuring tests reflect realistic performance expectations.
- Adjusted specific request duration thresholds for `post_query_data` and `execute_query` to improve accuracy in performance monitoring.

These changes enhance the reliability of performance testing by aligning thresholds with expected application behavior.

Signed-off-by: Sagar Swami Rao Kulkarni <sagarswamirao@gmail.com>
- Added a no-op metrics handler for test environments to prevent errors when Prometheus exporter is not initialized.
- Implemented logic to skip OpenTelemetry instrumentation in test environments, reducing initialization issues.
- Updated logger middleware to skip logging for proxied requests in development mode, minimizing log noise.

These changes improve the handling of metrics and logging during testing, ensuring a smoother development experience.

Signed-off-by: Sagar Swami Rao Kulkarni <sagarswamirao@gmail.com>
- Updated the no-op metrics handler in the instrumentation module to use a more concise parameter naming convention, changing `req` to `_req` to indicate that the request object is unused.

This change enhances code clarity and maintains consistency in handling unused parameters in the codebase.

Signed-off-by: Sagar Swami Rao Kulkarni <sagarswamirao@gmail.com>
- Replaced the use of `fail` with a more explicit `throw new Error` to indicate promise rejection due to cancellation in the MCP Tool integration tests.
- Removed unused import of `fail` from the test file, streamlining the code.

These changes improve clarity in error handling and enhance the maintainability of the test suite.

Signed-off-by: Sagar Swami Rao Kulkarni <sagarswamirao@gmail.com>
@sagarswamirao sagarswamirao marked this pull request as draft March 15, 2026 23:54
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.

1 participant