Skip to content

[codex] Use Effect resource cleanup in schema test#542

Merged
RhysSullivan merged 1 commit intocodex/effect-lint-baselinefrom
codex/effect-lint-cloud-db-schema-test
May 6, 2026
Merged

[codex] Use Effect resource cleanup in schema test#542
RhysSullivan merged 1 commit intocodex/effect-lint-baselinefrom
codex/effect-lint-cloud-db-schema-test

Conversation

@RhysSullivan
Copy link
Copy Markdown
Owner

Summary

  • convert the schema smoke test to it.effect
  • manage the postgres handle with Effect.acquireRelease
  • remove try/finally and Promise cleanup from the test body

Validation

  • bun run typecheck in apps/cloud
  • node ../../node_modules/vitest/vitest.mjs run src/services/db.schema.test.ts in apps/cloud
  • bunx oxlint -c .oxlintrc.jsonc apps/cloud/src/services/db.schema.test.ts --deny-warnings

Stacked on #535.

@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 Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud 9a2afe8 May 05 2026, 11:15 PM

@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 9a2afe8 Commit Preview URL

Branch Preview URL
May 05 2026, 11:15 PM

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 5, 2026

Open in StackBlitz

@executor-js/cli

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

@executor-js/config

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

@executor-js/execution

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

@executor-js/sdk

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

@executor-js/storage-core

npm i https://pkg.pr.new/@executor-js/storage-core@542

executor

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

@executor-js/codemode-core

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

@executor-js/runtime-quickjs

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

@executor-js/plugin-file-secrets

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

@executor-js/plugin-google-discovery

npm i https://pkg.pr.new/@executor-js/plugin-google-discovery@542

@executor-js/plugin-graphql

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

@executor-js/plugin-keychain

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

@executor-js/plugin-mcp

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

@executor-js/plugin-onepassword

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

@executor-js/plugin-openapi

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

commit: 9a2afe8

@RhysSullivan RhysSullivan merged commit dc75098 into codex/effect-lint-baseline May 6, 2026
8 of 9 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