internal: Add persistence support for sessions with defer (#4644)
## Description - We're adding sessions support for defer. Deferred functions should be able to use both manual and propagated sessions - In this PR, we add piping so that meta.sessions can be travel from the SDK's opcode -> persistence in Redis -> executor attaches it on to the `deferred.schedule` event - In later monorepo PRs, we'll add scylladb support - EXE-2035 ## Release note <!-- User-facing release note. Use "None" if this does not need release notes. --> None. ## Migration note <!-- Upgrade, deployment, config, schema, or compatibility notes. Use "None" if none. --> None. *[Check our Pull Request Guidelines](https://github.com/inngest/inngest/blob/main/docs/PULL_REQUEST_GUIDELINES.md)* --- <sub>Stack created with <a href="https://github.com/github/gh-stack">GitHub Stacks CLI</a> • <a href="https://gh.io/stacks-feedback">Give Feedback 💬</a></sub> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
S
Scott Numamoto committed
77aa1c03ecf7a98f7baf91d6dafb95373b88d136
Parent: b2aaf5e
Committed by GitHub <noreply@github.com>
on 8/5/2026, 4:59:27 PM