fix(ci): replay compaction and skills api drift

This commit is contained in:
Peter Steinberger
2026-03-28 00:43:47 +00:00
parent 6a039bca30
commit fa4da0ce5d
7 changed files with 23 additions and 26 deletions

View File

@@ -1,6 +1,7 @@
import fs from "node:fs";
import os from "node:os";
import path from "node:path";
import { createSyntheticSourceInfo } from "@mariozechner/pi-coding-agent";
import { afterAll, beforeAll, describe, expect, it } from "vitest";
import { buildWorkspaceSkillStatus } from "../agents/skills-status.js";
import type { SkillEntry } from "../agents/skills.js";
@@ -91,14 +92,12 @@ function createFixtureSkill(params: {
baseDir: string;
source: string;
}): SkillEntry["skill"] {
const skill = {
return {
name: params.name,
description: params.description,
filePath: params.filePath,
baseDir: params.baseDir,
source: params.source,
sourceInfo: { source: params.source },
sourceInfo: createSyntheticSourceInfo(params.filePath, { source: params.source }),
disableModelInvocation: false,
};
return skill as unknown as SkillEntry["skill"];
}