Repository navigation
fix(database-integrations): add missing auth types to schema - #142
Conversation
📝 WalkthroughWalkthroughThis change widens the federated authentication method enums accepted by three database integrations. BigQuery now allows both Sequence Diagram(s)This section is not applicable—the changes are schema updates without new control flow. Possibly related PRs
Suggested reviewers
Pre-merge checks✅ Passed checks (3 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #142 +/- ##
=======================================
Coverage 95.41% 95.41%
=======================================
Files 26 26
Lines 742 742
Branches 223 223
=======================================
Hits 708 708
Misses 34 34 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
Disabled knowledge base sources:
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
packages/database-integrations/src/database-integration-config.ts(3 hunks)
🧰 Additional context used
📓 Path-based instructions (3)
packages/*/src/**/*.{ts,tsx}
📄 CodeRabbit inference engine (CLAUDE.md)
packages/*/src/**/*.{ts,tsx}: Use strict type checking and prefer type safety over convenience
Use const for immutable values
Avoid any; use proper type definitions and type guards
Files:
packages/database-integrations/src/database-integration-config.ts
**/*.{ts,tsx}
📄 CodeRabbit inference engine (CLAUDE.md)
**/*.{ts,tsx}: Follow Biome's lint rules as configured in biome.json
Use literal keys (dot notation) instead of bracket notation when possible
Prefer single quotes for strings (except when avoiding escapes)
Files:
packages/database-integrations/src/database-integration-config.ts
packages/*/src/**/*
📄 CodeRabbit inference engine (CLAUDE.md)
Place source code under packages/*/src/
Files:
packages/database-integrations/src/database-integration-config.ts
🧬 Code graph analysis (1)
packages/database-integrations/src/database-integration-config.ts (1)
packages/database-integrations/src/index.ts (4)
BigQueryAuthMethod(33-33)DatabaseAuthMethod(35-35)AwsAuthMethod(31-31)SnowflakeAuthMethod(41-41)
🔇 Additional comments (3)
packages/database-integrations/src/database-integration-config.ts (3)
5-5: Import needed for Redshift union.The AwsAuthMethod import is correctly added and used in the Redshift schema.
102-114: The enum covers all SnowflakeAuthMethod values. The constant defines exactly six methods, and all six are present in the enum list.
30-35: No issues found—enum is complete.BigQueryAuthMethods constant has exactly two values: 'service-account' and 'google-oauth'. The enum in the zod schema matches these precisely, and the satisfies clause correctly enforces type safety. The comment accurately reflects that all BigQueryAuthMethod values are accepted.
Summary by CodeRabbit
Release Notes