Skip to content

Audit silently skipped when Supabase env is missing #11

Description

@royalpinto007

Problem

Every audit() call becomes a no-op when Supabase env is missing, so denied writes leave zero trace despite the append-only audit-log guarantee.

Where

src/audit.ts (early return when env is unconfigured).

Acceptance

Add a failing test first with unconfigured Supabase, expecting a denied write to still surface (queued log/warning) rather than vanishing. Then fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions