Skip to content

Commit 21dcf41

Browse files
committed
test: skip compaction trigger test in CI
The compaction trigger test requires real API calls to get realistic token counts. The replay proxy doesn't provide the token usage data needed for the CLI to trigger compaction.
1 parent f823071 commit 21dcf41

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

nodejs/test/e2e/compaction.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ import { createSdkTestContext } from "./harness/sdkTestContext.js";
55
describe("Compaction", async () => {
66
const { copilotClient: client } = await createSdkTestContext();
77

8-
it(
8+
// Skip in CI - compaction requires real API calls to trigger token counting
9+
// The replay proxy doesn't provide realistic token counts needed for compaction
10+
it.skipIf(process.env.CI === "true")(
911
"should trigger compaction with low threshold and emit events",
1012
async () => {
1113
// Create session with very low compaction thresholds to trigger compaction quickly

0 commit comments

Comments
 (0)