aws / aws/aws-sam-cli

Local Durable Function Chained Invoke Support

Open
#9,221 1 comment 0 reactions 0 assignees View on GitHub
stage/needs-triage type/feature
Dominant language
Python
Stars
6.7k
Forks
1.2k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

### Describe your idea/feature/enhancement

Are there any plans to support chained invoking of other Lambda functions from a durable function locally from AWS SAM? Right now when calling another Lambda via `context.invoke` the following is returned:

> Failed to checkpoint durable execution Unknown: Checkpoint for OperationType.CHAINED_INVOKE is not implemented yet

### Proposal

Add support to `sam local invoke` to handle calling other Lambda functions locally. Either doing this directly or perhaps waiting for a success callback through `sam local callback`.

Contributor guide

Open the contributing guide

Research direction

Start with the sam local invoke path and the sam local callback entry point mentioned in the proposal; reproduce the context.invoke failure for a chained durable-function call. Done means local invocation supports calling another Lambda function without the unimplemented CHAINED_INVOKE checkpoint error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cli, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.