serverless-operations / serverless-operations/serverless-step-functions
Support for API Gateway WebSocket (WS) invocation
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 220
- PR merge metrics
- No merged PRs in 30d
Description
Hey there - first off, thanks for making this plugin!
Feature request
State machines currently cannot be not invoked by websocket events
stepFunctions:
stateMachines:
myMachine:
events:
- websocket:
route: $connect
Note: Full reproduction here
Initially I thought this was a bug (no error during deployment) but it looks like this just isn't supported currently.
Would be nice to have event feature parity with lambda functions 🤞
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked example/serverless.yml reproduction, especially the state machine using the websocket $connect route. Trace how websocket events are handled for Lambda functions and determine the corresponding integration path for state machines. Done means the example deploys successfully and the websocket event invokes the configured state machine.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, javascript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100