Skip to content

Adapter verification

Adapter verification status and live setup

Section titled “Adapter verification status and live setup”

Recorded 2026-10-17. Mock/type checks and compatible services do not establish connectivity to the hosted provider.

Adapter Level Checked Unverified Settings and prerequisites
LocalStorageAdapter 実ローカルFS/real filesystem 一時ディレクトリで読み書き・パス封じ込め・削除。 / Temporary files, containment and deletion. OS別の権限・共有FS。 / OS permissions and network filesystems. baseDir; optional baseUrl.
S3StorageAdapter 互換実接続/MinIO PUT/GET署名URL、UTF-8メタデータ、一覧・コピー・移動・不正署名拒否。 / Signed URLs, UTF-8 metadata, listing/copy/move and bad-signature rejection. AWS S3のIAM、STS、一時認証、リージョン挙動。 / AWS IAM/STS/session credentials and regional behavior. region, bucket, accessKeyId, secretAccessKey; optional endpoint/forcePathStyle。専用テストバケットと最小権限。 / Dedicated test bucket and permissions.
R2StorageAdapter 互換実接続/MinIO S3互換要求の実通信。Cloudflare実環境ではない。 / Real compatible requests, not Cloudflare R2. Cloudflare認証・権限・カスタムドメイン。 / Cloudflare credentials, permissions and custom domains. accountId, bucket, accessKeyId, secretAccessKey; custom endpoint/region for compatible tests.
OCIStorageAdapter 互換実接続/MinIO ハッシュ付きアップロードと共通S3操作。OCI実環境ではない。 / Hash-bearing uploads and common S3 operations, not OCI. OCI Customer Secret Key、namespace、Retention/Object Lockの実効性。 / OCI credentials, namespace and enforced retention/Object Lock. namespace, region, bucket, accessKeyId, secretAccessKey; optional endpoint; retention tests require a separately configured bucket.

Reproduction

Terminal window
# public/ root; Docker + Node >=24 + Bun 1.4.0
bun install --frozen-lockfile --ignore-scripts
bun run test:adapters:local
bun run test:containers

test:adapters:local runs D1/Better Auth plus Supabase, Mongo, Convex and content composition. test:containers also runs the existing MinIO/PostgreSQL suites. Both are required when running TOOLS_TEST_CONTAINERS=1 bun run verify.

Logs live in the owning package or root .verification/logs/. Unique Compose projects and ephemeral loopback ports isolate each run; finally blocks remove fixtures, containers and data. External settings above describe application configuration, not environment variables that make the local runner contact cloud accounts. External tests require dedicated non-production resources and authorization; record evidence, tested versions and remaining gaps.

References: Miniflare D1, PostgREST, Convex self-hosting, Better Auth SQLite.