Skip to content

Add allowlist coverage#139

Open
AgentGoose32 wants to merge 1 commit intoouterbase:mainfrom
AgentGoose32:bounty-71-allowlist-tests
Open

Add allowlist coverage#139
AgentGoose32 wants to merge 1 commit intoouterbase:mainfrom
AgentGoose32:bounty-71-allowlist-tests

Conversation

@AgentGoose32
Copy link
Copy Markdown

Refs #71

Purpose

Improve Vitest coverage for allowlist query enforcement.

Tasks

  • Add direct coverage for disabled allowlist behavior
  • Add direct coverage for admin bypass behavior
  • Add coverage for normalized trailing-semicolon SQL matching
  • Add coverage for rejected queries being recorded
  • Add coverage for missing SQL input

Verify

  • pnpm install
  • pnpm exec prettier --write src/allowlist/index.test.ts
  • pnpm test src/allowlist/index.test.ts --run
  • git diff --check

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