generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Expected Behavior
const resultPromise = context.step(async () => {
await new Promise((resolve) => setTimeout(resolve, 7000));
return "step completed";
});
await context.wait("wait-1", { seconds: 10 });
const result = await resultPromise; // Re-invokes after 10s, rather than 3s
For this example real backend reinvokes after 3s.
Actual Behavior
The function is re-invoked after the full wait duration of 10s instead of the remaining time (3s).
Steps to Reproduce
See above
SDK Version
Python Version
3.13
Is this a regression?
No
Last Working Version
No response
Additional Context
No response
phipag
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working