Improve domain validation error message with actionable guidance#7587
Improve domain validation error message with actionable guidance#7587
Conversation
The error now tells customers to contact Ethyca support and mentions the FIDES__SECURITY__DISABLE_DOMAIN_VALIDATION env var as a temporary workaround for upgrades that start enforcing domain validation on previously configured connectors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughUpdated ValueError message in domain validation utility to append guidance on temporarily disabling domain validation via the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested reviewers
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment |
Greptile SummaryThis PR improves the domain validation error message in The change is minimal and correctly scoped — only the error message text is modified, with no logic changes. The environment variable name is embedded as a magic string; extracting it to a named constant would prevent silent staleness if the variable name ever changes, since the same string is already referenced elsewhere in Confidence Score: 4/5
Last reviewed commit: b132662 |
|
This is only half-related to this PR but just throwing it out there in a public thread: now that we've changed our approach from being allowed_domains to allowed_values, 2 things regarding
|
Co-authored-by: Robert Keyser <39230492+RobertKeyser@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
|
Summary
ValueErrorto include actionable guidance for customersFIDES__SECURITY__DISABLE_DOMAIN_VALIDATION=trueas a temporary workaroundTest plan
TestSaaSConnectionSecretsDomainValidationtests passtest_authenticated_clientdomain tests pass🤖 Generated with Claude Code
Summary by CodeRabbit