feat(FN-3770): add cli-printing-press bundled plugin changeset
Adds a changeset for the CLI printing-press bundled plugin (FN-3770). Fusion-Task-Id: FN-3770
This commit is contained in:
5
.changeset/fn-3770-cli-printing-press-plugin.md
Normal file
5
.changeset/fn-3770-cli-printing-press-plugin.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@runfusion/fusion": minor
|
||||
---
|
||||
|
||||
Add bundled fusion-plugin-cli-printing-press plugin: a guided wizard for defining external services and generating CLIs from those definitions, plugin-owned dashboard views for managing and manually running generated CLIs, and availability of generated CLIs as pre-merge workflow steps and inside the executor runtime environment.
|
||||
@@ -19,7 +19,17 @@ describe("TaskStore.listTasksModifiedSince", () => {
|
||||
|
||||
afterEach(async () => {
|
||||
await store.close();
|
||||
await rm(rootDir, { recursive: true, force: true });
|
||||
for (let attempt = 0; attempt < 5; attempt += 1) {
|
||||
try {
|
||||
await rm(rootDir, { recursive: true, force: true });
|
||||
return;
|
||||
} catch (error) {
|
||||
if (!(error instanceof Error) || !/(ENOTEMPTY|EBUSY|EPERM)/.test(error.message) || attempt === 4) {
|
||||
throw error;
|
||||
}
|
||||
await new Promise((resolve) => setTimeout(resolve, 25 * (attempt + 1)));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
async function createTaskWithUpdatedAt(id: string, updatedAt: string, column: "todo" | "archived" = "todo") {
|
||||
@@ -62,7 +72,7 @@ describe("TaskStore.listTasksModifiedSince", () => {
|
||||
expect(exact.hasMore).toBe(false);
|
||||
});
|
||||
|
||||
it("uses default limit 50 and clamps above max to 200", async () => {
|
||||
it("uses default limit 50 and clamps above max to 200", { timeout: 30_000 }, async () => {
|
||||
for (let i = 1; i <= 220; i += 1) {
|
||||
const padded = i.toString().padStart(3, "0");
|
||||
await createTaskWithUpdatedAt(`FN-${i}`, `2026-01-01T00:00:00.${padded}Z`);
|
||||
|
||||
Reference in New Issue
Block a user