Add a dead letter queue to shortcuts.hookshot.* lambdas

Open
#87 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, javascript

Research direction

Start with the HookshotPassthrough and HookshotGithub sections of the linked shortcuts API documentation, then locate their shortcut implementations and trace the gateway → webhookLambda → myLambda flow. Done means failed events from either handoff are retained in a dead letter queue instead of being dropped, with the configuration exposed for both shortcuts.

Written by the indexing model from the issue text.

Description

The hookshot shortcuts Passthrough and Github create:

  • An API Gateway to receive events
  • A webhook lambda to passthrough events

And expect you to provide a second lambda, that the webhook lambda passes events to.

The flow of events is then:

gateway -> webhookLambda -> myLambda

If webhookLambda fails to pass through an event, or if myLambda fails to handle an event, the event is dropped. It would be nice to provide a dead letter queue to store dropped events.

Dominant language
JavaScript
Stars
74
Forks
10
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mapbox/cloudfriend

All issues in mapbox/cloudfriend

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.