Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/light-ducks-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
Comment on lines +1 to +2
Copy link

Copilot AI Dec 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changeset file is empty and missing the required package declaration and description. Based on the changeset format in this repository, it should include:

  1. A package name with version bump type (e.g., "@workflow/world-testing": patch)
  2. A description of the change

For example:

---
"@workflow/world-testing": patch
---

Reduce idempotency test timeout on Windows by decreasing concurrent steps from 110 to 20
Suggested change
---
---
---
"@workflow/world-testing": patch
---
Reduce idempotency test timeout on Windows by decreasing concurrent steps from 110 to 20

Copilot uses AI. Check for mistakes.
2 changes: 1 addition & 1 deletion packages/world-testing/src/idempotency.mts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function idempotency(world: string) {
const output = await hydrateWorkflowReturnValue(run.output, [], run.runId);

expect(output).toEqual({
numbers: Array.from({ length: 110 }, () => expect.any(Number)),
numbers: Array.from({ length: 20 }, () => expect.any(Number)),
});
});
}
10 changes: 5 additions & 5 deletions packages/world-testing/workflows/noop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ export async function brokenWf() {

{
const promises: Promise<number>[] = [];
for (let i = 0; i < 10; i++) {
for (let i = 0; i < 5; i++) {
promises.push(noop(i));
}

console.log('await 10');
console.log('await 5');
numbers.push(...(await Promise.all(promises)));
}

{
const promises: Promise<number>[] = [];
for (let i = 0; i < 100; i++) {
promises.push(noop(1000 + i));
for (let i = 0; i < 15; i++) {
promises.push(noop(100 + i));
}

console.log('await 100');
console.log('await 15');
numbers.push(...(await Promise.all(promises)));
}

Expand Down
Loading