Skip to content

Test the v2 session handoff redirect - #2357

Merged
RhysSullivan merged 1 commit into
v2-session-handofffrom
v2-session-handoff-tests
Oct 23, 2026
Merged

RhysSullivan merged 1 commit into
v2-session-handofffrom
v2-session-handoff-tests

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Tests for the session handoff redirect in #2356. They run against PGlite in move-to-v2.node.test.ts:

  • A member of a moved org gets <v2 origin>/api/v1-handoff?token=…. The test checks the token's HMAC with the secret and its claims: version, audience, user, v1 org, slug, a 60 s lifetime and a fresh jti per redirect.
  • A non-member, or an org that is still moving, gets no location and no token.
  • With the secret unset, the redirect stays the plain /org/<slug>. A moved org without a v2 slug still goes to v2's root.

Paired v2 PRs: UsefulSoftwareCo/executor-next#3358, #3359.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud ed0e0a2 Oct 23 2026, 08:45 PM

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@pkg-pr-new

pkg-pr-new Bot commented Oct 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@2357

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@2357

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@2357

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@2357

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@2357

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@2357

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@2357

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@2357

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@2357

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@2357

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@2357

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@2357

executor

npm i https://pkg.pr.new/executor@2357

commit: ed0e0a2

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing ed0e0a2 Commit Preview URL

Branch Preview URL
Oct 23 2026, 08:44 PM

@RhysSullivan
RhysSullivan marked this pull request as ready for review October 23, 2026 21:37
@RhysSullivan
RhysSullivan merged commit 7957647 into main Oct 23, 2026
76 of 80 checks passed
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.

1 participant