mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-25 19:31:10 +00:00
fix(ci): enforce plugin SDK API baseline (#111289)
* fix(ci): enforce plugin SDK API baseline * fix(plugin-sdk): refresh fs-safe API baseline
This commit is contained in:
committed by
GitHub
parent
b9fa1ffa27
commit
c7d2d111d8
@@ -2923,6 +2923,23 @@ describe("ci workflow guards", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("runs the Plugin SDK API baseline as a visible additional check", () => {
|
||||
const workflow = readCiWorkflow();
|
||||
const additionalJob = workflow.jobs["check-additional-shard"];
|
||||
const matrixRows = additionalJob.strategy.matrix.include;
|
||||
expect(matrixRows).toContainEqual({
|
||||
check_name: "check-plugin-sdk-api-baseline",
|
||||
group: "plugin-sdk-api-baseline",
|
||||
runner: "blacksmith-4vcpu-ubuntu-2404",
|
||||
});
|
||||
|
||||
const runStep = additionalJob.steps.find(
|
||||
(step: WorkflowStep) => step.name === "Run additional check shard",
|
||||
);
|
||||
expect(runStep.run).toContain("plugin-sdk-api-baseline)");
|
||||
expect(runStep.run).toContain('run_check "plugin-sdk:api:check" pnpm run plugin-sdk:api:check');
|
||||
});
|
||||
|
||||
it("runs the SQLite transaction ratchet in the session boundary check", () => {
|
||||
const workflow = readCiWorkflow();
|
||||
const additionalJob = workflow.jobs["check-additional-shard"];
|
||||
|
||||
Reference in New Issue
Block a user