Skip to content

Test the freeze of organizations moving to v2 - #2338

Merged
RhysSullivan merged 1 commit into
rhys/v1-move-freezefrom
rhys/v1-move-freeze-tests
Oct 23, 2026
Merged

RhysSullivan merged 1 commit into
rhys/v1-move-freezefrom
rhys/v1-move-freeze-tests

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Tests for the move freeze in the PR below this one.

  • move-to-v2.test.ts and move-to-v2.node.test.ts: state parsing, the guards for each path class, the dashboard redirect, and a read failure failing closed. They also run the migration's grant block against Postgres: the writer role can upsert all three states, and cannot read updated_at, select *, DELETE, or touch other tables.
  • account-freeze.node.test.ts: account routes refuse writes while moving or moved.
  • workspace-write-gate.test.ts: the SDK gate refuses connection, policy, integration and OAuth client writes, OAuth completion before the code exchange, and token refresh before the token endpoint.
  • oauth-popup-error.test.ts: the OAuth popup shows the reason for the refusal.

Verification

  • bun run format:check, bun run lint, bun run typecheck
  • vitest run for these files, and for each package's full suite.

Checklist

  • No secrets, credentials, or private data in the diff.

@RhysSullivan
RhysSullivan added this pull request to stack #2339 October 23, 2026 01:06
@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 Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing 04cfa71 Commit Preview URL

Branch Preview URL
Oct 23 2026, 02:08 AM

@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 04cfa71 Oct 23 2026, 02:11 AM

@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@2338

@executor-js/config

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

@executor-js/execution

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

@executor-js/sdk

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

@executor-js/codemode-core

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

@executor-js/runtime-quickjs

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

@executor-js/plugin-file-secrets

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

@executor-js/plugin-graphql

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

@executor-js/plugin-keychain

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

@executor-js/plugin-mcp

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

@executor-js/plugin-onepassword

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

@executor-js/plugin-openapi

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

executor

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

commit: 04cfa71

@RhysSullivan
RhysSullivan force-pushed the rhys/v1-move-freeze-tests branch from 08be63a to afbf44c Compare October 23, 2026 01:58
@RhysSullivan
RhysSullivan force-pushed the rhys/v1-move-freeze-tests branch from afbf44c to 04cfa71 Compare October 23, 2026 02:07
@RhysSullivan
RhysSullivan marked this pull request as ready for review October 23, 2026 02:13
@RhysSullivan
RhysSullivan merged commit 4b9869f into main Oct 23, 2026
43 of 44 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