-
Notifications
You must be signed in to change notification settings - Fork 13k
chore(tracing): Review build configuration #37609
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| { | ||
| "extends": ["@rocket.chat/eslint-config"], | ||
| "ignorePatterns": ["**/dist"] | ||
| "ignorePatterns": ["dist"] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,31 +2,31 @@ | |
| "name": "@rocket.chat/tracing", | ||
| "version": "0.0.1", | ||
| "private": true, | ||
| "devDependencies": { | ||
| "@types/jest": "~30.0.0", | ||
| "eslint": "~8.45.0", | ||
| "jest": "~30.2.0", | ||
| "ts-jest": "~29.4.5", | ||
| "typescript": "~5.9.3" | ||
| }, | ||
| "scripts": { | ||
| "lint": "eslint --ext .js,.jsx,.ts,.tsx .", | ||
| "lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix", | ||
| "testunit": "jest --passWithNoTests", | ||
| "dev": "tsc --watch --preserveWatchOutput", | ||
| "build": "rm -rf dist && tsc" | ||
| }, | ||
| "main": "./dist/index.js", | ||
| "typings": "./dist/index.d.ts", | ||
| "files": [ | ||
| "/dist" | ||
| ], | ||
| "volta": { | ||
| "extends": "../../package.json" | ||
| "scripts": { | ||
| "build": "rm -rf dist && tsc", | ||
| "dev": "tsc --watch --preserveWatchOutput", | ||
| "lint": "eslint --ext .js,.jsx,.ts,.tsx .", | ||
| "lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix", | ||
| "testunit": "jest --passWithNoTests" | ||
| }, | ||
| "dependencies": { | ||
| "@opentelemetry/api": "^1.9.0", | ||
| "@opentelemetry/exporter-trace-otlp-grpc": "^0.54.2", | ||
| "@opentelemetry/sdk-node": "^0.54.2" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/jest": "~30.0.0", | ||
| "eslint": "~8.45.0", | ||
| "jest": "~30.2.0", | ||
| "ts-jest": "~29.4.5", | ||
| "typescript": "~5.9.3" | ||
| }, | ||
|
Comment on lines
+22
to
+28
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Critical: Invalid devDependencies versions. The specified versions appear to be invalid:
Please verify and correct these versions. Run the following script to check what versions are actually available: #!/bin/bash
# Description: Check available versions of dev dependencies
npm view jest versions --json | tail -20
npm view @types/jest versions --json | tail -20
npm view eslint versions --json | tail -20
npm view typescript versions --json | tail -20
npm view ts-jest versions --json | tail -20🤖 Prompt for AI Agents |
||
| "volta": { | ||
| "extends": "../../package.json" | ||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🧩 Analysis chain
@opentelemetry/api 1.9.0 npm package version
<web_search_result>
Yes — @opentelemetry/api version 1.9.0 is published on npm (listed as the package's current/latest release). [1][2]
Sources:
[1] npm organization package listing (opentelemetry) — shows @opentelemetry/api published version 1.9.0.
[2] jsDelivr / package page — @opentelemetry/api version 1.9.0.
</web_search_result>
@opentelemetry/sdk-node 0.54.2 @opentelemetry/exporter-trace-otlp-grpc 0.54.2 compatibility
<web_search_result>
Short answer: Yes — @opentelemetry/[email protected] and @opentelemetry/[email protected] are compatible and intended to be used together (OpenTelemetry JS packages with the same release line are published to work together). See the exporter docs and the SDK guidance that exporters must be installed alongside @opentelemetry/sdk-node. [1][2][3]
References
</web_search_result>
@opentelemetry/api 1.9.0 @opentelemetry/sdk-node 0.54.2 version compatibility
<web_search_result>
Short answer: No — @opentelemetry/api 1.9.0 is not compatible with @opentelemetry/sdk-node 0.54.2. The official compatibility matrix pairs experimental SDK versions 0.54.x with API ~1.27.x, while API 1.9.x maps to much older experimental SDKs (≈0.35.x). See the OpenTelemetry JS compatibility table and the @opentelemetry/api 1.9.0 package info. [1][2]
Sources:
References:
[1] https://github.com/open-telemetry/opentelemetry-js — Package Version Compatibility.
[2] https://jsr.io/%40opentelemetry/api — @opentelemetry/[email protected] package page.
</web_search_result>
Update OpenTelemetry API version for SDK compatibility.
The @opentelemetry/api version 1.9.0 is incompatible with @opentelemetry/sdk-node 0.54.2. According to the OpenTelemetry JS compatibility matrix, SDK 0.54.x requires API ~1.27.x; API 1.9.x corresponds to much older SDK versions (~0.35.x). Update @opentelemetry/api to ^1.27.0 or later to align with the 0.54.2 SDK and exporter versions.
🤖 Prompt for AI Agents