Skip to content

fix: allow AI agents to reset the database during tests#1086

Merged
kentcdodds merged 1 commit into
epicweb-dev:mainfrom
glitchassassin:patch-1
Feb 5, 2026
Merged

fix: allow AI agents to reset the database during tests#1086
kentcdodds merged 1 commit into
epicweb-dev:mainfrom
glitchassassin:patch-1

Conversation

@glitchassassin

Copy link
Copy Markdown
Contributor

Prisma has added some new guardrails to prevent AI agents from resetting databases: https://www.prisma.io/docs/orm/reference/prisma-cli-reference#ai-safety-guardrails-for-prisma-migrate-reset

I ran into this while trying to run tests with Claude Code. After adding the environment variable here, Claude was able to run the tests successfully.

@kentcdodds kentcdodds left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kentcdodds kentcdodds merged commit 5f32a7b into epicweb-dev:main Feb 5, 2026
@glitchassassin glitchassassin deleted the patch-1 branch February 5, 2026 12:16
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.

2 participants