Skip to content

Commit aabb87f

Browse files
committed
fix(ci): dedupe @opentelemetry/core past audit advisory; join paths in test
- bun audit failed on GHSA-8988-4f7v-96qf: otlp-transformer 0.213.0 pins @opentelemetry/core 2.6.0 (<2.8.0). Override to ^2.10.0, matching the version the telemetry sink packages already resolve. - Build the expected tracesDirectory with path.join so the assertion holds on Windows separators.
1 parent 881af19 commit aabb87f

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

bun.lock

Lines changed: 3 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,8 @@
7676
"winston": "^3.19.0",
7777
"winston-daily-rotate-file": "^5.0.0",
7878
"zod": "^4.4.3"
79+
},
80+
"overrides": {
81+
"@opentelemetry/core": "^2.10.0"
7982
}
8083
}

src/handlers/project/dev/index.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { describe, expect, test } from "bun:test";
2+
import { join } from "node:path";
23
import type { ProjectRuntime } from "../../../projectSchemas/runtime";
34
import { InputValidationError, ResourceNotFoundError } from "../../../errors";
45
import type { PortChecker } from "../../../io";
@@ -182,7 +183,7 @@ describe("project dev trace collection", () => {
182183

183184
expect(subject.collector.starts).toEqual([
184185
{
185-
tracesDirectory: "/workspace/project/agentcore/.cli/traces/otlp",
186+
tracesDirectory: join("/workspace/project", "agentcore", ".cli", "traces", "otlp"),
186187
signal: expect.any(AbortSignal),
187188
},
188189
]);

0 commit comments

Comments
 (0)