feat: added isRetry in context.run#177
Conversation
🦋 Changeset detectedLatest commit: 0066971 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
ericallam
left a comment
There was a problem hiding this comment.
I probably needed to be more clear in this issue as this isRetry boolean should only be set when the "Retry job run" button is pressed which runs the ContinueRunService service, not the "Run again" button which calls the ReRunService. I actually think this means that isRetry shouldn't be on the JobRun or EventRecord tables, but instead on the JobRunExecution table is isRetry set to true here:
And then using the isRetry from the JobRunExecution record here to set context of the run:
5c46714 to
c417a7f
Compare
|
Can you add a changeset for a "patch" update to the @trigger.dev/sdk package and include it in this PR? Everything else looks good to go! |
fixes #154
isRetryin context.run objectisRetrycolumn for EventRecord and JobRun tablesisRetryastruewhen it isreRunService.call()is executed/claim #154