Skip to content

Add workspace audit history - #1920

Draft
RhysSullivan wants to merge 1 commit into
mainfrom
workspace-audit-history
Draft

Add workspace audit history#1920
RhysSullivan wants to merge 1 commit into
mainfrom
workspace-audit-history

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds workspace audit history. Second of two stacked PRs split from #1786; based on #1919.

A new append-only, tenant-scoped audit_event table records configuration changes: integrations, connections, OAuth clients, and tool policies. When a failed write is compensated, the log records rolled_back, or rollback_failed if the provider restore also failed. Payloads hold safe identifiers only, never credential values. Reads are admin-gated and shown in the admin console Activity tab.

Also included: the fumadb MySQL generator now requires bounded string primary keys, and IdColumnType is exported (major changeset).

Verification

  • bun run format:check
  • bun run lint
  • bun run typecheck
  • bun run test
  • e2e — admin-users-console (cloud and selfhost) asserts the Activity tab renders audit events; workspace-write-permissions (cloud) exercises the migration chain at boot.

Checklist

  • Added a changeset (bun run changeset), or this change needs none.
  • Added or updated tests for the new behaviour.
  • No secrets, credentials, or private data in the diff.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Console https://executor-preview-pr-1920.executor-e2e.workers.dev
MCP https://executor-preview-pr-1920.executor-e2e.workers.dev/mcp
Deployed commit 95b4419

Sign-in is Cloudflare Access (one-time PIN to an allowed email). The preview has its own database and encryption key; it is destroyed when this PR closes.

@pkg-pr-new

pkg-pr-new Bot commented Sep 1, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

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

@executor-js/config

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

@executor-js/execution

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

@executor-js/sdk

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

@executor-js/codemode-core

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

@executor-js/runtime-quickjs

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

@executor-js/plugin-file-secrets

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

@executor-js/plugin-graphql

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

@executor-js/plugin-keychain

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

@executor-js/plugin-mcp

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

@executor-js/plugin-onepassword

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

@executor-js/plugin-openapi

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

executor

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

commit: 95b4419

@RhysSullivan
RhysSullivan force-pushed the workspace-audit-history branch from 7e40e37 to 199ab29 Compare September 1, 2026 18:42
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 1, 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 95b4419 Sep 02 2026, 10:43 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 1, 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 95b4419 Commit Preview URL

Branch Preview URL
Sep 02 2026, 10:42 AM

@RhysSullivan
RhysSullivan force-pushed the workspace-audit-history branch 5 times, most recently from 1ca74ee to 6db082b Compare September 2, 2026 10:31
Base automatically changed from workspace-admin-writes to main September 2, 2026 10:40
@RhysSullivan
RhysSullivan force-pushed the workspace-audit-history branch from 6db082b to c8e6502 Compare September 2, 2026 10:40
Co-authored-by: Max schwenk <maschwenk@gmail.com>
@RhysSullivan
RhysSullivan force-pushed the workspace-audit-history branch from c8e6502 to 95b4419 Compare September 2, 2026 10:40
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