fix(eve): add session cancellation by token - #640
Conversation
|
@iroiro147 is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
0ee6f04 to
361b293
Compare
|
Rebased this onto current |
Signed-off-by: iroiro147 <sarthak.singh@juspay.in>
361b293 to
8d8be8f
Compare
|
Rebased onto latest Conflict pattern: Main has since added
|
|
Status note while rebasing this onto current main (unblocking the DIRTY/conflict state): the reported merge conflict in In The first Because the branch is syntactically invalid at its own head ( Parking the rebase here rather than forcing an import-union that yields a syntactically invalid body. The bounded import-union merge is still correct as far as the reported conflict goes, but it cannot produce a parseable file on top of a branch that is itself syntactically invalid in two files ( Next step is a focused repair of the branch's route-args construction (remove the dangling/unclosed first |
|
Attempted rebase onto current These are not conflict artifacts. They look like malformed nested method documentation (missing `*/ ts and the like) that I shouldn't repair. Creating a PR to land the rebase is blocked on these receiving attention upstream. |
|
Update (Aug 1): Confirmed all 9 broken files at branch head are missing closers ( |
Summary
cancelSessionpath that cancels the workflow run owning a continuation tokenDELETE /eve/v1/sessionroute on the default eve channel for operator recoveryRefs #541.
Tests
pnpm --filter eve exec vitest run --config vitest.unit.config.ts src/execution/workflow-runtime.test.ts src/public/channels/eve.test.ts src/internal/nitro/routes/channel-dispatch.test.ts src/channel/send.test.ts src/channel/cross-channel-receive.test.ts src/channel/schedule.test.ts src/public/channels/chat-sdk/chatSdkChannel.test.ts src/public/channels/github/githubChannel.test.ts src/public/channels/linear/linearChannel.test.ts src/public/channels/teams/teamsChannel.test.ts src/runtime/session-callback-route.test.ts test/eve-run-stream-channel.test.tspnpm --filter eve exec vitest run --config vitest.scenario.config.ts test/scenarios/cross-channel-receive.scenario.test.ts test/scenarios/schedule-trigger.scenario.test.tspnpm --filter eve run typecheckpnpm docs:checkpnpm guard:invariantspnpm exec oxlint --deny-warningspnpm exec oxfmt --check ...git diff --check