Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/mail/components/mail/mail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import AIToggleButton from '../ai-toggle-button';
import { useIsMobile } from '@/hooks/use-mobile';
import { Button } from '@/components/ui/button';
import { useSession } from '@/lib/auth-client';
import { useDoState } from './use-do-state';
import { m } from '@/paraglide/messages';
import { useQueryState } from 'nuqs';
import { cn } from '@/lib/utils';
Expand Down
12 changes: 6 additions & 6 deletions apps/server/wrangler.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,15 @@
},
{
"binding": "pending_emails_status",
"id": "e65f8f72441d4eadb9d5ae36269316c9",
"id": "7f277903ebab4b4d89f5d59b1f531073",
Copy link
Contributor

Choose a reason for hiding this comment

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

Local and staging environments now reference the same KV namespace ID for pending_emails_status, which causes both environments to read and write to the exact same storage. This breaks environment isolation and risks test data leaking into staging or vice-versa.

Prompt for AI agents
Address the following comment on apps/server/wrangler.jsonc at line 180:

<comment>Local and staging environments now reference the same KV namespace ID for pending_emails_status, which causes both environments to read and write to the exact same storage. This breaks environment isolation and risks test data leaking into staging or vice-versa.</comment>

<file context>
@@ -177,15 +177,15 @@
         },
         {
           &quot;binding&quot;: &quot;pending_emails_status&quot;,
-          &quot;id&quot;: &quot;e65f8f72441d4eadb9d5ae36269316c9&quot;,
+          &quot;id&quot;: &quot;7f277903ebab4b4d89f5d59b1f531073&quot;,
         },
         {
</file context>

},
{
"binding": "pending_emails_payload",
"id": "e65f8f72441d4eadb9d5ae36269316c9_payload",
"id": "d5da698931524da9992fe398e095fc32",
},
{
"binding": "scheduled_emails",
"id": "e65f8f72441d4eadb9d5ae36269316c9_scheduled",
"id": "444cad0e54114635b5199ffae9542bd5",
},
{
"binding": "snoozed_emails",
Expand Down Expand Up @@ -363,15 +363,15 @@
},
{
"binding": "pending_emails_status",
"id": "e65f8f72441d4eadb9d5ae36269316c9",
"id": "7f277903ebab4b4d89f5d59b1f531073",
},
{
"binding": "pending_emails_payload",
"id": "e65f8f72441d4eadb9d5ae36269316c9_payload",
"id": "d5da698931524da9992fe398e095fc32",
},
{
"binding": "scheduled_emails",
"id": "e65f8f72441d4eadb9d5ae36269316c9_scheduled",
"id": "444cad0e54114635b5199ffae9542bd5",
},
{
"binding": "snoozed_emails",
Expand Down