Sam Sussman

Results 112 comments of Sam Sussman

configurable? I assume we'd want to be able to model the per resource lambdas we have now.

From discord: https://discord.com/channels/985291961885949973/1053066041149886596/1068215231647600770 @yehudacohen let's respond to questions in reverse since I think it makes more sense: _3. building an app where users should only be able to mutate or...

Bundling all dependencies breaks mocking. For example, if I try to mock sqs, it will mock the instance imported by the tests, and not the bundled one in the test...

For now, the service file bundled by the tests MUST be able to find the node_modules of the test workflow. ```ts env = new TestEnvironment({ entry: path.resolve( url.fileURLToPath(new URL(".", import.meta.url)),...

The behavior is the same mechanism as "async activities". I'm certain we need the ability to cancel, which is essentially the same as failing. Which led to the current state....

> > The behavior is the same mechanism as "async activities". > > I'm certain we need the ability to cancel, which is essentially the same as failing. > >...

> In my slack pr I implemented a complete api. Is it different than that? Ok, you had implemented `completeActivity` from an activity function. This is the same as calling...

Ok, made changes based on feedback: 1. removed the ability to complete or fail an activity by reference (`const act = myAct(); act.complete(value);`) 2. the ability to cancel an activity...

Now supported ```ts const myAct = activity("myAct", () => { ... }); // in an event handle or API someEvent.on(async (token) => { // complete any activity await myAct.complete(token, value);...

No. Should be fast to error at least.