Skip to content

Add MemberDirectory seam and cloud membership mirror tables - #2003

Merged
RhysSullivan merged 1 commit into
mainfrom
member-directory/seam
Sep 16, 2026
Merged

RhysSullivan merged 1 commit into
mainfrom
member-directory/seam

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Layer 1 of 5. No behavior change on its own.

  • New shared read seam MemberDirectory in @executor-js/api/server (membership, membershipsOf, membershipById, members with search and paging, membersById, findByEmail) plus adminUserDirectoryFromMembers.
  • Self-host adapter over the Better Auth member and user tables.
  • Cloud: accounts gains profile columns; memberships gains the WorkOS membership id, role, status, workos_updated_at, and deleted_at; new membership_tombstones ledger keyed by WorkOS membership id; new workos_sync row. Migration 0018.
  • Cloud WorkOsMirror write service. Deletes are identity facts: a deleted membership id never comes back, a replacement under a new id takes over. Every write is guarded by the WorkOS updated_at so replays and late events converge. Cloud adapter over the mirror. Neither is wired into consumers yet.

Reviewed by three Claude lenses per layer plus eight Codex rounds over the whole stack. Verified: repo typecheck, lint, format check, and the cloud, self-host, core api, sdk, and react vitest suites pass on the stack top.

@RhysSullivan
RhysSullivan added this pull request to stack #2008 September 15, 2026 11:05
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 15, 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 fd59c18 Sep 16 2026, 04:29 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 15, 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 fd59c18 Commit Preview URL

Branch Preview URL
Sep 16 2026, 04:26 PM

@github-actions

github-actions Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@pkg-pr-new

pkg-pr-new Bot commented Sep 15, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

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

@executor-js/config

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

@executor-js/execution

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

@executor-js/sdk

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

@executor-js/codemode-core

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

@executor-js/runtime-quickjs

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

@executor-js/plugin-file-secrets

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

@executor-js/plugin-graphql

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

@executor-js/plugin-keychain

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

@executor-js/plugin-mcp

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

@executor-js/plugin-onepassword

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

@executor-js/plugin-openapi

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

executor

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

commit: fd59c18

@RhysSullivan
RhysSullivan removed this pull request from stack #2008 September 16, 2026 16:26
@RhysSullivan
RhysSullivan added this pull request to stack #2027 September 16, 2026 16:27
@RhysSullivan
RhysSullivan marked this pull request as ready for review September 16, 2026 18:01
@RhysSullivan
RhysSullivan merged commit 89f4246 into main Sep 16, 2026
78 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