Skip to content

DX-1930: add docs for context.fail #475

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

alitariksahin
Copy link

context.fail documentation

@alitariksahin alitariksahin self-assigned this Jun 25, 2025
Copy link

linear bot commented Jun 25, 2025

Comment on lines +607 to +611
### Distinction between `context.cancel` and `context.fail`
`context.cancel`:
- run will be labeled as canceled.
- failure function will not run and a dlq entry won't be created

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's not put this as a section. We can put the info under context.cancel and context.fail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants